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

Run Configuration: populate parameters & secrets from the build's declarations

Đang mở
#1 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/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
devtools

Hướng nghiên cứu

Bắt đầu từ chế độ xem Run Configuration và dữ liệu parameters[] trong build-graph.json, sau đó truy vết các luồng hiện có từ tham số sang CLI và từ secret sang biến môi trường thông qua SecretStorage. Xác nhận cách đầu ra graph của Fallout#499 được sử dụng và kiểm tra rằng các tham số đã khai báo điền vào các hàng thích hợp, trong khi các graph không có parameters[] vẫn giữ hành vi dạng tự do.

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

Mô tả

blocked enhancement

Problem

The extension's Run Configuration view is free-form — it only shows params/secrets you hand-type. Declared members like NuGetApiKey ([Parameter][Secret]) don't appear, so the Secrets section looks empty.

Blocked on Fallout-build/Fallout#499 (the framework graph must emit parameters[] first).

Outcome

Run Configuration reads parameters[] from build-graph.json and pre-populates:

  • non-secret params → Parameters rows (fill value → CLI args)
  • [Secret] params → Secrets rows, shown "not set" until a value is entered (→ SecretStorage → env var on run)

Acceptance criteria

  • NuGetApiKey and peers appear automatically after a build/plan.
  • Declared secrets read "not set" until set; values live in SecretStorage, applied as env vars on run.
  • Values still flow to runs as today (params → args, secrets → env); free-form add still works for extras.
  • Graceful when the graph has no parameters[] (older builds) — falls back to today's free-form behaviour.
Ngôn ngữ chính
C#
Star
0
Fork
0
Merge trung bình
8 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

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 Fallout-build/Fallout.Extensions.VSCode

Tất cả issue của Fallout-build/Fallout.Extensions.VSCode

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.