fix: add --allow-past-effective-time to simple benchmark - #3490
fix: add --allow-past-effective-time to simple benchmark#3490dheerajodha wants to merge 1 commit into
Conversation
The simple benchmark uses --effective-time with a past date (2024-12-10) but does not pass --allow-past-effective-time, which is now required since past effective times are rejected by default. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe benchmark validation command now includes the ChangesBenchmark validation
Estimated code review effort: 1 (Trivial) | ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
🤖 Finished Review · ✅ Success · Started 1:09 PM UTC · Completed 1:15 PM UTC Commit: |
|
Looks good to me Labels: PR fixes a broken benchmark (runtime failure due to missing CLI flag) |
Codecov Report✅ All modified and coverable lines are covered by tests.
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
The simple benchmark uses --effective-time with a past date (2024-12-10) but does not pass --allow-past-effective-time, which is now required since past effective times are rejected by default.
What:
Add
--allow-past-effective-timeflag to the simple benchmark's argument list.Why:
The simple benchmark uses
--effective-time2024-12-10T00:00:00Z (a past date) but past effective times are now rejected by default (PR #3424). Without this flag the benchmark fails at runtime with: "effective time … is in the past; use --allow-past-effective-time to override".The stress benchmark already has this flag (added in EC-1818). This brings the simple benchmark in line.
Tickets:
N/A — pre-existing issue surfaced during EC-1819 review.