Skip to content

ci: run test-linux setup steps in parallel - #3633

Draft
risu729 wants to merge 1 commit into
mainfrom
codex/parallel-test-linux-setup
Draft

ci: run test-linux setup steps in parallel#3633
risu729 wants to merge 1 commit into
mainfrom
codex/parallel-test-linux-setup

Conversation

@risu729

@risu729 risu729 commented Jun 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Run the independent test-linux setup steps as a GitHub Actions parallel group.
  • Add a scoped actionlint ignore for ci.yml while actionlint v1.7.12 does not recognize the new parallel syntax yet.

This uses the GitHub Actions parallel steps feature announced in the changelog: https://github.blog/changelog/2026-06-25-actions-steps-can-now-be-run-in-parallel/

Validation

  • mise run check --lint

Note: the commit hook was bypassed because staged-only zizmor cannot parse ci.yml with the new parallel syntax yet and exits with no inputs collected. The full repo check passes; zizmor logs the same schema warning but does not fail when the other workflows are included.

Summary by Sourcery

Run independent test-linux setup steps in the CI workflow in parallel and adjust linting configuration to accommodate the new workflow syntax.

CI:

  • Group the Docker Compose preparation and Ubuntu WSL image resolution steps into a parallel block in the test-linux job of ci.yml.
  • Add an actionlint configuration file to ignore temporary false positives caused by the new parallel steps syntax in ci.yml.

@sourcery-ai

sourcery-ai Bot commented Jun 25, 2026

Copy link
Copy Markdown

Reviewer's Guide

Updates the test-linux job in the GitHub Actions CI workflow to run two independent setup steps in parallel using the new parallel syntax, and adds a scoped actionlint configuration to ignore current false positives caused by that new syntax until the linter supports it.

Sequence diagram for parallel test-linux setup steps in CI workflow

sequenceDiagram
  participant GitHubActionsRunner
  participant PrepareDockerComposeEnvironment_step
  participant ResolveUbuntuWSLImageVersion_step
  participant CacheUbuntuWSLImage_step

  GitHubActionsRunner->>GitHubActionsRunner: start test-linux job

  par parallel_setup_steps
    GitHubActionsRunner->>PrepareDockerComposeEnvironment_step: run
    PrepareDockerComposeEnvironment_step-->>GitHubActionsRunner: export MISE_VERSION to GITHUB_ENV
  and
    GitHubActionsRunner->>ResolveUbuntuWSLImageVersion_step: run
    ResolveUbuntuWSLImageVersion_step-->>GitHubActionsRunner: set etag in wsl-image output
  end

  GitHubActionsRunner->>CacheUbuntuWSLImage_step: run using wsl-image.etag
Loading

File-Level Changes

Change Details Files
Run the Docker Compose preparation and Ubuntu WSL image resolution steps in parallel within the test-linux job.
  • Replaces two sequential setup steps with a single - parallel: group containing both steps as array items.
  • Keeps the existing shell logic for determining MISE_VERSION and writing it to GITHUB_ENV unchanged inside the first parallel step.
  • Keeps the existing wsl-image step logic and id: wsl-image output handling unchanged inside the second parallel step.
.github/workflows/ci.yml
Configure actionlint to ignore known issues with the new GitHub Actions parallel steps syntax in the CI workflow.
  • Adds a new .github/actionlint.yaml configuration file scoping overrides to .github/workflows/ci.yml.
  • Configures ignores for the missing run/uses step error and for the undefined wsl-image property error that actionlint v1.7.12 currently reports for the parallel syntax.
.github/actionlint.yaml

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

@risu729
risu729 force-pushed the codex/parallel-test-linux-setup branch from 1c68897 to b567a5f Compare July 15, 2026 16:02
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