Repository navigation
perf(tests): evaluate hour-scale promtool tests every hour - #4462
Merged
dan-petty merged 2 commits intoNov 11, 2026
Merged
Conversation
The promtool case of roadmap-service-activity was the slowest test of the suite: 63.8 s on a CI runner and a median of 147 s in local gate logs. Its file evaluated the rules once each minute, but 7 of its 16 test groups run for 150 or 200 hours, so each made 9,000 to 12,000 rounds. The 7 hour-scale test groups move to their own file with evaluation_interval 1h. One rule group can now have more than one file of promtool tests. A test that reads the files checks that the files of each group test every alert of it, and a guard test fails a case of more than 1,000 rounds.
Owner
Author
|
Evidence for this change. Fail-to-pass. The With this branch: promtool 3.15.1, same host, load average 36 to 54 on 16 CPUs:
All three print Found by the measurement of #4405. |
dan-petty
marked this pull request as ready for review
November 11, 2026 03:09
dan-petty
enabled auto-merge (squash)
November 11, 2026 03:09
dan-petty
deleted the
perf/4456-evaluate-hour-scale-promtool-tests-every-hour
branch
November 11, 2026 03:48
dan-petty
pushed a commit
that referenced
this pull request
Nov 11, 2026
🤖 I have created a release *beep* *boop* --- ## [0.111.0](v0.110.0...v0.111.0) (2026-11-11) ### Features * **roadmap:** a decision-point registry with a resolver chain ([#4453](#4453)) ([b73e97a](b73e97a)) * **roadmap:** eval verify stores each case and resumes ([#4451](#4451)) ([7c59565](7c59565)) * **roadmap:** extend a step budget when the run makes progress ([#4464](#4464)) ([c8ed108](c8ed108)) ### Bug Fixes * **ai:** a failed model transport names its phase and its error ([#4460](#4460)) ([54743c4](54743c4)) * **ai:** price the DeepSeek group and its cached input ([#4454](#4454)) ([3b1f6bd](3b1f6bd)) * **roadmap:** stage and refine send no answer count or row ([#4484](#4484)) ([d9c8ee8](d9c8ee8)) * **roadmap:** tool docstrings garble the answer format ([#4486](#4486)) ([2f6114f](2f6114f)) ### Performance Improvements * **roadmap:** parse only the bodies that hold a job record ([#4455](#4455)) ([c653bde](c653bde)) * **tests:** evaluate hour-scale promtool tests every hour ([#4462](#4462)) ([0ac2f76](0ac2f76)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
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.
The promtool case of the group
roadmap-service-activitywas the slowest test of the suite: 63.8 s on a CI runner and a median of 147 s in local gate logs. Its file evaluated the rules once each minute, but 7 of its 16 test groups run for 150 or 200 hours, so each made 9,000 to 12,000 rounds of the group.roadmap_service_activity_hourly_tests.yamlwithevaluation_interval: 1h. The cases do not change.Closes #4456
Change:
openspec/changes/archive/2026-11-11-4456-evaluate-hour-scale-promtool-tests-every/