Validation: accept a static site's build+deploy-sha smoke as a test signal (not just unit tests) #385
Labels
No labels
Agent
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No assignees
1 participant
Notifications
Total time spent: 5 minutes 21 seconds
Due date
igor
5 minutes 21 seconds
No due date set.
Dependencies
No dependencies set
Reference
joshtronic/igor#385
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Auto-merge eligibility requires passing validation, and
check_test_signaldemands a package.jsontestscript (unit tests). That excludes static sites / games with no unit suite — e.g. snail.io (no test script) — even though their real verification is different: the site builds (tsc && vite build, run by CI on the PR) and deploys + passes the deploy-sha "bundle hash" smoke check (the deploy barrier asserting the live<meta name="deploy-sha">== the merged commit).Per Josh: "games are still websites — the smoke test is the site deploying and passing that bundle-hash validation." So a deploy-verifiable static site (
agent.json .smoke.url+ a deploy-sha marker + a build CI runs onpull_request) should satisfy validation for auto-merge without a unit-test script.Proposed: in
validate_repo_local, treat ".smoke.urlpresent + a build/verify step runs onpull_request(existingcheck_ci_workflow) + emits a deploy-sha marker" as a valid signal, alongside the existing unit-test path.Nuance to weigh: the deploy-sha smoke verifies propagation (right bundle went live), not full correctness — but the CI build passing on the PR is the pre-merge correctness bar for a static site (a broken build never deploys). So the signal is "build-green on PR + deploy-verifiable," not liveness alone.
Companion repo status (corrected 2026-07-15): snail.io already has the deploy-sha marker — its
vite.config.tsinjects<meta name="deploy-sha">at build and the live site serves it (verified:content="1e7299b3…"). So snail.io is immediately smoke-verifiable and will satisfy the new signal the moment this lands — no companion PR needed.Guardrail note: this expands who can auto-merge, so it's Josh's greenlight (add
Agent) + the human merge-gate stays.Correction: snail.io ALREADY emits a deploy-sha marker (injected in
vite.config.ts), so it is already smoke-verifiable — no marker PR needed. Its only gap for auto-merge is the unit-test validation gate, which is exactly what this ticket addresses. (Fleet sweep: the.smoke.urlsites still MISSING a marker are certifiedtradejobs.com, parsleymakesitbetter.com, scenekids.com, sharktankdb.com — separate per-repo hygiene tickets filed.)