Repository navigation
Open
Description
Implementation sub-issue S3 of #1908, from the accepted ADR-site-agnostic-projects (section Implementation; amended by #1923: every lane defaults to SMALL). The ADR is the design; this text is copied from it verbatim.
Merge order for release N: S1 → S1d → S1b → S2 → S3. S4, S5 and S6 are independent. S7/S7b follow S1–S6, S8 gates release N, and S9 is release N+2. See the ADR's file-overlap table.
- Scope: §6. It ships in release N and acts from the migrating adoption
(§6):- N's
devkit-upgrade.ymlpassesvars.CI_RUNNER_*into the install step
and lifts theci-runner-migration:lines into a "CI runner migration"
PR-body section; init-workspace.shhandles the legacy key per (c), keeps it when no
variables are visible (which is always the case in the adoption of N),
prints the lines, and adds the private no-variables hint row;- the seeded-hook reconcile per (d).
- N's
- Files:
assets/init-workspace.sh(the legacy-key migration in the
persistence block, rebased on S1b's lane-size lines there),assets/workspace/.github/workflows/devkit-upgrade.yml(the
install and PR-body steps; S2 touches onlyruns-on),
tests/bats/init-workspace.bats(migration cases), and the devkit-upgrade
workflow tests. - Acceptance:
- bats cases for every row of the §6 table;
- the strip/keep outcome per (c);
- with no
CI_RUNNER_*in the environment (the pre-N workflow), the key is
always kept; - the "adopt N+1 before releasing N to main" path: run N+1's
init-workspace.shwith the pre-N workflow's environment (no
CI_RUNNER_*). The key is kept, and theci-runner-migration:lines are
printed but not lifted, because the pre-N workflow's PR-body step is
unchanged. A companion S9 test then asserts that at N+2 that repo is green
with a warning when its variables cover every required class, and red
with the full text when they do not; - the reconcile/drift lines per (d);
- a workflow test that the install step's
envcarries all three
variables and that the PR-body step lifts the lines.
Refs #1908
Metadata
Metadata
Assignees
Labels
featureNew feature or request
Activity
test: execute upgrade migration reporting shells
docs: align migration mechanism with environment contract
test: cover upgrade runner migration boundaries
feat: migrate inert CI runner settings during upgrades
test: execute upgrade migration reporting shells
docs: align migration mechanism with environment contract
test: expose seeded hook migration gaps
fix: reconcile historical seeded hook runners safely
test: cover upgrade runner migration boundaries
feat: migrate inert CI runner settings during upgrades
test: execute upgrade migration reporting shells
docs: align migration mechanism with environment contract
test: expose seeded hook migration gaps
fix: reconcile historical seeded hook runners safely
feat: migrate CI runner settings and seeded hooks safely (#1949)
fix(release): carry plan-limited promotion approval rules into hotfix (…
test: handle frozen changelog sections in migration contract (#2035)
chore: release 1.19.0 (#2033)