Commit afc3428
test(metadata): unblock 4 stale assertions after the budget-friendly trims (#576)
The four metadata.test.js failures predated this PR — three are stale
assertions that drifted out of sync with intentional repo changes, one
is a legitimately missing release-notes entry for v7.0.43.
- Add `### v7.0.43` release-notes section covering the
budget-friendly CI templates, gx ci-init, gx budget, label-based
opt-in, and the pre-flight gate in gx branch finish.
- Loosen the cosign-installer assertion from `# v4.1.1` to `# v4.1.\d+`
so a patch bump (already present at v4.1.2) doesn't break the gate;
major/minor bumps still do.
- Split the "About copy + problem-solution visuals" test into two:
- keep enforcing the problem/solution image links in README
- retire the README->about_description.txt link assertion that
PR #564 obsoleted; package.json description must still match
about_description.txt
- Split the "CI and CodeQL workflows run on PRs" test into two:
- keep the CI-on-PR check (still required)
- replace the CodeQL-on-PR check with a schedule + workflow_dispatch
+ "no pull_request trigger" check matching the post-PR-#571 reality
Verification: `node --test test/metadata.test.js` now reports 27/27
passing (was 21/25 before this PR).
Co-authored-by: NagyVikt <nagy.viktordp@gmail.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 795af11 commit afc3428
4 files changed
Lines changed: 76 additions & 9 deletions
File tree
- openspec/changes/agent-claude-fix-metadata-test-stale-assertions-2026-05-14-02-09
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
311 | 337 | | |
312 | 338 | | |
313 | 339 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
| |||
108 | 112 | | |
109 | 113 | | |
110 | 114 | | |
111 | | - | |
112 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
113 | 121 | | |
114 | 122 | | |
| 123 | + | |
| 124 | + | |
115 | 125 | | |
| 126 | + | |
| 127 | + | |
116 | 128 | | |
117 | 129 | | |
118 | 130 | | |
| |||
121 | 133 | | |
122 | 134 | | |
123 | 135 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | 136 | | |
128 | 137 | | |
129 | 138 | | |
| |||
143 | 152 | | |
144 | 153 | | |
145 | 154 | | |
146 | | - | |
| 155 | + | |
147 | 156 | | |
148 | | - | |
149 | 157 | | |
150 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
151 | 174 | | |
152 | 175 | | |
153 | 176 | | |
| |||
0 commit comments