Skip to content

perf(test): record surface-journey's 141 s median and bound phase 13's close clicks - #11592

Merged
kyle-sexton merged 2 commits into
mainfrom
perf/8757-journey-median
Oct 31, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
perf/8757-journey-median

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Refs: #8757

Summary

#8757 asks for surface-journey.test.sh's median from main's whole-suite runs after #11523, with its budget exception removed once the median is under 150 s and a new cut named if it is 120 s or more. Main's eight whole-suite runs since #11523 merged (41199079392 through 41211887017) printed 137, 139, 140, 141, 141, 141, 142 and 144 s: a 141 s median. That is under 150 s and not under 120 s. The suite's per-phase lines put 34 of 142 s in phase 13, which every other phase takes 2 to 12 s to run.

Fix

  • scripts/suite-seconds.txt: surface-journey.test.sh 164 → 141, with the eight runs cited in the header.
  • scripts/suite-budget-exceptions.txt: the suite's 480 s row is removed (median under 150 s).
  • plugins/planning/surface/tests/ui_journey.js: phase 13's two best-effort #flyClose clicks (.catch(() => {})) now pass {timeout: 2000}. The script sets no default timeout, so a click on a closed flyout waited Playwright's 30 s action default before the catch swallowed it. That matches phase 13's 34 s; this PR's CI run shows whether it was the cause.
  • A planning fragment, bump none (test-only).

Verification

  • TIME: lines read from the eight runs' test-bash job logs over REST; median computed from them.
  • Pre-push check-affected: passed.
  • Left out: a local run of the journey suite. This PR's CI test-bash leg runs it and prints ui_journey.13: … in Ns.

Related

Remaining

🤖 Generated with Claude Code

kyle-sexton and others added 2 commits October 31, 2026 11:05
…s close clicks

Main's eight whole-suite runs after #11523 put surface-journey.test.sh at
a 141 s median (137-144), so its 480 s budget exception comes out. Phase
13 took 34 of 142 s: its two best-effort #flyClose clicks carried no
timeout, so a click on a closed flyout waited Playwright's 30 s default
before the catch. They now give up after 2 s.

Refs: #8757

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Vcupon6E9kRk7hZ4kYbmP2
@kyle-sexton
kyle-sexton marked this pull request as ready for review October 31, 2026 15:31
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-31T15:32:49.926341Z 18ebb23 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 18ebb239a58cefb08f05931bf5da1b87f3ce73bc: 0 finding(s), 0 as inline comments.

No security issues found. I read the full diff and the PR context. I did not run the skip-gate checks that need PR state, because the lane has no GitHub access.

The change touches four files, and none of them is a trusted path or a trust control:

  • plugins/planning/surface/tests/ui_journey.js: two best-effort #flyClose clicks in a test now pass {timeout: 2000}. This is test-only and handles no input, token or secret.
  • scripts/suite-budget-exceptions.txt: removes the 480 s budget exception row for surface-journey.test.sh. This is a test-time budget and gates no merge, token or trust decision.
  • scripts/suite-seconds.txt: updates a timing number and its provenance comment.
  • .changes/planning/perf-8757-journey-median-278a619f.md: a bump: none changelog fragment.

None of the changed files is a plugin manifest, workflow, action, merge hold, kill switch, token request or trusted-actor list. The change widens nothing. The PR context has no embedded instructions aimed at the review lane.

The change spends no paid resources and starts no charge: it only shortens a test timeout.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 18ebb239a58cefb08f05931bf5da1b87f3ce73bc: 0 finding(s), 0 as inline comments.

No findings. I read the full diff (4 files) and the PR context. No closing-issue section exists (the PR says "Refs #8757"), so there are no acceptance criteria to check.

  • ui_journey.js (phase 13): Both #flyClose clicks were already best-effort, with .catch(() => {}). Adding {timeout: 2000} only shortens how long a failed click waits. A click that now misses while the flyout is still opening is swallowed as before. The next step opens the notes panel through page.evaluate, which does not depend on the flyout being closed. The second click is the last action in the phase. I could not run the suite, so whether this was the 34 s cost is unverified. The PR says CI will show it.
  • suite-budget-exceptions.txt: Removing the 480 s row follows the file's own rule ("Remove a row once its suite's median is under 150 s"), and the new 141 s median is under that. grep finds no other reference to surface-journey.test.sh that would orphan the removed row. The file fails the runner on an entry that matches no suite, and this change removes an entry rather than adding one.
  • suite-seconds.txt: The 164 → 141 update and the run IDs in the header are author-claimed. I did not independently check the CI run logs.
  • Changelog fragment: bump: none fits a test-only change.

No trusted-path file is touched. The change has no cost or security hold class.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 31, 2026
Merged via the queue into main with commit c40d2c8 Oct 31, 2026
83 of 95 checks passed
@kyle-sexton
kyle-sexton deleted the perf/8757-journey-median branch October 31, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant