Lightweight headless CI distribution (no MCP, LSP, interactive UI)
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- csharp
- Domain
- authentication, ci-cd, cli
Research direction
No files or tests are named; start by inspecting the current single-binary distribution and its build configuration, then trace the entry points for import, query, assert, and CRUD. Check how JSON output, exit codes, and workload-identity authentication are currently handled. Done means a compressed CI distribution under 15 MB that requires neither an interactive terminal nor a browser.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- C#
- Stars
- 3
- Forks
- 7
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 18
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/CosmosDBShell
-
automation P1
Difficulty 5/5 Over a week Newbie friendliness 45/100
Azure/CosmosDBShell#178 · 1 comment ·
-
agentic enhancement P1
Difficulty 5/5 Over a week Newbie friendliness 35/100
Azure/CosmosDBShell#159 · 2 comments ·
-
agentic enhancement P0
Difficulty 4/5 3-5 days Newbie friendliness 55/100
Azure/CosmosDBShell#153 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
Azure/CosmosDBShell#118 · 1 comment ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 45/100
Azure/CosmosDBShell#107 · 3 comments ·
All issues in Azure/CosmosDBShell
Similar issues
-
priority-0
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
StackExchange/StackExchange.Redis#3249 ·
-
[Feat] 조합 영역 구분선 개선 Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100