Skip to content

time ratchet: baseline lowered to the committed durations; evidence-test survey (Part of #5156) - #6937

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5156-20261028T1940Z
Oct 28, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5156-20261028T1940Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Checklist: partial [c:260e749a] -- no evidence test is left at 40-240 s, so the item reduces to keeping the ratchet honest; the one remaining >40 s test (test_det_port_check mortgage-cmort, 44.5 s, baselined) is a translate-and-compile cost not trimmed here.

What

.test_durations (2026-10-22) shows no unmarked/unbaselined test over 15 s and no evidence test over 9 s (apart from the ignored partition test, already cut by #6933). The stale part was tests/test_time_baseline.json: entries at 56-67 s now measure 10-45 s. time_ratchet.py update --times .test_durations (lower-only) takes it from 29 entries to 16 and suite_budget_s 3415 -> 2758.3. Survey added to docs/ci_experiments_log.md. No test, proof or workflow changed; time_ratchet.py check: 23560 checked, 0 over, 12 warned; test_time_ratchet.py 26 passed.

Class / Sibling gaps

Class: per-test cost drifting away from the ratchet that guards it. Members checked: evidence tests (max 8.8 s except the ignored partition test), det_nondigit_zoned (497 tests, max 6.2 s), assess / clean-install / refraction tests (all slow-marked or baselined). Sibling gaps: test_det_port_check::test_a_cases_subprograms_are_translated_with_it_4803 44.5 s (needs a cheaper fixture, different mechanism); test_cics_runtimes.py 159 s total over many tests (not evidence); 12 tests warn at 10-13 s.
Risk: dropped entries (e.g. test_galaxyscope 56-66 s) rely on the durations being CI-calibrated; if CI shows one over 15 s, re-add it by hand-free update after a measured run.

Remaining slices: none identified for evidence tests.

Cross-repo

None.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 28, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 28, 2026 19:43
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 28, 2026 19:51
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #6937 @ 5ca82ad: 1 failed check(s)

== shepherd (label event) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40756820371/job/123057844300
repro: python tests/tools/pr_gates.py --fast
errors:
fail-on-cache-miss: false
##[error]Process completed with exit code 1.
log tail:
Cache restored successfully
Cache restored from key: flake-history-40692939546
##[warning]Input 'app-id' has been deprecated with message: Use 'client-id' instead.
##[group]Run actions/create-github-app-token@bcd2ba4
with:
app-id: ***
private-key: ***
skip-token-revoke: false
github-api-url: https://api.github.com
##[endgroup]
Inputs 'owner' and 'repositories' are not set. Creating token for this repository (squid-protocol/gitgalaxy).
##[group]Run python3 tests/tools/shepherd_gh.py event --event-path "$GITHUB_EVENT_PATH" --flake-cache flake-cache/flake_history.json
python3 tests/tools/shepherd_gh.py event --event-path "$GITHUB_EVENT_PATH" --flake-cache flake-cache/flake_history.json
shell: /usr/bin/bash -e {0}
env:
GH_TOKEN: ***
SHEPHERD_TRUSTED_BOTS: squid-shepherd[bot],squid-protocol
##[endgroup]
#6937 approval marker for 5ca82ad: ok
#6937 ci-gate pending: waiting on: det, ground-truth part 1/2, ground-truth part 2/2, plan the suite parts: FAILED: gh: Resource not accessible by integration (HTTP 403)
##[error]Process completed with exit code 1.
##[warning]Input 'app-id' has been deprecated with message: Use 'client-id' instead.
Post job cleanup.
Token revoked
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/22a921dd-68c3-4a69-8b60-945b13f8dbb3' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-shepherd squid-shepherd Bot added shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Oct 28, 2026
@squid-shepherd
squid-shepherd Bot merged commit 2434ee5 into main Oct 28, 2026
59 of 64 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/5156-20261028T1940Z branch October 28, 2026 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant