Repository navigation
v1.91.6.0 feat: balance PR eval slices by recorded duration without weakening timeout coverage - #2991
Merged
Merged
Conversation
…eakening timeout coverage
|
😎 This pull request was merged. |
Contributor
E2E Evals: ✅ PASS115 automated passed / 115 final results | 0 failed, 0 manual accepted (unscored; no score-cache credit) | 115 executed, 0 reused | $35.57 total cost | reconcile exit: 0 Profile: pr / full-fallback; selected behaviors: 91, judges: 27. Deferred to scheduled/release coverage: 125 behaviors and 0 changed prompt files. Deferred checks did not run and receive no PR-pass credit.
Fail-closed reconciliationSliced lane: declared PR profile or broad fallback via scripts/test-paid-shards.ts (planner → 6 executors → fail-closed report). Reused scores retain their original provenance and expiry. |
5 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR eval slices were split so that every slice's worst-case wall fits its CI timeout: registered long files are spread by supervision budget and the rest go round-robin. That keeps the timeout guarantee, but it ignores how long evals actually take. On #2989's runs, one slice carried about 29 minutes of recorded eval time and another about 8, and the slowest slice set the pace for the whole eval lane (about 18.5 minutes).
Planner
buildRunManifestkeeps the existing allocation as a baseline and records the baseline's worst-case wall (paidShardWallUpperBoundMs) for 1–4 workers.scripts/paid-test-durations.json. A file moves or swaps out of the heaviest slice only when no slice's worst case rises above the baseline maximum for any of those worker counts.Seed
--report <dir> --write-durationsmerges a report's executed single-file outcomes into it. Multi-file, skipped-only, and sub-second shards are ignored.Expected effect
Estimated from the recorded times with two workers per slice:
skill-e2e-shared-libs-pathsalone)This PR's own eval run will show the real number.
Validation
paid-retry-supervision's CI-wall coverage checks, which a naive duration packing broke.test/paid-run-manifest.test.ts:--write-durationsrequires--report.bun run test:ubicloudon a 16-vCPU Ubicloud VM, 1,065 files and 27,331 tests, 0 failures, no flaky retries.