ci: post screenshots on each merge request #509
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
spec
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
amaurycoudr/chess-project!509
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "claude/issue-392-31957b"
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?
Summary
Brings back the screenshots review aid GitHub's
preview.ymlgave every pull request, as one merge request note. Lighthouse, also asked for in #392, was ported and then dropped: about 8 minutes of the single runner per merge request, and scores that swung on the shared CI box.MR_NOTES_TOKENis scoped to themr-notesenvironment, which onlyreview-notesnames (action: access, no deployment). Set up already: tokenmr-notes(Reporter,api), variable masked and unprotected.infra/gitlab/DECISIONS.md, "Screenshots"; owner setup ininfra/gitlab/vps/README.md.Closes #392
Evidence
After: this merge request's first pipeline posted the note with all 12 images (before and after, desktop and mobile, three pages); the links serve PNGs to a signed-in viewer.
mr-notes.sh --dry-runin the notes job's Alpine image; a non-PNG file and a symlink in the artifacts came out asn/aor were dropped.glab ci linton the merged pipeline: valid. The five gate commands: green.Merge Danger
Door: two-way
Revert the commits; the token and variable can stay or be deleted under Settings.
Blast Radius: pipeline-time
About 2.5 more minutes of the single runner per app merge request (capture 1 min 21 s, notes 1 min on the first pipeline). Both jobs
allow_failure, so a broken capture, an expired token or an API error shows a warning, never blocks a merge.Screenshots
Before is production, after is this merge request's review app at
0244467.Desktop
Mobile
Lighthouse
Before is production, after is this merge request's review app at
948e96c, each the median of 3 runs. Full reports are in the job's artifacts.Mobile
Desktop
added 1 commit
1eadc8d3- docs(ci): record how long the Lighthouse job takes on the CI VPSCompare with previous version
changed the description
changed title from
ci: post screenshots and Lighthouse scores on each merge requesttoci: post screenshots on each merge requestchanged the description
added 1 commit
1a41a2cc- ci: drop the Lighthouse job from merge request pipelinesCompare with previous version
added 52 commits
main02444676- ci: post screenshots on each merge requestCompare with previous version