Repository navigation
ci: run the canaries in the merge queue - #275
Merged
Merged
Conversation
A pull request runs the canaries only when it changes the harness (HARNESS_PATHS). The merge queue runs them on any path on CANARY_PATHS, on the commit main receives, and Merge gate, which needs every other job, blocks the merge on a miss. ADR-0123 records the decision and amends ADR-0073 and ADR-0084. Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
This reverts commit f7b1319. Co-authored-by: multica-agent <github@multica.ai>
Contributor
Visual report: ✓ passed3 examples on 7 targets. Pixels:
The run uploaded the full report as the |
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://ci-merge-queue-uxf-1072.unframework.dev, https://ci-merge-queue-uxf-1072-unframework.uxfront.workers.dev (commit e85118b)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
Co-authored-by: multica-agent <github@multica.ai>
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.
What changed
CI ran all 37 canary jobs on each push of a pull request that touched
CANARY_PATHS. Those jobs use 213 of a compiler pull request's 325 runner-minutes, on an organisation that runs 20 jobs at a time.This change runs them once, in a GitHub merge queue, on the commit
mainreceives, and makes a miss block the merge. ADR-0123 records the decision and amends ADR-0073 and ADR-0084. The changes:ci.ymlruns onmerge_group. A merge-group run runs every job a pull request runs, exceptBaselines.Changesfetches the group'sbase_sha, diffs it against the group's head and runs the canaries on any path onCANARY_PATHS, as ADR-0073 decided. On a pull request, they run only when it changes the harness itself, a new listHARNESS_PATHSthat sits insideCANARY_PATHS.canary-paths.ts --event <name>decides every event, and fails on an event it has no rule for. With no--event, it prints the same answer as before, whichpnpm test:fullreads.Merge gatejob needs every other job and fails unlessChangessucceeded and every other job succeeded or was skipped. It's the one check the merge queue requires, since a matrix job can't be required by name.nightly.yml's run don't change.nightly.ymlchanges only in its header comment.No framework's output changes.
After this merges, before any other merge, ruleset
Defaultneeds:Merge gateadded to the required status checks, besideBuildandFormat, lint & types.Turning on the queue before this merges stalls every queued pull request, because
mainhas nomerge_grouptrigger yet.Measurements
Time to merge-ready is the time from the run's start to
Merge gate's end, or to the last job's end for a run before this change.The compiler-only runs came from a throwaway draft PR on top of this branch, now closed. A planted L1 canary miss turned
Canaries (L1)andMerge gatered (45676439470), and its revert is this branch's head.Checklist
feat(web): sell the next framework on the homepage.pnpm format:check,pnpm lint,pnpm check-typesandpnpm testpass.pnpm changeset(see.changeset/README.md).pnpm build, thenpnpm --filter web lighthouse, still scores at least 0.95 in every category.pnpm format:check,pnpm lintandpnpm check-typespass locally, with the harness's unit tests for the canaries, the path filter and the parity summary, and@unframework.dev/repo-tests. The rest ofpnpm testran in this pull request's CI, green on the final head. No published package changes, and the homepage doesn't change.