chore: feat(validation): accept a deploy-verifiable static site as a test signal #390
No reviewers
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
2 participants
Notifications
Total time spent: 40 seconds
Due date
igor
40 seconds
No due date set.
Dependencies
No dependencies set
Reference
joshtronic/igor!390
Loading…
Reference in a new issue
No description provided.
Delete branch "agent/385-validation-accept-a-static-site-s-build-deploy"
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?
What this PR does
check_deploy_smoke_signaltolib/repo-checks.sh: passes when a repo'sagent.jsondeclares a live.smoke.url(the same filelib/automerge.shreads for auto-merge eligibility) AND the build stamps adeploy-shamarker into the pagecheck_test_signal, alongside the existing unit-test detectors -- a static site with no unit suite (e.g. snail.io) can now satisfy validation via its deploy-sha smoke insteadvalidate_repo_localto mention the new pathcheck_ci_workflowrequirement (CI building onpull_request) is untouched and still runs separately -- this only substitutes for the unit-test gate, not CITest plan
bin/test-repo-checks.sh: new cases forcheck_deploy_smoke_signal(smoke.url + marker passes; missing marker fails; missing agent.json fails; missing.smoke.urlfails) plus confirmingcheck_test_signalnow passes via this path -- all passmake testpasses (full suite)make lint-- shellcheck clean on the two changed files (pre-existing unrelated warnings onbin/test-automerge.sh/bin/tick.shverified present onmasterbefore this change too)Closes #385
🤖 Review —
APPROVE(automated)CI for
cd36c404: successAdds
check_deploy_smoke_signalas an alternate test-signal path for static sites lacking a unit suite, wired intocheck_test_signal, with matching test coverage. CI green, in scope (~50 lines), checklist honest.Verified against the diff:
check_deploy_smoke_signalrequires bothagent.json.smoke.url(viajq) and adeploy-shastring in the tree — matches the description.check_test_signalis a pure additive&& return 0; the Cargo/Go/pytest/npm paths are untouched.check_ci_workflowis genuinely not in the diff — the "untouched" claim holds.check_deploy_smoke_signalcases (pass, missing marker, missing agent.json, missing.smoke.url) plus twocheck_test_signalassertions.jqis absent (2>/dev/null, empty url → return 1).Non-blocking observations (worth a human glance, not a gate):
git grep -qiF 'deploy-sha'is deliberately loose: case-insensitive, fixed-string, across the entire tree. Any file mentioningdeploy-shaanywhere (a comment, doc, unrelated config) satisfies it. That's an intentionally weak heuristic substituting for a unit suite, consistent with issue #385's intent, but it means the gate is easy to trip accidentally. Fine as a signal detector; flagging so the human knows the bar here is "string exists," not "build actually stamps the page.".smoke.urlis "the same filelib/automerge.shreads." I can't verify that from this diff (automerge.sh isn't shown), but the new function is self-contained and its behavior is fully covered by the added tests, so the correctness of this change doesn't depend on that claim.No defects that block merge.
Independent review by the harness on
claude-opus-4-8(effort: high). The human reviewer is requested once Igor has reviewed; a human still merges.