Skip to content

Fix two checks red on main: evaluated union in a new studio test, unmapped sidebar glass frame flag - #19042

Merged
danielhanchen merged 1 commit into
mainfrom
fix/main-reds-unions-glass-frame
Nov 23, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
fix/main-reds-unions-glass-frame

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Summary

Two checks are red on main itself, so every PR rebased onto it inherits them (Core on all three transformers / TRL legs, Repo tests (CPU, rest), Repo tests (CPU, studio) and Frontend build + bundle sanity). Both reproduce on a clean main checkout.

Failing check Introduced by Which side was wrong Fix
tests/test_python39_compatibility.py::test_studio_evaluated_unions_do_not_grow (36 studio files now evaluate PEP 604 unions on the floor, against 35 recorded) #19032 added studio/backend/tests/test_rag_extract_text_boxes.py The new file. def _tessdata() -> str | None is evaluated at definition time, which fails on the Python floor. The ratchet is right not to grow. from __future__ import annotations, as the ratchet asks.
tests/studio/test_appearance_coverage.py::test_every_appearance_setting_is_measured_or_allowlisted (<html> flag 'data-sidebar-glass-frame' switches on costly CSS ... but no gate mode measures it) #18530 added the data-sidebar-glass-frame flag and its CSS Neither the flag nor the guard: the coverage entry was missing. The flag is set only when the sidebar is pinned under the custom window titlebar (shouldUseCustomWindowTitlebar(): Tauri on Windows / Linux), so the Chromium gate cannot reach it. Map it in ROOT_FLAGS to an allow: reason, the same way tauri and client-windows are handled.

Testing

  • tests/test_python39_compatibility.py, tests/studio/test_appearance_coverage.py, studio/backend/tests/test_rag_extract_text_boxes.py: 18 passed, 1 skipped (both guards failed on main without this change).

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T10:55:01.967634Z 73cd8b8 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Something went wrong. Try again later by commenting “@codex review”.

Unknown error
ℹ️ 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

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: 73cd8b857f

ℹ️ 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 35d48b5 into main Nov 23, 2026
@danielhanchen
danielhanchen deleted the fix/main-reds-unions-glass-frame branch November 23, 2026 10:56
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