Fallout-build / Fallout-build/Fallout.Extensions.VSCode

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
blocked enhancement
Ngôn ngữ chính
C#
Star
0
Fork
0
Merge trung bình
2 giờ 43 phút
Pull request đã merge (30 ngày)
8

Mô tả

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

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

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

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.

Đánh giá

Công nghệ
csharp
Lĩnh vực
devtools
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

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.