Add a release smoke-test script

Aperta
#507 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go
Ambito
cli, testing

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Go
Stelle
29
Fork
24
Merge medio
1g 9h
PR unite (30g)
111

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di harness/cli

Tutte le issue di harness/cli

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.