You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GitHub-hosted latency benchmark has produced pass/fail outcomes on identical source and dependency state. Parent #364 records a 25% observed failure rate and multiple same-SHA push/PR pairs with opposite results.
The current job also applies absolute thresholds on ubuntu-latest while some documented baselines were measured on Apple Silicon macOS. A threshold is not portable merely because both platforms execute the same source.
Before this signal can become required, the project needs a preregistered execution model, platform-bound baselines, an explicit false-positive budget, and an event policy that does not create duplicate or selectively rerun evidence.
Write a reviewed ADR or benchmark protocol choosing one execution model:
a controlled performance runner; or
a statistically defensible hosted multi-run model.
Bind every threshold and evidence budget to an explicit platform/runner envelope.
Define before collecting evidence: sample and independent-run counts, percentile estimator, decision rule, false-positive budget, missing/invalid-report treatment, retention, and first-attempt/no-selective-rerun policy.
Preserve a hard separation: any functional connect/write/read/protocol failure fails that attempt; statistical aggregation may address runner variance but may never vote away a functional failure.
Implement and deterministically test the report evaluator.
Decide event behavior for PRs into dev, pushes to dev, the dev → main promotion PR, and manual evidence collection.
Deduplicate only when source/tree identity and retained evidence are proved. Generic concurrency cancellation is not evidence deduplication.
Collect the preregistered number of independent first-attempt clean reports. Preserve failures; do not rerun until green.
Produce a branch-protection recommendation only after the evidence meets preregistered stability and false-positive criteria.
Out of scope:
automatically changing main or dev branch protection;
merging or promoting dev to main;
weakening native transport/protocol failures;
broadly raising thresholds to hide hosted-runner variance;
deleting failed evidence; and
provisioning a self-hosted runner without explicit owner approval.
Acceptance criteria
A reviewed decision record covers correctness, reliability, security, performance, operability, and cost trade-offs for both candidate models.
Thresholds and baselines are explicitly platform-bound.
False-positive budget and evidence count are preregistered before new qualifying runs.
Repeated qualifying runs collected without reruns or cherry-picking.
Independent recomputation of every final decision from retained raw artifacts.
Focused tests, workflow validation, Ruff/pre-commit where applicable, and check-local.sh --quick.
Security and cost
A persistent self-hosted runner is not a safe default for a public repository. If selected, it requires explicit owner approval and a separate design for trusted-event-only execution, ephemeral isolation, runner groups, least-privilege tokens, network boundaries, patching, log retention, and teardown.
A hosted multi-run design multiplies Actions minutes and artifact storage. The ADR must estimate run frequency, runner count, expected minutes, storage, and retention. Do not assume public-repository or self-hosted execution is cost-free.
If the chosen runner requires credentials, paid capacity, organization administration, or external infrastructure, document that dependency here, park the infrastructure action, and continue independently implementable evaluator/documentation work.
Parent: #364
Depends on:
Problem
The GitHub-hosted latency benchmark has produced pass/fail outcomes on identical source and dependency state. Parent #364 records a 25% observed failure rate and multiple same-SHA push/PR pairs with opposite results.
The current job also applies absolute thresholds on
ubuntu-latestwhile some documented baselines were measured on Apple Silicon macOS. A threshold is not portable merely because both platforms execute the same source.Before this signal can become required, the project needs a preregistered execution model, platform-bound baselines, an explicit false-positive budget, and an event policy that does not create duplicate or selectively rerun evidence.
Primary references, rechecked 2026-07-23:
Scope
dev, pushes todev, thedev→mainpromotion PR, and manual evidence collection.Out of scope:
mainordevbranch protection;devtomain;Acceptance criteria
Targeted tests and evidence
check-local.sh --quick.Security and cost
A persistent self-hosted runner is not a safe default for a public repository. If selected, it requires explicit owner approval and a separate design for trusted-event-only execution, ephemeral isolation, runner groups, least-privilege tokens, network boundaries, patching, log retention, and teardown.
A hosted multi-run design multiplies Actions minutes and artifact storage. The ADR must estimate run frequency, runner count, expected minutes, storage, and retention. Do not assume public-repository or self-hosted execution is cost-free.
If the chosen runner requires credentials, paid capacity, organization administration, or external infrastructure, document that dependency here, park the infrastructure action, and continue independently implementable evaluator/documentation work.
Dependencies and overlap
dev→mainpromotion lane and must not be modified or merged here.docs/decisions/README.md; any ADR index edit must coordinate or rebase rather than overwrite it.