Repository navigation
CI: check site-dir ignores index/game-zip, and the closing line - #16
Merged
dmccoystephenson merged 1 commit intoOct 31, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
Author
|
Self-review rubric (anchored on CI run 41177296980, green on the PR head):
Judgment notes for the human reviewer:
Do-not-auto-merge: This review comment was drafted during a Gardener session (https://github.com/Stephenson-Software/gardener). drafted by Claude on behalf of Daniel Stephenson |
Member
Author
|
Correction to the self-review above: the README judgment note should cite This comment was drafted during a Gardener session (https://github.com/Stephenson-Software/gardener). drafted by Claude on behalf of Daniel Stephenson |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stage B test expansion: two
deploy.shbehaviours that no CI step exercised are now covered. Only tests and the README "Tests" paragraph change.deploy.shandaction.ymlare untouched.Summary
site-dirignoresindexandgame-zip.action.ymland the README both say these inputs are ignored whensite-diris set. No step proved it, because the static deploy ran with the defaultweb/index.htmlandweb/game.zipalready present. A new line in "Bad inputs fail before any request" setssite-dirwith a missingindexandgame-zip, then checks that the script gets past validation and fails only withcould not reach http://127.0.0.1:1.deploy.shchoose betweenStored (not live) for …,Live at …and no line at all (when skipped). None of these were checked. A new step, "The last line says whether the upload is stored, live or skipped", runsdeploy.shby hand against the real arcade: 1.2.0 withARCADE_ACTIVATE=false, then 1.3.0, then 1.3.0 again withARCADE_SKIP_EXISTING=true. After each run it checks the exact last line of stdout, then confirms that 1.3.0 is the live version.These are characterization tests: they check what the script does now. No bug was found.
Test plan
Test / deploy-to-a-real-arcadeis green on the PR head, including the new line in "Bad inputs fail before any request, each with its own ::error::" and the new step "The last line says whether the upload is stored, live or skipped"test.ymlparses as YAML (checked locally). Runningdeploy.shlocally was blocked by the session sandbox, so CI is the only real check.Compatibility
Backward-compatible for
@v1callers: no input, output, default or script behaviour changes.Deferred issues
@v1callers, and the owner has not yet recorded which option to take on the issue.This PR changes
.github/workflows/test.yml, so it is do-not-auto-merge and is handed off for human review.This PR description was drafted during a Gardener session (https://github.com/Stephenson-Software/gardener).
🤖 Generated with Claude Code
drafted by Claude on behalf of Daniel Stephenson