devcontainers / devcontainers/cli

Question / Improvement: Incremental publishing of devcontainer features and `devcontainer-collection.json`

Đang mở
#1,208 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
3k
Fork
457
Merge trung bình
13 giờ 17 phút
Pull request đã merge (30 ngày)
6

Mô tả

## Description

We’re exploring whether the Dev Container CLI is intended to support publishing devcontainer features **one by one**.

When features are published individually, `devcontainer-collection.json` is regenerated each time and ends up containing **only the last published feature**. When all features are published together, the collection file is generated correctly.

This behavior seems consistent and intentional, so this is not a bug report, more a question and possible improvement discussion.

---

## Question / Improvement Idea

Is publishing features incrementally an intended workflow?

If this use case is in scope, would it make sense to support:
- Merging newly published features into an existing `devcontainer-collection.json`, or
- A flag or documented approach for incremental publishing?

The motivation is mainly CI/CD robustness, where publishing one feature should not block others.

---

If incremental publishing is intentionally unsupported, clarification or documentation around this would also be very helpful.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

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

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.