Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Lightweight headless CI distribution (no MCP, LSP, interactive UI)

Đang mở
#175 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
authentication, ci-cd, cli

Hướng nghiên cứu

Không có tệp hoặc bài kiểm thử nào được nêu tên; hãy bắt đầu bằng cách kiểm tra bản phân phối single-binary hiện tại và cấu hình build của nó, sau đó lần theo các entry point cho import, query, assert và CRUD. Kiểm tra cách đầu ra JSON, mã thoát và xác thực workload identity hiện đang được xử lý. Hoàn thành nghĩa là có một bản phân phối CI được nén dưới 15 MB, không yêu cầu terminal tương tác cũng như trình duyệt.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

automation P1

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)

  1. 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
  2. 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
Ngôn ngữ chính
C#
Star
3
Fork
7
Merge trung bình
1 ngày 7 giờ
Pull request đã merge (30 ngày)
19

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

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Azure/CosmosDBShell

Tất cả issue của Azure/CosmosDBShell

Issue tương tự

Thêm issue về C#

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.