devcontainers / devcontainers/cli

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

未关闭
#1,208 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
3k
派生
457
平均合并
13 小时 17 分钟
30 天内合并 PR
6

描述

## 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.

贡献指南

打开贡献指南

调研方向

未指定任何文件、测试或入口点。首先复现增量发布和一次性发布所有功能,然后跟踪 devcontainer-collection.json 的生成方式;明确是否支持增量发布、条目应如何合并,或文档应说明什么。

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
cli
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。