Repository navigation
docs(rfcs): propose site-agnostic projects ADR - #1917
Merged
Merged
Conversation
gerchowl
force-pushed
the
feature/1908-site-agnostic-adr
branch
2 times, most recently
from
October 26, 2026 19:05
e4816b9 to
1b5c66f
Compare
Contributor
Author
|
Owner decision (2026-10-26): a1 b1 c1 d1 e1 f1, all Recommended options accepted. The ADR is accepted once the acceptance commit lands: status |
Record the design for CI runner selection via CI_RUNNER_* variables with a fork predicate on every path, the one-release deprecation of DEVKIT_CI_RUNNER and DEVKIT_CI_RESOLVE_RUNNER, the gitignored .site/ convention with its site-init hook contract, the env-only endpoint lint, the site leak-check hook point and the going-public checklist. Lists the open decisions for the owner and the ordered implementation sub-issues. Refs: #1908
Define key inertness and the partial-setup notice over the required size classes, keep the legacy resolve variable as the tombstone carrier so the N+1 error is reachable, validate the raw variable value, state the malformed-SMALL and key-only limits, complete the hook-caller rows, and widen the scrub scope and acceptance. Refs: #1908
Class every seeded-hook job LARGE with one stock expression so the per-line reconcile is unambiguous, always require SMALL and LARGE for key inertness and the partial-setup notice, pin the scrub target, and add the notice to S1's acceptance. Refs: #1908
gerchowl
force-pushed
the
feature/1908-site-agnostic-adr
branch
from
October 26, 2026 19:29
1b5c66f to
4f360c6
Compare
Name the resolve-toolchain jobs and resolvers explicitly in the SMALL class and the removal acceptance, assign the ci-extension header comment to S2, and check the scrubbed names via the site leak check. Refs: #1908
The adoption of release N runs the consumer's pre-N devkit-upgrade.yml, which cannot see CI_RUNNER_* or lift new PR-body lines, so N ships the new workflow and the N+1 adoption performs the migration; removal moves to N+2. Make S1 landable alone with a scoped shape test and the pinned wiring tests, split the lane-size override into S1b, forbid merge_group alongside workflow_run, add a private no-variables notice, settle one whitespace rule, add the private-fork decision and list the smoke-test fixture workflows. Refs: #1908
Scheduled devkit-upgrade runs use the default branch's workflow, so a gitflow consumer may adopt N+1 or N+2 with the pre-N workflow. Make the per-run warning carry the full migration text, gate the N+2 tombstone on the consumer's own variables (error only when the key would still decide a runner), and define the migrating adoption accordingly. State the hosted-blocked notice limit, fix the whitespace-SMALL wording, split S1 diagnostics into S1d and S7 into S7/S7b, record file overlaps and merge order, name the vig-utils pyproject entries, and specify tests for adopting N+1 before releasing N to main. Refs: #1908
Mark the ADR accepted and record the owner's decisions a1 b1 c1 d1 e1 f1 with the rejected options and their reasons. Restore the overridden classes to the per-run legacy-key warning so decision (a)'s cost holds, scope S3 to the migrating adoption, and note that the warning already runs on the N adoption PR's own CI. Refs: #1908
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
Proposed ADR for #1908: site-agnostic projects. CI runners come from the
CI_RUNNER_SMALL/CI_RUNNER_LARGE/CI_RUNNER_XLARGEvariables with a fork predicate on every path. The legacyDEVKIT_CI_RUNNERkey andDEVKIT_CI_RESOLVE_RUNNERvariable are deprecated for one release and then fail loudly. The ADRalso defines the gitignored
.site/convention and itssite-inithook contract, an env-only endpoint lint, a siteleak-check hook point and a going-public checklist.
Design only. There is no implementation in this PR. Status: accepted.
Type of Change
docs-- Documentation onlyModifiers
!) -- This change breaks backward compatibilityChanges Made
docs/rfcs/ADR-site-agnostic-projects.md, structured likeADR-publish-lanes.md. It contains:runs-onexpressions for release N and N+1, and therunners/runner-sourcesalgorithm, coveringcomma lists, blank values and the hosted default
ubuntu-26.04;devkit-upgrade.ymlrun from the default branch) as cleanup, an N+2 tombstone gated on the consumer's own variables, and the PR-body text;pull_request_target,workflow_run, reusable cross-repo calls, and why theexplicit check stays;
.site/schema, the site-init hook, the lint and the leak-check contracts;Decisions
Decided: a1 b1 c1 d1 e1 f1 (owner, 2026-10-26)
Changelog Entry
No changelog needed. This is a proposed ADR with no user-visible change. It matches the precedent of the publish-lanes ADR
PR, which did not touch
CHANGELOG.md. The implementation sub-issues carry theDeprecatedandRemovedentries.Testing
just test): not applicable, docs onlyManual Testing Details
prek run --files docs/rfcs/ADR-site-agnostic-projects.mdand every hook passed, including pymarkdown in fixmode. The commit hooks passed too.
runs-on:anduses:job inassets/workspace/.github/workflows/*.ymland.github/workflows/*.yml./mntpaths. There were none.Checklist
CHANGELOG.mdin the[Unreleased]section (not needed, see above)Additional Notes
Follow-ups noted in the ADR for the architect to file (not filed here):
DEVKIT_DEV_PROFILE_PATH([CHORE] setup-devkit-toolchain: dev-shell gcroot lands in RUNNER_TEMP, so it never survives an ephemeral self-hosted job #1601) is still a runner-host path in.vig-os.runner-sources.Refs: #1908