Repository navigation
Repair three checks that went red on main with the 10-06 Studio merges - #12868
Conversation
- Python floor (workflow-trigger lint, Source lint): #8561 imports compression.zstd (3.14) inside a try whose ImportError falls back to zstandard. That except is the guard; mark the import novermin, as the repo does for its other guarded above-floor imports. - Frontend typecheck: #12804 renamed the chat-canvas-network scroll target to browser-html-network on the browser tab, and settings-deep-open-requests.test.ts still used the old name. - ui-font-size-scales-spacing: #12852 added two w-[26px] cells to the browser address bar; scale them with --ui-space-scale like the rest of that bar. - Chat UI permission step: #12855 replaced the Sandbox Low/High switch (menuitemcheckbox) with a Sandbox chip that opens a level picker. The step now reads the chip and picks High from the picker, keeping every assertion about what Low, High and the setup popup do.
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Problem
Three checks are red on main 3a8c92a, each from a different 10-06 merge, and they now show on every new PR (#12864, #12851, #12832, #12839 and others). All three reproduce locally on main. A fourth, the Chat UI sandbox switch, was fixed on main by #12866 while this was open, so this branch now takes #12866's driver.
workflow-trigger lint,Source lint(scripts/lint_backend_python_floor.py)'compression.zstd' module requires !2, 3.14incore/external_import/__init__.pytrywhoseImportErrorfalls back tozstandard, so it is guarded. vermin cannot see that.Frontend build + bundle sanity,Uploads(npm run typecheck)settings-deep-open-requests.test.ts(144,40): error TS2322: ... "chat-canvas-network" is not assignable to type 'SettingsScrollTarget'browser-html-networkand moved to thebrowsertab. The test still used the old name, which only the type checker catches.Frontend unit testsno hand-set length above a hairline skips the scale:features/browser/browser-panel.tsx: w-[26px](x2)--ui-space-scale; these two cells did not.Fix
core/external_import/__init__.py:# noverminon the guardedfrom compression import zstd, with the reason, the same way the repo marks its other guarded above-floor imports.settings-deep-open-requests.test.ts: usebrowser-html-networkon thebrowsertab in both places.browser-panel.tsx:w-[26px]becomesw-[calc(26px*var(--ui-space-scale,1))]in both cells. This is identical at the default UI scale and only differs when the user changes the UI scale.Verification
python3 scripts/lint_backend_python_floor.py: exit 0 (main: 1).npm run typecheck: 0 errors (main: 2).tests/settings-deep-open-requests.test.ts: 16 passed.tests/ui-font-size-scales-spacing.test.ts: 27 passed (main: 1 failed).