Commit 877416c
test(release): refresh release-validation harness for v0.20.0 behavior changes
The release-validation shell harness carries its own copies of behavior
assertions that duplicate the integration suite. Two of them went stale
this cycle from the same PRs that broke the integration tests (#1757):
- GH-AW compat (#1720): `apm pack --archive` now emits .zip by default;
the archive check grepped only `build/*.tar.gz`. Accept either
extension, testing each glob independently (a single `ls a b` exits
non-zero when either pattern is unmatched, even if the other matches).
- Hero scenario 2 / AGENTS.md (#1742): copilot `apm compile` omits the
empty AGENTS.md shell when installed instructions already live under
`.github/instructions/`. The check insisted AGENTS.md exist; now accept
AGENTS.md OR a populated `.github/instructions/`, mirroring the merged
pytest fix in test_guardrailing_hero_e2e.py.
Same fixes applied to the Windows .ps1 (AGENTS.md only; it has no archive
check). Predicates validated locally against apm v0.20.0.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent b651dad commit 877416c
2 files changed
Lines changed: 25 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
290 | | - | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
291 | 299 | | |
292 | 300 | | |
293 | 301 | | |
294 | 302 | | |
295 | | - | |
296 | | - | |
297 | 303 | | |
298 | 304 | | |
299 | 305 | | |
| |||
399 | 405 | | |
400 | 406 | | |
401 | 407 | | |
402 | | - | |
403 | | - | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
404 | 413 | | |
405 | 414 | | |
406 | 415 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
330 | | - | |
331 | | - | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
332 | 340 | | |
333 | 341 | | |
334 | 342 | | |
335 | | - | |
336 | | - | |
337 | 343 | | |
338 | 344 | | |
339 | 345 | | |
| |||
0 commit comments