Skip to content

Tests: mac tab walk waits for the sidebar to mount before judging a pinned row - #15959

Merged
danielhanchen merged 1 commit into
mainfrom
tests-mac-tabs-wait-for-sidebar
Oct 29, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
tests-mac-tabs-wait-for-sidebar

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Summary

Mac Unsloth UI + API + Update + Inference CI fails now and then in tests/studio/playwright_mac_tab_capabilities.py on PRs that do not touch the sidebar (#15930 at 08:33, #15953 at 11:20 on 2026-10-29; the other runs that day passed):

[mac-tabs] FAIL: Library: nav row library is pinned inline by default but did not render

The run's tab_library.png shows why: the page was still on the app's boot Loading... screen, with no sidebar at all. Each tab is a full page.goto(..., wait_until="domcontentloaded") followed by a fixed 1.5 s wait, and on a slow macOS runner the app had not mounted by then. The Library row was never missing from a rendered sidebar; nothing had rendered yet. So this is the test's timing, not the product.

What changed

  • drive_tabs waits up to 30 s for the sidebar shell (any nav-row-*; every pinned row renders in the same pass) before it judges the tab's row. A shell that never mounts is logged and the pinned-row check still fails.
  • The pinned-row failure now says whether the shell had mounted and lists every row's state, so a future failure tells "app not booted" apart from "row missing".

Verification

  • tests/studio/test_mac_tab_capability_warm_window.py: 53 passed, including two new cases on its FakePage:
    • the sidebar only mounts once the script waits (the boot screen): no failure, every pinned row seen
    • the sidebar mounts without the Library row: still fails, and says shell mounted: True
  • With the wait removed from drive_tabs, both new cases fail; the existing "rows never render", "projects stand-in" and "hidden section" cases keep passing either way.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 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-29T12:33:16.001304Z cb17257 Manual request
ℹ️ 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.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: cb17257607

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danielhanchen
danielhanchen merged commit 37509ce into main Oct 29, 2026
0 of 21 checks passed
@danielhanchen
danielhanchen deleted the tests-mac-tabs-wait-for-sidebar branch October 29, 2026 12:38
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