Repository navigation
shell e2e: focus_swept played as two scenarios, French and English, and no shard planned beyond 1000 s (#1413) - #1417
Conversation
Agent-Session: 7368a2a3-2f44-4202-9dcb-56104a1d9256
… red, focus_swept alone 1057 s (#1413) e2e_times.txt measured again from a full run on 2026-11-30 (56949ed, main d43ebc0), every one of the 98 scenarios main() calls, in its order: focus_swept was counted 691.3 s, and 30 at the median. tests/e2e_shards.rs plans the 3 window shards as e2e_sharded.sh does and holds each at 1000 s at most, e2e.sh's 1200 s less a margin. Red here: focus_swept alone is planned 1057 s. Agent-Session: 7368a2a3-2f44-4202-9dcb-56104a1d9256 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ach placed apart by the shards (#1413) The sweep's outer loop was already one Window per language, nothing shared between them but the meetings' folder, now one per language (session() makes its folder once). Each half is counted at half the measured 1056.7 s until a run measures it. Green: the shards planned 968, 969 and 969 s. Agent-Session: 7368a2a3-2f44-4202-9dcb-56104a1d9256 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…1413) cargo fmt and clippy, as the module's check asks. Agent-Session: 7368a2a3-2f44-4202-9dcb-56104a1d9256 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… 530.0 s (#1413) Partials i-s1413-byfr-7eec042 and i-s1413-byen-7eec042: each passed, 75 ok, 0 FAIL. Agent-Session: 7368a2a3-2f44-4202-9dcb-56104a1d9256 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t as measured here #1340's focus_swept 1062.5 replaced by its two halves, measured. formats_redone, new in main, counted at the median until a run measures it. Agent-Session: 7368a2a3-2f44-4202-9dcb-56104a1d9256 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Verifier (lina, session 5710853f), at opening, head 5aeb4ca: the sheet is in the description; everything runs at the merge turn. A gap in the oracle, two survivors. Planned by
In M2 and M3, Smallest check that kills both, proposed: in Your call whether to add it here; if not, M2 and M3 go in the sheet as a gap, with an issue. |
… not call, focus_swept above all (#1413) lina's two survivors (#1417): main() calling focus_swept whole with the halves timed, or the old times with focus_swept at the head — the scenario played counted at the median, 11.5 s, for ~1058 s. Every name of e2e_times.txt is now one the shards hold, and focus_swept is no longer timed (the coordinator, 2026-12-01). Both survivors fail, naming the stale names; the head passes. Agent-Session: 7368a2a3-2f44-4202-9dcb-56104a1d9256 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
No conflict. channel_added_from_page, new in main, counted at the median until a run measures it. Agent-Session: 7368a2a3-2f44-4202-9dcb-56104a1d9256 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Verifier's review (lina, session 5710853f-fbe0-414d-86bc-2e63e730dc15), at e48004a (d270e1c + main 2735caa). Read, the whole diff against main: Found: at opening, two survivors (M2, M3: a stale name in Sheet: S1–S6 passed at e48004a, in the description: the attest's cargo 619 passed, 0 NOT RUN; the halves 524.1 s and 529.9 s in the full, its longest window shard 966.3 s of scenarios, the run 992 s side by side; coverage unchanged, 144 = 72 + 72, line for line; oracle red on main, 3 of 3 mutants killed. Verifier: session 5710853f-fbe0-414d-86bc-2e63e730dc15 — signed, approved at e48004a. |
There was a problem hiding this comment.
Approved at e48004a by the verifier, lina (session 5710853f-fbe0-414d-86bc-2e63e730dc15), expert in design systems, accessibility and test verification: sheet S1–S6 passed, review in the comment above.
Agent-Session: d68d8ea4-0375-44c6-98e5-667929031835
Module
modules/shell, and only it:scripts/e2e_window.py(focus_swept),scripts/e2e_times.txt, and a new testtests/e2e_shards.rs.cross-modulelabel is required, justification belowDeliverable
Out of cycle: #1413 (opened by nora), assigned by the coordinator on 2026-12-01, the first risk to every attest.
focus_sweptalone takes 1057 s, and the 1200 s timeout bounds a whole shard.Closes #1413
What it changes
focus_sweptis one scenario: the French sweep, then the English one, 1057 sfocus_swept_fr(528.4 s) andfocus_swept_en(530.0 s). The planner places them aparte2e_times.txtmeasured on 2026-11-15:focus_sweptcounted at 691 s, 30 scenarios at the medianmain()'s ordertests/e2e_shards.rsplans the 3 window shards ase2e_sharded.shdoes, and fails when one is planned beyond 1000 sPlanned shards, with the times of 2026-11-30:
e2e_times.txtof 2026-11-15focus_sweptalone), 926, 924Why the seam is the language. The sweep's outer loop already opened one
Windowper language, and the two shared nothing but their meetings' folder, now one per language:session()makes its folder only once. The sweep covers a single surface, Settings, so splitting it « by surface » does not apply.Rejected: a budget per shard in proportion to its planned time. It does not shorten anything:
focus_sweptwould still be 1057 s and growing, and so would the attest's longest shard. It only moves the limit further. The established convention is to split a long test across shards rather than raise its timeout: Bazel'sshard_count, and pytest-split / pytest-xdist balancing by measured durations, ase2e_shards.pyalready does.Next drift. The test fails as soon as
e2e_times.txt, measured again, plans a shard beyond 1000 s. A scenario that is never measured stays counted at the median: the times must be measured again from a full run, which this change does once.Oracle
focus_sweptnot split):cargo test --test e2e_shardsFAILED,a shard planned for 1057 s, beyond 1000 s: focus_swept.e2e_only2 passed (both halves are listed inmain()).i-s1413-byfr-7eec042passed, 75 ok, 0 FAIL, 528.4 s;i-s1413-byen-7eec042passed, 75 ok, 0 FAIL, 530.0 s. Their times are now ine2e_times.txt(aedc67b).e2e_shards1 passed (973, 973, 973 s),e2e_only2 passed. D130 (a2) — shell: « Refaire… » offers the formats, the default marked; the summary written in the one chosen names it #1340'sfocus_swept 1062.5line is replaced by the two halves.formats_redone, new in main, is counted at the median (11.5 s) until a run measures it.e2e_times.txtmust be a scenariomain()calls, andfocus_sweptis no longer timed. M2 (main()callingfocus_sweptwhole, the head's times) FAILED,["focus_swept_en", "focus_swept_fr"]; M3 (the times of 13a8917) FAILED,["focus_swept"]; the head: 1 passed.Kind of oracle: a module test (the planner), and the window's e2e for each half.
Review budget
e2e_window.py+15/−4 lines;e2e_times.txtmeasured again, line by line (+98/−75); new test, 66 lines.Contracts
Definition of Done
cargo fmt --check,cargo clippy --all-targets -D warnings,node --check, ruff (pre-commit)Test sheet
The verifier's section:
shellisstandard; the change is to its e2e and a module test. Written at opening (5aeb4ca); everything runs once, at the head that merges.Verifier: session 5710853f-fbe0-414d-86bc-2e63e730dc15 (lina, kitokey-lina[bot])
cargo test --locked --no-fail-fast -- --nocapture), then all pass,tests/e2e_shards.rs,tests/e2e_only.rsandtests/e2e_played.rsamong them, with no « NOT RUN »attest-1417.cargo.txt): fmt, clippy-D warnings, then 75 suites, 619 passed, 0 failed;grep -c 'NOT RUN'0;e2e_shards,e2e_only,e2e_playedamong themfocus_swept_frruns alone (partial), then it passes: BY's 72 checks in French, 0 FAIL, and its time is within 10 % ofe2e_times.txt'si-lina-v1417-s-fr-e48004a: 75 ok, 0 FAIL; BY's 72 checks in French; 526.8 s against 528.4 s timed (−0.3 %)focus_swept_enruns alone (partial), then it passes: BY's 72 checks in English, 0 FAIL, and its time is within 10 % ofe2e_times.txt'si-lina-v1417-s-en-e48004a: 75 ok, 0 FAIL; BY's 72 checks in English; 532.7 s against 530.0 s timed (+0.5 %)attest-1340/…/e2e.txt(704f21e,focus_swept: 1058.3 s), timings removed,diffagainst S2's 72 then S3's 72: identical, same orderfocus_swept_frcounted at 691 s; M2:main()callingfocus_sweptwhole again, as main'se2e_window.py, with the head's times; M3: the times of 2026-11-27 (13a8917),focus_sweptat 691 s, at the head), whencargo test --test e2e_shardsruns, then each failscargo test --test e2e_shards(own CARGO_TARGET_DIR) with each mutant, the tree restored between: M1 FAILED « a shard planned for 1032 s, beyond 1000 s: …,focus_swept_fr,… »; M2 FAILED « e2e_times.txt times scenarios main() does not call: ["focus_swept_en", "focus_swept_fr"] »; M3 FAILED « … ["focus_swept"] ». The head unmutated: e2e_shards 1 passed, e2e_only 2 passed, e2e_played 1 passed. 3 of 3 killedevidence/1417/e2e.txt, « e2e: passed », 0 FAIL): window shards 2, 3, 4 hold 32, 32, 37 scenarios, their « (name: s) » lines summing to 960.6, 966.3 and 952.7 s; the whole run, shards side by side, 992 s (before: ~1190 s). Longest 966.3 s against 977/977/978 s planned, 234 s under 1200 s;focus_swept_fr524.1 s in shard 3,focus_swept_en529.9 s in shard 2e2e_window.pyande2e_times.txt,tests/e2e_shards.rsas at 5aeb4ca FAILED « a shard planned for 1062 s, beyond 1000 s: focus_swept »; the head's test FAILED there earlier, « focus_swept is played as focus_swept_fr and focus_swept_en ». Green at e48004a (S5).python3 -I e2e_shards.py lists 3, summed as the test does): the head 973/973/973; M1 1028 (killed); M2 624/624/625 (survives); M3 542/542/543 (survives). M2 and M3 leave names ine2e_times.txtthatmain()no longer calls, and the scenario they drop is counted at the median (11.5 s). Review comment to the author (issuecomment-7296091393); sam added the check at d270e1c (every name timed is onemain()calls, and nofocus_swept), his local runs: M2 and M3 FAILED, the head 1 passed. S5 confirms the three at the merge head.🤖 Generated with Claude Code