microsoft / microsoft/aspire

No way to specify custom lifecycle key for persistent container

Open
#16,380 3 comments 0 reactions 1 assignee Claimed by @karolz-ms View on GitHub
area-app-model area-app-testing area-orchestrator
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 12h
Merged PRs (30d)
201

Description

Tests might need to set up and use persistent, shared container for multiple test runs. DCP has support for this via custom `LifecycleKey` but that `Container` property is not exposed via Aspire app model API.

We should add an API that allows to set the lifecycle key, and we should also document/expose as a constant the label that DCP is using for storing the lifecycle key on the "physical" container.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.