Skip to content

feat: add optional package-level concurrency#32

Merged
jeffatgametime merged 2 commits into
masterfrom
parallel-package-runs
Jun 25, 2026
Merged

feat: add optional package-level concurrency#32
jeffatgametime merged 2 commits into
masterfrom
parallel-package-runs

Conversation

@jeffatgametime

Copy link
Copy Markdown
Contributor

Adds an opt-in RunWithOptions path for package-level concurrency while preserving Run() as the serial default for existing callers.

Changes:

  • Adds RunOptions{PackageConcurrency} and RunWithOptions.
  • Factors per-package execution into local result builders so concurrent runs don't append to shared slices.
  • Preserves deterministic package result ordering.
  • Adds a race-covered unit test for bounded package fan-out.

Validation:

  • go test ./...
  • go test -race ./...

Downstream consumer:

  • gametimesf/api-tests branch docs-parallel-package-test-execution wires this into hosted acceptance runs via TEST_PACKAGE_CONCURRENCY.

jeffatgametime and others added 2 commits June 24, 2026 22:36
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
@jeffatgametime
jeffatgametime marked this pull request as ready for review June 25, 2026 06:02
@jeffatgametime
jeffatgametime merged commit 904eda9 into master Jun 25, 2026
4 checks passed
@jeffatgametime
jeffatgametime deleted the parallel-package-runs branch June 25, 2026 20:50
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