Skip to content

fix(ci): give resolve-toolchain sparse checkout its own path - #1866

Merged
gerchowl merged 4 commits into
devfrom
bugfix/1860-resolve-sparse-path
Oct 12, 2026
Merged

gerchowl merged 4 commits into
devfrom
bugfix/1860-resolve-sparse-path

Conversation

@gerchowl

Copy link
Copy Markdown
Contributor

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-resolve in all 7 managed workflows that have the job; the resolve-toolchain action gains a working-directory input and ci.yml's gate steps run from the new path.

Type of Change

  • fix

Changelog Entry

Fixed

  • resolve-toolchain sparse checkout no longer poisons a persistent runner's workspace (#1860)

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

@gerchowl
gerchowl force-pushed the bugfix/1860-resolve-sparse-path branch from 5e3c5b6 to 6d49355 Compare October 11, 2026 23:59
@gerchowl
gerchowl merged commit 88dfd8b into dev Oct 12, 2026
16 checks passed
@gerchowl
gerchowl deleted the bugfix/1860-resolve-sparse-path branch October 12, 2026 00:04
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
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