Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Boilerplate tests keep finished test servers in memory

Aperta
#13,412 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
43/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp

Direzione di ricerca

Start by investigating the boilerplate test process and the server instances whose route matchers remain alive after tests finish. The issue identifies RateLimitingMiddleware's heartbeat timer as one root and links dotnet/aspnetcore#69509; removing the rate limiter alone does not resolve the growth. Find the additional retention source and confirm that completed test servers are released and memory growth is reduced.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area / templates

The template's test process grows by about 2 GB a minute. The Identity tests alone take it to 6 GB in under three minutes, and a dump taken then has 4.1 GB of managed heap with the route matchers of 52 servers alive, while at most two tests run at a time.

On the 4 core CI runner, which also runs SQL Server, this ends in freezes of the whole process. UserProfilePictureWebPTests failed in attempt 2 of CI run 36078317222 because the process stalled for 2m14s during its sign in request, and SQL Server logged error 8645 (waiting for memory) in both attempts.

One of the roots is RateLimitingMiddleware's heartbeat timer (dotnet/aspnetcore#69509), but taking the rate limiter out doesn't change the growth by itself, so there is at least one more.

Lingua principale
C#
Stelle
1.4k
Fork
264
Merge medio
14h 17m
PR unite (30g)
327

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di bitfoundation/bitplatform

Tutte le issue di bitfoundation/bitplatform

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.