Commit 1451768
committed
ci: add HUD installer regression gate to canary + e2e workflows (#1490)
Adds the v5.6.2 regression gate to two CI workflows so a broken
installer cannot reach canary or release:
1. canary.yml — new ``plugin-hooks-tests`` job (Python pytest only,
no node/yarn build needed) blocks ``publish-canary`` via ``needs``.
Triggered on master/stag-** push, so master merges are gated
before any canary npm publish.
2. e2e-plugin.yml — adds the same pytest invocation + simulation
script step to the existing ``e2e-plugin-hooks`` job, and extends
``paths`` to include ``packages/claude-code-plugin/tests/**`` and
``scripts/verify-install-simulation.sh`` so PR-level changes
trigger the gate. e2e-plugin runs on non-master branches, so
PRs see the gate before merge.
Together the two jobs cover both PR review (e2e-plugin) and
post-merge canary publish (canary), so the v5.6.0/v5.6.1 failure
mode (installer ships without lib sync, all users see the fallback
face) cannot recur silently.
Test invocations cover all five v5.6.2 hotfix test files:
- tests/test_atomic_sync_with_lib.py (9 tests)
- tests/test_session_start_hud.py (20 tests)
- tests/test_install_hook_with_lib.py (4 tests)
- tests/test_health_check.py (35 tests)
- scripts/verify-install-simulation.sh (subprocess render gate)
actions/setup-python pin reused from existing e2e-plugin.yml entry
(SHA a26af69be951a213d495a4c3e4e4022e16d87065 = v5.6.0).
Refs #14901 parent 1ef0375 commit 1451768
2 files changed
Lines changed: 49 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
24 | 57 | | |
| 58 | + | |
25 | 59 | | |
26 | 60 | | |
27 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
53 | 68 | | |
54 | 69 | | |
55 | 70 | | |
| |||
0 commit comments