Skip to content

ci: support selected Linux runners in shape validation - #1142

Open
brettheap wants to merge 1 commit into
mainfrom
ci/eagle-fleet-routing
Open

brettheap wants to merge 1 commit into
mainfrom
ci/eagle-fleet-routing

Conversation

@brettheap

@brettheap brettheap commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

The GitHub-hosted compute billing cap blocks the upstream and consumers of its copied validation workflows. Add an optional CI_LINUX_RUNNER variable to the assembly and family templates, preserving their existing ubuntu-latest default for other installations. Route this upstream repository Linux jobs to the disposable Eagle Ubuntu 24 profile; preserve native Windows/macOS rows, matrices, tests, Python 3.9 floor and release approvals. Update the floor-check helper to recognize the explicitly declared Ubuntu 24 profile while rejecting unresolved runner expressions. Consumers must run the existing update-shape check/apply procedure after this lands; no copied digests are edited here. Validation: 73 focused release/workflow tests, actionlint over both upstream workflows and both templates, and diff checks pass. Full Linux CI and native platform checks remain required; no release was dispatched.

Summary by Sourcery

Enable configurable Linux runner selection for validation templates and migrate upstream Linux CI jobs to the Eagle Ubuntu 24 profile.

New Features:

  • Allow assembly and family validation templates to select an optional Linux runner through the CI_LINUX_RUNNER repository or organization variable.
  • Run upstream Linux validation and release jobs on the Eagle Ubuntu 24 runner while preserving native Windows and macOS jobs.

Enhancements:

  • Update runner validation to recognize the explicit Ubuntu 24 profile and retain the Python 3.9 floor checks.
  • Document Linux runner configuration and the required workflow update procedure for copied templates.

CI:

  • Configure actionlint to recognize the Eagle Linux runner label.

Documentation:

  • Add documentation for configurable Linux runners and upstream runner behavior.

Tests:

  • Update release workflow tests for the Eagle Ubuntu 24 runner and matrix handling.

@sourcery-ai

sourcery-ai Bot commented Oct 21, 2026

Copy link
Copy Markdown

Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 1 day and 14 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@sourcery-ai

sourcery-ai Bot commented Oct 21, 2026

Copy link
Copy Markdown

Reviewer's Guide

Introduces optional Linux runner selection for copied validation templates and routes the upstream repository’s Linux jobs to the disposable Eagle Ubuntu 24 profile, while preserving hosted defaults, native Windows/macOS coverage, release behavior, and Python 3.9 floor validation.

Flow diagram for upstream CI runner selection

flowchart TD
    Matrix[Release test matrix]
    Linux[Ubuntu matrix row]
    Native[Windows/macOS rows]
    Eagle[eagle-linux-ubuntu24]
    Original[Original native runner]

    Matrix --> Linux
    Matrix --> Native
    Linux --> Eagle
    Native --> Original
Loading

File-Level Changes

Change Details Files
Adds configurable Linux runner selection to validation templates while keeping the existing hosted default.
  • Uses the repository/org CI_LINUX_RUNNER variable with an ubuntu-latest fallback.
  • Documents runner configuration and the required consumer update procedure.
templates/assembly-root/.github/workflows/validate.yml
templates/family-root/.github/workflows/validate.yml
docs/ci-runners.md
Moves upstream Linux validation and release jobs onto the disposable Eagle Ubuntu 24 runner without changing native-platform coverage.
  • Routes Linux build, test, packaging, and release jobs to eagle-linux-ubuntu24.
  • Translates Ubuntu matrix rows to Eagle while preserving Windows/macOS selectors and matrices.
  • Adds actionlint configuration for the custom self-hosted runner label.
.github/workflows/release.yml
.github/workflows/tests.yml
.github/actionlint.yaml
Updates workflow shape validation to understand the explicit runner profile and preserve the Python 3.9 Ubuntu floor.
  • Updates expected runner assertions for Ubuntu validation jobs.
  • Resolves the Linux matrix expression to Eagle and models Eagle as Ubuntu 24.04 for compatibility checks.
  • Continues rejecting unresolved runner expressions through the existing validation logic.
tests/test_release_workflow.py

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-21T20:34:10.007843Z ce4dc66 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sonarqubecloud

Copy link
Copy Markdown

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

Reviewed commit: ce4dc664a1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

brettheap added a commit that referenced this pull request Oct 22, 2026
…since v1.1.1, the known limits and how the release is cut, with seven placeholders to fill at the tag (#921) (#1155)

The release notes for v1.2.0, a minor release over v1.1.1 with no new command and no new flag. They cover:
- all 99 pull requests since v1.1.1, under v1.1.1's five headings;
- the pinned shape copies that changed, measured with `update-shape.py check` and `apply`: five for an assembly root and four for a holder;
- the known limits: those this release closes or narrows, Brett Heap's rulings of 2026-10-22T12:01:22Z on #979, #917 and #921, and the limits lanes 1, 2, 4 and 5 sent;
- how the release is cut.

Four section reviews (RV1155a to d) and their continuations (RV1155a2, c2 and d2) checked the notes, and lanes 2, 4 and 5 checked their own lines. The fix round applied every MUST and SHOULD. A delta review (RV1155e) found it READY once its last two SHOULDs went in, and they did.

Seven placeholders stay for the tag:
- the counts;
- #1142, twice, and its line in "Before tagging";
- Brett Heap's word that starts the tag;
- his word on when `release/v1.2` is cut;
- the milestone re-read.

Closes #921

Lane: openreposhape-3 (openRepoShape-3)
Co-Authored-By: Claude Opus 5.5 <[email protected]>

This branch has not been deployed

No deployments
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