Skip to content

feat(ci): route a red full sweep to a ci-backstop issue (RIG-5491) - #2327

Draft
rigel-mintaka wants to merge 1 commit into
mainfrom
ci/rig-5491-ci-backstop
Draft

rigel-mintaka wants to merge 1 commit into
mainfrom
ci/rig-5491-ci-backstop

Conversation

@rigel-mintaka

@rigel-mintaka rigel-mintaka commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Implements T7 of docs/designs/compass/ci-pr-speed.md (RIG-5491). A red full sweep on main push or the nightly schedule now lands in one GitHub issue labelled ci-backstop, before T4 moves more suites off the PR path.

  • New backstop job after rollup, push and schedule only, issues: write, serialized by the ci-backstop concurrency group.
  • tools/ci-backstop/core.ts: a pure backstopAction decision.
Rollup Open issue Action
failure none open
failure #N comment
success #N close
success none none
any run older than the newest finished sweep any none

The age check stops a slow, stale red run from reopening an issue a newer green sweep closed.

Tests

  • bun test tools/ci-backstop: 8 pass (every row above, both results under the newer-sweep rule).
  • moon run ci-backstop:test ci-backstop:typecheck: pass. Biome clean.
  • actionlint -shellcheck= .github/workflows/ci.yml: clean.
  • The job only runs on push and schedule, so this PR's checks do not run it. The first main push after merge is the live check.

A backstop job after rollup on push and schedule opens, comments on or
closes the one ci-backstop issue. A run older than the newest finished
sweep does nothing, so a stale red run never reopens a closed issue.

Co-authored-by: Matt Wilkinson <matt@rigel.build>
@trunk-io

trunk-io Bot commented Oct 16, 2026

Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@linear-code

linear-code Bot commented Oct 16, 2026

Copy link
Copy Markdown

RIG-5491

@github-actions

Copy link
Copy Markdown

Compass engineering docs preview: https://ci-rig-5491-ci-backstop.compass-eng-docs.pages.dev

Deployed from ci/rig-5491-ci-backstop at eeab330.

Changed pages:

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant