Skip to content
Cockpit0.29.0
A snapshot: read at commit 707a04c7ce8 on 2026-10-18T00:06:01Z by majordomus 0.29.0. Nothing on this page is read again. See it live

I2068

A verdict that depends on the runner says so, and one cold sample is not a regression

Where it stands

devtask.issue
Readiness
review implementation is declared finished and completion is not recorded
Status
VERIFY
Can start
not now
Milestone
Milestone status
ACTIVE
Wave
0
Waiting on
none
Holds back
none
Behind it in all
0
Evidence
2 of 2
A move writes the repository: it stamps one field of this issue's record and appends one event to the ledger, and a commit will carry both.
The same moves from a terminal

majordomus plan start I2068

majordomus plan verify I2068

majordomus plan done I2068

What it is

Objective
Make the timing verdicts this repository's CI and its adopters' hooks hand down distinguish a slower change from a slower machine: a benchmark regression is judged from more than one cold sample and against the load it was measured under, and a case whose cost sits within a few percent of its kill bound is reported as a budget risk before it fails a suite whose every case passed.
Why
On 2026-10-08 three verdicts failed changes that ran none of the measured code: test/cases/82_bench_check.sh failed #823 on `version cold — regression: p50 9 -> 23 ms` from one sample on a saturated runner; test/cases/95_executable_reference.sh cost 3465 s against a 3450 s budget on a slow runner and failed batch 3's suite aggregate although every case passed (rerun once, green); and prismatic-platform's pre-push page-load check reported violations at load ~30 that passed alone and on retry. Each was rerun by hand, and each rerun costs a real run fifteen jobs on a shared pool.
Now
82_bench_check compares one cold sample with a committed macOS baseline at a fixed percentage threshold and records no load; the suite aggregate refuses a case over its per-case budget with no margin warning beforehand (the budget is held below the 3600 s kill bound by case 417); nothing in a timing verdict names the runner, its load or the number of samples.
Wanted
A timing failure states the samples it rests on, the runner and its load; a single cold sample over threshold is reported as a warning to re-measure, and a regression needs the repeat to agree; a case whose recorded cost is within 5% of its budget is reported by the suite before the run that crosses it; the 3600 s kill bound and case 417's guarantee are unchanged, and no threshold is loosened.
Done when
unknown: the record declares no `completion`
Risk
unknown: the record declares no `risk`

Acceptance

  • A bench check with one cold sample over threshold reports a warning naming the sample count and does not fail; two agreeing samples over threshold fail as today
  • Every timing finding names the runner, the sample count and the load average it was measured under
  • The suite reports a case whose recorded cost is within 5% of the per-case budget, by name, before any run exceeds it
  • Case 417 and the kill bound are unchanged, and no regression threshold is raised
Validation
bash test/run.sh 82_bench_checkbash test/run.sh 417_the_suite_finishes_inside_its_bound
Evidence required
a_single_cold_sample_is_a_warning_and_two_are_a_verdicta_case_near_its_budget_is_named_before_it_fails
Evidence present
a_single_cold_sample_is_a_warning_and_two_are_a_verdicta_case_near_its_budget_is_named_before_it_fails

Scope

Touches
test/cases/82_bench_check.shtest/cases/95_executable_reference.shtest/cases/417_the_suite_finishes_inside_its_bound.shscripts/ci/suite-budgetapps/majordomus-cli/src/bench
Not
unknown: the record declares no `non_scope`
Depends on
unknown: the record declares no `depends_on`
Priority
p2
Profile
implementation
Parallel safe
true
Owner
unknown: the record declares no `owner`

The work so far

Branches
none
Merged
none
Commits
0
Trunk
master
Sessions
none
Created
2026-10-09
Updated
2026-10-16T07:54:22Z
Started
2026-10-16T07:54:07Z
Verified
2026-10-16T07:54:13Z
Completed
unknown: the record declares no `completed_at`

Synchronisation

Adapter
scripts/github-sync
Repository
unknown: the derived plan's header carries no repository
External issue
unknown: a live GitHub state; this executable makes no network call, so only `scripts/github-sync --check` can answer it
State there
unknown: a live GitHub state; this executable makes no network call, so only `scripts/github-sync --check` can answer it

Findings

Nothing is wrong with these records.