Skip to content

fix(multi-runner): route v1 and v2 runners separately - #5346

Merged
edersonbrilhante merged 12 commits into
mainfrom
fix-multi-runner-v2-routing
Sep 10, 2026
Merged

fix(multi-runner): route v1 and v2 runners separately#5346
edersonbrilhante merged 12 commits into
mainfrom
fix-multi-runner-v2-routing

Conversation

@edersonbrilhante

@edersonbrilhante edersonbrilhante commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Description

  • Route v2 lanes through the provider-aware runner-config module.
  • Keep stable v1 lanes on the legacy runners path and prevent the legacy module from being created for v2-only configuration.
  • Expose v2 runner resources through runners_map_v2.
  • Add routing assertions covering stable v1 and experimental v2 configurations.

Test Plan

  • terraform fmt and git diff --check
  • Terraform initialization and routing test coverage for modules/multi-runner
  • Local provider-plugin handshake prevented a complete native-provider test run on macOS arm64

Related Issues

Depends on #5345.

@edersonbrilhante
edersonbrilhante requested a review from a team as a code owner September 3, 2026 19:35
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@edersonbrilhante
edersonbrilhante requested a review from a team as a code owner September 3, 2026 20:00
@edersonbrilhante
edersonbrilhante force-pushed the fix-multi-runner-v2-routing branch from 797e0a6 to 52aefba Compare September 3, 2026 20:02
@edersonbrilhante
edersonbrilhante force-pushed the fix-multi-runner-v2-routing branch from 819ba57 to 9777da9 Compare September 3, 2026 20:05
@edersonbrilhante
edersonbrilhante force-pushed the fix-multi-runner-v2-routing branch from 9777da9 to 00c76ce Compare September 3, 2026 20:20
@edersonbrilhante
edersonbrilhante force-pushed the fix-multi-runner-v2-routing branch from 00c76ce to 01c4a78 Compare September 3, 2026 21:19
@edersonbrilhante
edersonbrilhante force-pushed the fix-multi-runner-v2-routing branch from 01c4a78 to 5b2fbf4 Compare September 3, 2026 21:40
@edersonbrilhante
edersonbrilhante force-pushed the fix-multi-runner-v2-routing branch from 5b2fbf4 to afc760b Compare September 3, 2026 21:52
@edersonbrilhante
edersonbrilhante force-pushed the fix-multi-runner-v2-routing branch from afc760b to e17ae16 Compare September 4, 2026 17:59
@edersonbrilhante
edersonbrilhante force-pushed the fix-multi-runner-v2-routing branch from e17ae16 to 861e3ca Compare September 7, 2026 15:00
@edersonbrilhante
edersonbrilhante force-pushed the fix-multi-runner-v2-routing branch from 861e3ca to 26219c7 Compare September 8, 2026 11:11
@edersonbrilhante
edersonbrilhante force-pushed the fix-multi-runner-v2-routing branch from 26219c7 to 0d2262e Compare September 8, 2026 13:41
@edersonbrilhante
edersonbrilhante force-pushed the fix-multi-runner-v2-routing branch from 0d2262e to 5759b13 Compare September 8, 2026 14:50
@edersonbrilhante
edersonbrilhante force-pushed the fix-multi-runner-v2-routing branch from 5759b13 to 4dabda4 Compare September 8, 2026 15:16
@edersonbrilhante
edersonbrilhante force-pushed the fix-multi-runner-v2-routing branch from 40bc1e6 to 7a0371f Compare September 8, 2026 17:56
@edersonbrilhante
edersonbrilhante force-pushed the fix-multi-runner-v2-routing branch from 7a0371f to b0d438b Compare September 8, 2026 19:34
@edersonbrilhante
edersonbrilhante force-pushed the fix-multi-runner-v2-routing branch 3 times, most recently from 4f377f3 to 6869b66 Compare September 10, 2026 11:34
Brend-Smits
Brend-Smits previously approved these changes Sep 10, 2026
Base automatically changed from refactor-runner-config-module to main September 10, 2026 16:08
@edersonbrilhante
edersonbrilhante merged commit cfac174 into main Sep 10, 2026
58 of 59 checks passed
@edersonbrilhante
edersonbrilhante deleted the fix-multi-runner-v2-routing branch September 10, 2026 16:11
edersonbrilhante added a commit that referenced this pull request Sep 10, 2026
## Description

- Make legacy v1 inputs optional when the experimental v2 configuration
is selected.
- Keep validation for incomplete v1 configurations while allowing
v2-only calls to omit legacy GitHub App, network, and v1 lane arguments.
- Centralize v1/v2 shape validation and add regression coverage proving
v2 resolves without legacy inputs.
- Update Terraform version and generated documentation for the resulting
contract.

## Test Plan

- `terraform validate` in `modules/multi-runner`
- Configuration-resolution tests for v2-only inputs
- Terraform formatting, TFLint, and merge-conflict checks

## Related Issues

Depends on #5346.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
edersonbrilhante added a commit that referenced this pull request Sep 10, 2026
## Description

Adds the `examples/multi-runner-v2` example for the unified experimental
v2 interface.

- Demonstrates global defaults and per-lane runner, webhook, and
compute-provider settings.
- Uses the v2 module inputs without the legacy v1 compatibility
arguments.
- Adds example documentation, Terraform verification, provider locks,
and navigation entries.

## Test Plan

- `terraform init -backend=false -input=false` for
`examples/multi-runner-v2`
- `terraform validate` for the example
- Terraform formatting, validation/TFLint, and merge-conflict checks

## Related Issues

Depends on #5368, which depends on #5346.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants