Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Persistent container creation should work for concurrent runs

Đang mở
#116 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@karolz-ms đang làm issue này rồi.

Từ ngày 23/6/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.
Ngôn ngữ chính
Go
Star
190
Fork
24
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
22

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/dcp

Tất cả issue của microsoft/dcp

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.