Lightweight headless CI distribution (no MCP, LSP, interactive UI)
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- csharp
- 领域
- authentication, ci-cd, cli
调研方向
未指定文件或测试;首先检查当前的单二进制分发及其构建配置,然后跟踪 import、query、assert 和 CRUD 的入口点。检查当前如何处理 JSON 输出、退出代码和 workload identity 身份验证。完成的标准是:提供一个小于 15 MB 的压缩 CI 分发包,既不需要交互式终端,也不需要浏览器。
由索引模型根据 Issue 内容生成。
描述
Feedback source
External user feedback (travel multi-agent workshop team).
Problem
The current single-binary distribution bundles everything: interactive shell, MCP server, LSP, brokered auth, OpenTelemetry, ARM management. For CI/CD use cases (data seeding, CRUD, queries, integration test validation), most of this is unnecessary weight and attack surface.
Proposed solution
Ship a separate lightweight, headless CI distribution with:
- Predictable exit codes (stable contract)
- JSON output mode (--output json)
- Workload-identity authentication (federated credentials, no interactive browser)
- Core commands: import, query, assert, CRUD
- No MCP, LSP, brokered authentication, or interactive UI
Implementation options (in priority order)
- Same .NET codebase with trimming/Native AOT — feature-flag the build to exclude MCP/LSP/interactive modules, use .NET publish trimming or NativeAOT for a smaller binary
- Go or Rust reimplementation of the CI-only subset — smallest possible binary, no runtime dependency
Splitting the feature set is more important than changing languages.
Relationship to other issues
- Complements #155 (A1 — non-interactive output contract)
- Addresses size concern in #174
- Pairs with CI/CD documentation (#TBD)
Acceptance criteria
- CI distribution is < 15 MB compressed
- Supports workload-identity auth (OIDC federated credentials)
- Stable exit-code contract documented
- JSON output for all commands
- No dependency on interactive terminal or browser
- 主要语言
- C#
- 星标
- 3
- 派生
- 7
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 18
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Azure/CosmosDBShell 的其他 Issue
-
automation P1
难度 5/5 一周以上 新手友好度 45/100
Azure/CosmosDBShell#178 · 1 条评论 ·
-
agentic enhancement P1
难度 5/5 一周以上 新手友好度 35/100
Azure/CosmosDBShell#159 · 2 条评论 ·
-
agentic enhancement P0
难度 4/5 3-5 天 新手友好度 55/100
Azure/CosmosDBShell#153 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 30/100
Azure/CosmosDBShell#118 · 1 条评论 ·
-
enhancement
难度 5/5 一周以上 新手友好度 45/100
Azure/CosmosDBShell#107 · 3 条评论 ·
查看 Azure/CosmosDBShell 的全部 Issue
相似的 Issue
-
Documentation
难度 2/5 1-3 小时 新手友好度 75/100
cake-build/cake#5024 ·
-
Frontend status/draft TechnicalDebt
难度 2/5 1-2 天 新手友好度 75/100
Altinn/altinn-auth#4143 ·
-
.NET Flaky Test Testing Tests
难度 2/5 1-3 小时 新手友好度 84/100
getsentry/sentry-dotnet#5617 · 1 条评论 ·
-
:watch: Not Triaged dotnet-fsharp/svc
难度 1/5 1 小时以内 新手友好度 90/100
-
Client customer-reported needs-team-attention question Service Attention WebPubSub
难度 2/5 1-3 小时 新手友好度 76/100
Azure/azure-sdk-for-net#63292 · 3 条评论 · 1 个 reaction ·