Add a release smoke-test script

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

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/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ệ
go
Lĩnh vực
cli, testing

Hướng nghiên cứu

Start by reading the repository’s task configuration and existing scripts to see how the built CLI is invoked and which read-only commands work with a live profile. Add a smoke-test script and a task target covering help, framework noun lookup, and representative list/get commands across modules. Done means each command prints PASS or FAIL and any failure makes the script exit nonzero; verify it against a configured live profile.

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

Mô tả

enhancement

Release testing is manual today. Add a smoke-test script to the repo that exercises the built CLI and reports a clear result.

Proposal

  • A script (e.g. scripts/smoke.sh, runnable via a task target) that runs a fixed set of read-only commands against a live profile (list/get across a few modules, plus --help and get noun on the framework).
  • One line of output per command (PASS/FAIL) and a non-zero exit code if any command fails.
  • Only read-only commands, no resources created, so nothing needs cleanup.
  • Simple enough that an agent can run it and report yes/no on a release candidate.

Out of scope

Write-path (create/update/delete) end-to-end tests; those need throwaway resources and can be a follow-up.

Ngôn ngữ chính
Go
Star
29
Fork
24
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
111

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 harness/cli

Tất cả issue của harness/cli

Issue tương tự

Thêm issue về Go

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.