-
Notifications
You must be signed in to change notification settings - Fork 0
[SDTEST-2702] Add local parallelism for CI nodes #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 477c53b619
ℹ️ 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".
… across heterogeneous CI pools
E2E Test Report: SUCCESS ✅Tested by: Shepherd Agent (autonomous QA for Datadog Test Optimization) Test Environment
ConfigurationResults
Worker-Env Verification
Test Methodology
Key Observations
This E2E test was performed by Shepherd - autonomous QA agent for Datadog Test Optimization |
Summary
--ci-node-workerssetting (default: CPU count) to control how many parallel workers run within each CI node{{nodeIndex}}in worker-env is now a global worker index calculated asciNode * ciNodeWorkers + localWorkerIndex, ensuring unique indices across all workers on all nodesmaxParallelismis 0 or negativebundle infoparsing in SanityCheck to use regex matching, making it more reliable when debug logs are present in outputTest plan
splitTestFilesIntoGroups()helper (even/uneven splits, edge cases)ci_node_workerssetting defaults and env/flag overridesmaxParallelism <= 0edge casebundle infooutput with debug logsmake testandmake lintpassE2E verification steps
ddtest, passDD_TEST_OPTIMIZATION_RUNNER_CI_NODE=1to execute in CI node mode (only one part of the split) andDD_TEST_OPTIMIZATION_RUNNER_CI_NODE_WORKERS=4to subsplit inside the node into 4 workers