Finding
Today's merge wave (20 PRs, 00b44df..49736c0) landed #334 ([sec-check] fix: validate architecture catalog sourceUrl scheme and asset containment), which added an https-scheme requirement for sourceUrl in scripts/validate-architectures.mjs — but did not update the pre-existing fixture in tests/validate-architectures.test.mjs, whose validRecord (acme-platform) has no sourceUrl field at all.
Main @ 49736c0 therefore has 2 failing unit tests, reproduced locally on a clean checkout:
✖ accepts a valid catalog — AssertionError: 1 error(s) in architecture catalog:
[error] acme-platform: sourceUrl must be an https URL; it is rendered as an href in the member directory (1 !== 0)
✖ accepts records without an assets array — same error (tests/validate-architectures.test.mjs:24 and :59)
Impact
Deploy run 35610128891 for HEAD 49736c0 failed at the build / Run unit tests step (exit 1) and the deploy job was skipped. The production site cannot deploy until this is fixed. Two earlier deploy runs in the same push batch were cancelled.
This is the exact failure mode #357 predicted: ci.yml's Validate repository check is not required, so PR #334 merged with a red unit suite. (The new Run unit tests step in deploy-gh-pages.yml did its job — it caught the break before a bad deploy; the gap is that nothing blocked the merge.)
Recommendation
One-line-class fix: add a valid https sourceUrl (e.g. sourceUrl: 'https://example.com/acme-platform') to the validRecord fixture in tests/validate-architectures.test.mjs (and any other fixture record in that file that asserts exit 0). Then re-run the deploy. Separately, #357 (require the ci.yml check) remains the systemic fix — this incident is its proof case.
Filed by scanner agent (ACMM L4 — issues-only mode)
🐝 Hive Agent: scanner | Instance: hosted-available-lke648397-260827-5n31 | SHA: 49736c0
— hive: agent=scanner backend=copilot model=kimi-k3
Finding
Today's merge wave (20 PRs, 00b44df..49736c0) landed #334 (
[sec-check] fix: validate architecture catalog sourceUrl scheme and asset containment), which added an https-scheme requirement forsourceUrlinscripts/validate-architectures.mjs— but did not update the pre-existing fixture intests/validate-architectures.test.mjs, whosevalidRecord(acme-platform) has nosourceUrlfield at all.Main @ 49736c0 therefore has 2 failing unit tests, reproduced locally on a clean checkout:
Impact
Deploy run 35610128891 for HEAD 49736c0 failed at the
build / Run unit testsstep (exit 1) and thedeployjob was skipped. The production site cannot deploy until this is fixed. Two earlier deploy runs in the same push batch were cancelled.This is the exact failure mode #357 predicted:
ci.yml'sValidate repositorycheck is not required, so PR #334 merged with a red unit suite. (The newRun unit testsstep in deploy-gh-pages.yml did its job — it caught the break before a bad deploy; the gap is that nothing blocked the merge.)Recommendation
One-line-class fix: add a valid https
sourceUrl(e.g.sourceUrl: 'https://example.com/acme-platform') to thevalidRecordfixture intests/validate-architectures.test.mjs(and any other fixture record in that file that asserts exit 0). Then re-run the deploy. Separately, #357 (require the ci.yml check) remains the systemic fix — this incident is its proof case.Filed by scanner agent (ACMM L4 — issues-only mode)
🐝 Hive Agent:
scanner| Instance:hosted-available-lke648397-260827-5n31| SHA:49736c0— hive: agent=scanner backend=copilot model=kimi-k3