Skip to content

Switch day: workflow filters and branch prose name main - #664

Merged
rusholme merged 4 commits into
rebuildfrom
switch-day-drafts/rapid
Dec 1, 2026
Merged

rusholme merged 4 commits into
rebuildfrom
switch-day-drafts/rapid

Conversation

@rusholme

@rusholme rusholme commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Held for switch day: merged by Ben on the day, never before.

Order on the day: this is the last pull request merged on rebuild before main is fast-forwarded to rebuild, so main carries it; then the default branch dev → main and the ruleset's refs/heads/rebuild entry dropped; then rapid_docs Caltech-IPAC/rapid_docs#247 and rapid_systems IPAC-SW/rapid_systems#566 (drafts, held the same way).

What and why

The branch where work lands, is cloned from, is synced to and what CI filters on reads main:

  • .github/workflows/{container,foundation,public-safety,science-drift,unit-tests}.yml: push: branches: [rebuild] → [main], and science-drift's pull_request filter; the header comments that name the branch. science-drift's comment on the absent schedule now gives the real reason (the nightly drift run is off by the 2026-11-30 decision); after the switch main is the default branch, so the old reason (schedules run only from the default branch, main, untouched) stops holding.
  • AGENTS.md (Branches and pull requests; the dev-only paths; science-drift), CONTRIBUTING.md (Submitting Changes; Review and Acceptance), README.md (the tag sentence, rapid dev --ref main, an image "built from rebuild" made branch-free), docs/foundation-smdc-step.md (Current procedure's tip, checkout and fix-by-PR lines).
  • AGENTS.md now says dev and commissioning hold the pre-rebuild pipeline and are frozen (read, never written), as the planning session decided; the merge rule's wording is otherwise unchanged (its exact form is still open).
  • AGENTS.md now says dev and commissioning hold the pre-rebuild pipeline and are frozen (read, never written), as the planning session decided. The merge rule is rapid 667's as rebuild has it (the author merges on green; one approval from another team member on the alert schema, database/schema.sql and the shipped settings; an agent never merges another person's PR), with only the branch it names changed to main. .github/CODEOWNERS is left as rebuild has it.

Three commits: the prose (1991210), the filters (b31c579), then a merge of rebuild at cf365b98 (7eb4424, the head), which brought in 667, 668, 665, 666, 661 and 670. 667 rewrote the same lines of AGENTS.md (Branches and pull requests) and CONTRIBUTING.md (Review and Acceptance); the conflict was resolved by keeping 667's text and naming main wherever it names rebuild as the branch, in the merge commit. Prose and branch filters only: no file renamed, no tag scheme, job definition, parameter or workflow name touched.

CI on this draft

  • The head 7eb4424 (the merge of rebuild at cf365b98): container, foundation, public-safety and unit-tests have no pull_request branch filter and run on this head as on any PR: green (public-safety 46574539850, container 46574539924, foundation 46574539948, unit-tests 46574539847). science-drift does not run on the head by design: GitHub reads a PR's workflows from its merge ref, where pull_request: branches: [main] no longer matches a base of rebuild. Its stand-in is the prose commit's science-drift run (46547153405) plus a parse of the five workflow files at the head with the rapid environment's PyYAML: all five load; push: [main] on each, pull_request unfiltered on four and [main] on science-drift, which also keeps workflow_dispatch.
  • Earlier heads: the prose commit 1991210 green on all five workflows (public-safety 46547153339, science-drift 46547153405, foundation 46547153443, container 46547153531, unit-tests 46547153356); the filter commit b31c579 green on the four (public-safety 46547925127, container 46547925349, foundation 46547925355, unit-tests 46547925168).

What a grep for rebuild as a branch name still finds, and why it stays

git grep -n -w rebuild and git grep -n 'blob/rebuild\|-b rebuild\|origin/rebuild' on rebuild at cf365b98 (the inventory: 170 -w lines) and at the head (the check: 146). The 26 lines that left all name the branch: the five workflows' filters and header comments (10), AGENTS.md (8, the merge rule's two from 667 included), CONTRIBUTING.md (2, both of 667's), README.md (3), the runbook's Current procedure (3). Two lines at the head that the tip lacks carry rebuild only as the project's name or the image tag (AGENTS.md "(pre-rebuild)", README.md's rebuild-<sha>-<base8> sentence). The 146 left are, grouped:

Group Where Why it stays
Project name "the rebuild", "rebuild-only", ported-from: none for rebuild-only code, across rapidpipe/, scripts/science-drift*, tests/, AGENTS.md, rapidpipe/settings/foundation-thin.toml the project, not the branch
AWS names rapid-rebuild, rapid-rebuild-production, /rapid/rebuild/... live names; they wait for the refactor's next revision
Image tags rebuild-<sha>-<base8>, scripts/dev.sh's rebuild- prefix, build-rebuild.sh, README.md:25 and :233 "the newest rebuild image" the tag scheme, not the branch
Devcontainers .devcontainer/rebuild-* a rename is not in this PR
Provenance docs/foundation-smdc-step.md:25 "rebuild at 1a528daa"; tests/db/test_field_children.py:264 "(rebuild ae3fa4a)" what was read, at which commit
Provenance docs/foundation-smdc-step.md:307, :731 "the switch to rebuild" part 13's licence-audit row and its What remains item name the switch event; the purge itself is rapid 662
Provenance docs/foundation-smdc-step.md, parts 1 to 13 elsewhere the runbook's dated record of what was proved where

The second grep finds nothing at the tip or at the head.

Session notes

none

rusholme and others added 2 commits December 1, 2026 00:40
Held for switch day: the branch where work lands, is cloned from and is
synced to reads main once main is fast-forwarded to rebuild.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The last commit before main is fast-forwarded to rebuild. science-drift's
pull_request filter moves too, so this PR's own head (base rebuild) runs
no science-drift by design; the other four run on every pull request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rusholme and others added 2 commits December 1, 2026 04:16
…es main

rebuild's tip brought in rapid 667 (the merge rule), 668, 665, 666, 661
and 670. AGENTS.md's Branches and pull requests and CONTRIBUTING.md's
Review and Acceptance conflicted: resolved by keeping 667's text and
making every place it names `rebuild` as the branch name `main`.
.github/CODEOWNERS is left as rebuild has it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rusholme
rusholme marked this pull request as ready for review December 1, 2026 22:20
@rusholme
rusholme merged commit e9e0280 into rebuild Dec 1, 2026
4 checks passed
@rusholme
rusholme deleted the switch-day-drafts/rapid branch December 1, 2026 22:21
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