Skip to content

Studio: size Files menu names with the UI font token; run the Inductor cache guard unfiltered - #19321

Merged
danielhanchen merged 1 commit into
mainfrom
ci/files-menu-ui-font-token
Nov 24, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
ci/files-menu-ui-font-token

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Problem

Two guards fail on main:

  1. tests/studio/test_ui_font_scale_contract.py::test_no_raw_pixel_text_utilities

    Raw px text utilities ignore the UI font size preference; use the text-ui-* / leading-ui-* tokens in index.css instead: ['features/chat/components/chat-files-menu.tsx: text-[13px]']
    

    From Studio: add a Files menu to chat #19172 (Files menu). The guard is right and the code is wrong here: a fixed text-[13px] does not follow the Settings font size, so file names in the Files menu stay at 13px whatever the user picks.

  2. tests/studio/test_workflow_guards_run_unfiltered.py::test_every_workflow_reading_guard_runs_in_the_unfiltered_job

    these guards read a workflow file but are not run by workflow-trigger-lint, the only job with no paths filter: ['test_zoo_inductor_cache_is_cpu_keyed.py']
    

    From Core zoo: key the Inductor cache on the CPU target that built it #19300, which added that guard for the Core zoo Inductor cache key but did not list it in workflow-trigger-lint.yml. A PR that edits only consolidated-tests-ci.yml would then never collect it.

Fix

  • chat-files-menu.tsx: text-[13px] to text-ui-13 (calc(0.8125rem * var(--ui-font-scale, 1))). At the default scale this is still 13px, so the menu renders exactly as before; at other scales the file names now scale with everything else.
  • workflow-trigger-lint.yml: run tests/studio/test_zoo_inductor_cache_is_cpu_keyed.py in the workflow guard step.

Verification

  • Both guards fail on main (fc1d0fa0b2) and pass with this change; test_zoo_inductor_cache_is_cpu_keyed.py itself still passes.
  • tests/studio in full: 17,035 passed. The only other failure in that run, test_installed_runtime_health_matrix.py::test_a_tree_full_of_unrelated_files_is_still_answered_fast, is a wall-clock check that failed once under -n 8 load and passed 3 of 3 runs on its own.
  • studio/frontend/tests/chat-files.test.ts: 15 passed. Strict i18n parity: clean.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 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-24T18:05:13.704515Z a97f137 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: Didn't find any major issues. Swish!

Reviewed commit: a97f1372b2

ℹ️ 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 8de6802 into main Nov 24, 2026
4 of 47 checks passed
@danielhanchen
danielhanchen deleted the ci/files-menu-ui-font-token branch November 24, 2026 18:07
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