Skip to content

docs: rewrite self-hosted runner migration guide - #1956

Merged
gerchowl merged 2 commits into
devfrom
feature/1933-migration-self-hosted
Oct 29, 2026
Merged

gerchowl merged 2 commits into
devfrom
feature/1933-migration-self-hosted

Conversation

@gerchowl

Copy link
Copy Markdown
Contributor

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/XLARGE variables, the fork predicate, size classes and the DEVKIT_CI_LANE_SIZES lane override, and the N/N+1/N+2 deprecation timeline) in place of the stale, pre-migration DEVKIT_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 only

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • Rewrote the variable-selection, fork-safety and deprecation-timeline content of "Run CI on self-hosted runners", replacing the removed comma-separated DEVKIT_CI_RUNNER mechanism and the site-specific example label/gh variable set value (both replaced with <label>)
  • Added #### 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/malformed CI_RUNNER_SMALL symptom)
  • Updated the .vig-os manifest key table: rewrote the now-deprecated DEVKIT_CI_RUNNER row and added the missing DEVKIT_CI_LANE_SIZES row
  • Fixed one stale cross-reference to the old mechanism in the adjacent "Keep the dev-shell gcroot" section
  • Left the already-correct "Seeded hook runner migration" subsection (S3, feat: migrate CI runner settings and seeded hooks safely #1949) untouched, including its anchor

Changelog Entry

Changed

  • Rewrite the self-hosted CI runner migration guide (#1933)
    • docs/MIGRATION.md's "Run CI on self-hosted runners" section now documents the shipped CI_RUNNER_SMALL/LARGE/XLARGE variables, the per-lane DEVKIT_CI_LANE_SIZES override, fork safety (including the private-fork remedy) and the full N/N+1/N+2 deprecation timeline, replacing the stale description of the removed DEVKIT_CI_RUNNER-only mechanism
    • Add "CI never starts on a private repo" and whitespace-only CI_RUNNER_SMALL symptom entries, and scrub the site-specific example label from the section and the manifest key table

Testing

  • Tests pass locally (targeted subset, not full just test per the shared-host rule)
  • Manual testing performed (describe below)

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; fix mode made no further changes)
  • A one-off script (not committed) extracted every MIGRATION.md#… anchor referenced anywhere in the repo outside docs/issues//docs/pull-requests/ (git grep -n 'MIGRATION.md#') and compared it against the GitHub-slugified headings in the rewritten docs/MIGRATION.md: 16 distinct anchors, all resolve
  • nix 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 passed
  • git diff scanned for the scrubbed site-specific label — only present in removed (-) lines
  • Checked the section contains no site label, hostname, org-specific runner name, /mnt/... path or real IP

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs) -- N/A, no template change
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works -- N/A, docs-only change
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

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

@gerchowl
gerchowl merged commit cc6a034 into dev Oct 29, 2026
16 checks passed
@gerchowl
gerchowl deleted the feature/1933-migration-self-hosted branch October 29, 2026 02:34
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