Skip to content

build: regenerate spec weights from this branch's own CI timings - #53600

Merged
MarshallOfSound merged 3 commits into
44-x-yfrom
sam/spec-weights-44-x-y
Sep 6, 2026
Merged

MarshallOfSound merged 3 commits into
44-x-yfrom
sam/spec-weights-44-x-y

Conversation

@MarshallOfSound

@MarshallOfSound MarshallOfSound commented Sep 5, 2026 •

Copy link
Copy Markdown
Member

Follow-up to #53562. The backport shipped with weights measured on main; these are regenerated from this branch's own timings (Build run 33982345219).

The new split put api-app-spec ahead of api-browser-window-spec on the arm64 MAS shard, and BrowserWindow.focus() does not activate the app if focusing an inactive panel then timed out on every attempt there. That test showed a window to make the app active, activated Finder and waited for did-resign-active; after api-app-spec on a MAS build the process can no longer reactivate itself, so there was nothing to resign. The same order on the darwin arm64 shard passes. The second commit makes the test wait for the resign only when the app is active, and then for Finder to be frontmost, which is the state it actually needs. Which api-app-spec test leaves the MAS process in that state is being tracked down separately.

Notes: none

The shard-balancing backport shipped with weights measured on main.
These come from Build run 33982345219 on this branch.
@MarshallOfSound
MarshallOfSound enabled auto-merge (squash) September 5, 2026 22:06
@MarshallOfSound MarshallOfSound self-assigned this Sep 5, 2026
…panel test

"does not activate the app if focusing an inactive panel" showed a window
to make the app active, activated Finder and waited for did-resign-active.
When an earlier spec left the process unable to reactivate itself (seen on
MAS builds once api-app-spec runs first in the shard), there was nothing to
resign and the wait timed out. Wait for the resign only if the app is
active, and then for Finder to be frontmost, which is the state the test
actually needs.
Labels and bounds every wait in the test and logs the app's activation
state at each step, so the arm64 MAS shard's timeout says which step
hangs. Probes whether dock.show() or app.focus({ steal: true }) recovers
the panel's focus. To be replaced by the real fix.
@MarshallOfSound
MarshallOfSound merged commit 3001f2c into 44-x-y Sep 6, 2026
71 checks passed
@MarshallOfSound
MarshallOfSound deleted the sam/spec-weights-44-x-y branch September 6, 2026 10:03
@release-clerk

release-clerk Bot commented Sep 6, 2026

Copy link
Copy Markdown

No Release Notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants