Repository navigation
fix(ci): give resolve-toolchain sparse checkout its own path - #1866
Merged
Merged
Conversation
gerchowl
force-pushed
the
bugfix/1860-resolve-sparse-path
branch
from
October 11, 2026 23:59
5e3c5b6 to
6d49355
Compare
gerchowl
added a commit
that referenced
this pull request
Oct 12, 2026
## Description Release-train workflows hard-coded `runs-on: ubuntu-26.04`. They now use the existing mechanism: resolve-toolchain's `runner-json` (jobs after the resolve step), `vars.DEVKIT_CI_RESOLVE_RUNNER || 'ubuntu-26.04'` (resolve jobs; prepare-release's `validate` resolves inline; standalone `publish-release-extension`). Reusable `release-core`/`release-publish`/`release-extension`/`prepare-release-extension` take an optional `runner-json` input (default hosted). Default unchanged for existing consumers. Hosted by design (not release train): codeql, scorecard, devkit-upgrade. Sparse checkouts already use their own path (#1866). **Compat note:** a preserved (consumer-owned) copy of the two extension hooks that predates the `runner-json` input must add it, as with `ci-extension`. ## Type of Change - [x] `feat` ## Changelog Entry ### Added - **Release train honours `DEVKIT_CI_RUNNER`** ([#1863](#1863)) ## Testing New parametrized tests in tests/test_ci_runner.py pin routing for every release-train job, the exported/needed runner-json, input declarations and caller wiring. Refs: #1863
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
resolve-toolchain's sparse checkout occupied the workspace root, which later jobs reuse on a persistent self-hosted runner (their checkout never re-materializes the tree). The sparse clone now lives in
.devkit-resolvein all 7 managed workflows that have the job; theresolve-toolchainaction gains aworking-directoryinput and ci.yml's gate steps run from the new path.Type of Change
fixChangelog Entry
Fixed
Testing
pytest tests/test_ci_runner.py(new parametrized test pins path/uses/working-directory per workflow): 101 passed. Not verified on a real persistent runner.Refs: #1860