Skip to content

[codex] Make graph builds parallel by default#33

Merged
rabii-chaarani merged 1 commit into
mainfrom
codex/default-to-parallel-build
Jun 22, 2026
Merged

[codex] Make graph builds parallel by default#33
rabii-chaarani merged 1 commit into
mainfrom
codex/default-to-parallel-build

Conversation

@rabii-chaarani

Copy link
Copy Markdown
Owner

Summary

  • Default MaterializeOptions to parallel graph materialization.
  • Default omitted native request parallel fields to true while preserving explicit false.
  • Update build/watch help and add parser/protocol coverage for the default and opt-out behavior.

Validation

  • cargo test cli::tests::dispatch_materialize
  • cargo test cli::tests::watch
  • cargo test protocol
  • cargo test

Notes

  • --parallel remains accepted as an idempotent compatibility flag.
  • --single-thread remains the explicit opt-out.

Default materialization now opts into the existing concurrent per-file parse and partition path, while preserving explicit opt-outs for callers that need serial behavior. Native request payloads also inherit the parallel default unless they set parallel to false.

Constraint: Existing execution scope must stay limited to src/execution/parallel.rs per-file parse and partition work
Rejected: Change execution pipeline ordering | semantic enrichment and staging intentionally remain serial
Confidence: high
Scope-risk: narrow
Directive: Keep explicit parallel=false request payloads authoritative for compatibility
Tested: cargo test cli::tests::dispatch_materialize; cargo test cli::tests::watch; cargo test protocol; cargo test
Not-tested: Manual performance benchmarking
@rabii-chaarani rabii-chaarani marked this pull request as ready for review June 22, 2026 02:11
@rabii-chaarani rabii-chaarani merged commit 4a2af02 into main Jun 22, 2026
22 checks passed
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