Skip to content

ci: pushes to main stop re-testing what the merge queue tested, and only refresh the caches - #656

Merged
PiquelChips merged 4 commits into
mainfrom
fix/merge-queue-ci
Nov 21, 2026
Merged

PiquelChips merged 4 commits into
mainfrom
fix/merge-queue-ci

Conversation

@PiquelChips

Copy link
Copy Markdown
Member

Every merge ran the whole CI suite again on main, browser suite included, though the merge queue had just tested that exact commit: main fast-forwards to the queue's head. The run is only needed for its caches, since GitHub lets pull requests and the queue read caches saved on main and nowhere else.

Now a push to main tests nothing and only refreshes caches:

  • checks, web and docs are skipped. They save no cache, or only the pnpm store, which package and e2e save too.
  • Test steps (if: *tests) are skipped: coverage, the SQLx query cache check, the browser suite, just infra check.
  • Rust build steps (if: *builds) run only when rust-cache found no exact match, which is the only case where it saves. On most pushes they do nothing. On a miss, rust compiles its tests through the new just coverage-build and just db check, and rust-lint runs just doc-test --list, so the saved caches hold what they held before.
  • docker still saves its layers on every push.

Pull requests, the merge queue and manual runs run every step as before. docs/dev/testing.md, the release guide and the cleanup skill (which read coverage from main's run) are updated.

Proof: actionlint passes, and every step condition resolves as intended once the anchors are expanded (checked with yq). just db check, just doc-test --list (compiles all 77 doc tests, runs none) and coverage-build (on one crate) were run locally, and just docs passes. This PR's own CI covers the pull request path. The push path first runs on the merge.

Council review

Rounds: 3

Delegate Round 1 Round 2 Round 3
GPT 6.1 Sol 8/10 8/10 10/10
Claude Opus 5.5 7/10 8.5/10 9/10
Claude Fable 5.2 7/10 9/10 9/10

Round 3's remaining nits are fixed in the last commit.

Note

Written by Claude Opus 5.5 in Claude Code and reviewed by GPT 6.1 Sol, Claude Opus 5.5 and Claude Fable 5.2 (via T3 Code)

Main receives the very commit the merge queue tested, so its run now skips
every test and the jobs that save no cache, and only builds what the Rust
caches and the images' layers keep.
@coderabbitai

coderabbitai Bot commented Nov 21, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 28 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4d3d2ea8-f91a-44ea-9cd8-a1a143003efc
Commits

Reviewing files that changed from the base of the PR and between 88da4e0 and 66317d4.

Files selected for processing: 6

  • .agents/skills/sourceorigin-cleanup/SKILL.md
  • .github/workflows/ci.yml
  • docs/dev/releasing.md
  • docs/dev/testing.md
  • just/db.just
  • justfile
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@PiquelChips
PiquelChips added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit cdd7867 Nov 21, 2026
13 checks passed
@PiquelChips
PiquelChips deleted the fix/merge-queue-ci branch November 21, 2026 19:24
@github-project-automation github-project-automation Bot moved this from Needs Triage to Done in sourceorigin.dev Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant