Skip to content

ci(e2e): split Milestone 1 into per-test jobs for selective re-runs - #259

Merged
zheli merged 3 commits into
mainfrom
zzz/ed9bab8b
Jul 12, 2026
Merged

ci(e2e): split Milestone 1 into per-test jobs for selective re-runs#259
zheli merged 3 commits into
mainfrom
zzz/ed9bab8b

Conversation

@zheli

@zheli zheli commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Split Milestone 1 E2E into one GitHub Actions job and script per test ID so failed cases can be re-run without replaying the full suite.
  • Add a shared setup job that builds once and publishes the binary artifact for all test jobs.
  • Keep local validation as a single command via scripts/e2e-milestone1.sh.

Changes

  • Extract shared helpers to scripts/e2e/lib.sh (cli, timed, ensure_instance, pass/fail, cleanup).
  • Add 15 per-test scripts under scripts/e2e/ plus run-all.sh for local full-suite runs.
  • Replace the monolithic e2e-milestone1 workflow job with setup, 15 chained/parallel test jobs, and an always-run cleanup job.
  • Add composite action .github/actions/e2e-m1-test to download the built binary and run one test script.

Notes

  • Phase 1 tests run in parallel after setup; Phase 2 and Phase 3 remain serial to preserve shared instance state on the persistent self-hosted runner.
  • Locally verified: syntax check, M1-INST-003, M1-DOC-001, and M1-DOC-002 pass in standalone mode; aggregate mode accumulates results correctly.
  • Full LocalNet lifecycle suite not run locally in this session (resource/time intensive); validate in CI with the run-e2e label.

zheli added 3 commits July 11, 2026 19:30
Break the monolithic e2e-milestone1.sh into one script and GitHub Actions
job per test ID so failed cases can be re-run without replaying the suite.
Point docs and PR template at scripts/e2e/run-all.sh and keep the run-e2e
gate only on the setup job.
Drop the deleted e2e-milestone1 wrapper, rename M1-CLN-001 to M1-RMV-001,
port clean->remove calls from main, and retarget push/static-analysis paths
at scripts/e2e/**.
@zheli
zheli merged commit d148d47 into main Jul 12, 2026
19 checks passed
@zheli
zheli deleted the zzz/ed9bab8b branch July 12, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant