Repository navigation
docs: rewrite self-hosted runner migration guide - #1956
Merged
Merged
Conversation
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.
Description
Rewrites
docs/MIGRATION.md's "Run CI on self-hosted runners" section to document the shipped site-agnostic runner mechanism (CI_RUNNER_SMALL/LARGE/XLARGEvariables, the fork predicate, size classes and theDEVKIT_CI_LANE_SIZESlane override, and the N/N+1/N+2 deprecation timeline) in place of the stale, pre-migrationDEVKIT_CI_RUNNER-comma-list description. Source of truth:docs/rfcs/ADR-site-agnostic-projects.md, cross-checked against the merged S1/S1b/S1d/S2/S3 code (resolve-toolchain/action.yml,ci.yml,devkit-upgrade.yml,init-workspace.sh).Type of Change
docs-- Documentation onlyModifiers
!) -- This change breaks backward compatibilityChanges Made
DEVKIT_CI_RUNNERmechanism and the site-specific example label/gh variable setvalue (both replaced with<label>)####subsections: Size classes and the lane override, Fork safety (including decision (f)'s remedy for forks of a private repo, and the owner-confirmed wording that the fork predicate is accident-prevention, not the security boundary), Deprecation timeline, and Known symptoms (the "CI never starts on a private repo" §3 notice limit, and the whitespace-only/malformedCI_RUNNER_SMALLsymptom).vig-osmanifest key table: rewrote the now-deprecatedDEVKIT_CI_RUNNERrow and added the missingDEVKIT_CI_LANE_SIZESrowChangelog Entry
Changed
docs/MIGRATION.md's "Run CI on self-hosted runners" section now documents the shippedCI_RUNNER_SMALL/LARGE/XLARGEvariables, the per-laneDEVKIT_CI_LANE_SIZESoverride, fork safety (including the private-fork remedy) and the full N/N+1/N+2 deprecation timeline, replacing the stale description of the removedDEVKIT_CI_RUNNER-only mechanismCI_RUNNER_SMALLsymptom entries, and scrub the site-specific example label from the section and the manifest key tableTesting
just testper the shared-host rule)Manual Testing Details
nix develop --command prek run pymarkdown --files docs/MIGRATION.md CHANGELOG.md --show-diff-on-failure --color=always→ Passed, exit 0 (the repo's actual docs/markdown lint;fixmode made no further changes)MIGRATION.md#…anchor referenced anywhere in the repo outsidedocs/issues//docs/pull-requests/(git grep -n 'MIGRATION.md#') and compared it against the GitHub-slugified headings in the rewrittendocs/MIGRATION.md: 16 distinct anchors, all resolvenix develop --command uv run --with pytest-xdist pytest tests/test_seeded_hook_runner_migration.py::test_migration_docs_and_changelog_match_the_new_contract tests/test_rust_scaffold.py::test_bypass_notice_links_to_a_real_migration_heading tests/test_ci_runner.py -n 4→ 280 passedgit diffscanned for the scrubbed site-specific label — only present in removed (-) lines/mnt/...path or real IPChecklist
docs/templates/, then runjust docs) -- N/A, no template changeCHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
No code changes. S6 (#1950, leak-check hook) is still open and may also touch
MIGRATION.md; rebasing onto it if it lands first is on me per the brief.Refs: #1933