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

Persistent container creation should work for concurrent runs

Aperta
#116 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@karolz-ms ci sta già lavorando.

Dal 23/6/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug reliability
Problem

Tests (e.g. using Aspire) might want to create and share the same persistent container (e.g. a database with test data). If the tests are running concurrently, there is a race to create the container if it does not exist initially.

Container creation is a multi-step process, but our code is not resilient enough if multiple instances of DCP start to create the same container. The result usually is that one instance succeeds, while others fail, reporting the container as FailedToStart.

Additional notes and requirements
  • If a persistent container is reused by specific application run, it needs to be connected to the network used by that run (and disconnected from it when the run ends).
  • To fix this issue we might need to invest in better DCP data store first. See https://github.com/microsoft/dcp/issues/9 for more on that.
Lingua principale
Go
Stelle
190
Fork
24
Merge medio
1g 7h
PR unite (30g)
24

Preparare l'ambiente

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 microsoft/dcp

Tutte le issue di microsoft/dcp

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.