Repository navigation
ci: run the info site tests on changes to sites/meshview-info - #1024
Merged
Merged
Conversation
deploy.yml never ran sites/meshview-info/test-*, so the /velkommen, /guider and /faq tests only ran by hand (found in the #1014 review). info-site.yml runs on pull requests (any base, so stacked info PRs get checks too) and pushes to master that touch sites/meshview-info/, the runner or the workflow. Read-only: contents read, no secrets, no publish. scripts/run-info-site-tests.sh runs every test-*.cjs|js there and fails on any failing test or when none is found. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
Review — CS-Macmini PR#1024 — head c50e398Dom: APPROVE med nits Independent, read-only review. Head SHA checked with Findings
No blocking findings. Answers to the review points
Tests and mutantsMerged tree (
Red-before / green-after per acceptance behaviour (issue #1014 follow-up, "info tests run in CI"): the green run above is the proof for "tests run"; the red cases are the mutants:
M1–M5 are killed, M6 survives (N2). I did not mutate the workflow YAML itself, since GitHub Actions cannot be run locally. Always-list
Not verified
Evidence tags: [T] tested/run by me, [A] read/analysed, [K] known behaviour. |
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.
Relates to #1014
Why
The standalone info pages in
sites/meshview-info/(/velkommen,/observer,/hardware,/radio,/guider,/faq) have their own Playwright tests, butdeploy.ymlnever runs them. They only ran by hand. Found in the second review of #1014, whose stacked PR also got no checks at all, becausedeploy.ymlonly runs for PRs tomaster.What
.github/workflows/info-site.yml(new), with one job, "🌐 Info site tests".master, andworkflow_dispatch. Each is limited to changes insites/meshview-info/**, the runner or the workflow itself.npm ci,npx playwright install --with-deps chromium, then the runner.contents: readonly. No secrets, no publish, no deploy, so there is nothing for the fork guards to protect.scripts/run-info-site-tests.sh(new) runs everysites/meshview-info/test-*.cjsandtest-*.js.Tests
test-mobile.cjs,test-xss.cjsandtest-copy-commands.jspass, giving "3 info site tests, 0 failed" and exit 0.test-zz-fail.cjsmakes the runner exit 1 and name the file.deploy.yml, so nothing else needs updating.Not included
deploy.ymlstill runs its full pipeline on every PR tomaster, including this one; the new job runs next to it.🤖 Generated with Claude Code