Repository navigation
Tests: the titlebar smoke treats Vite outdated pre-bundle 504 as a reload - #16130
Merged
danielhanchen merged 1 commit intoOct 30, 2026
Merged
Conversation
Member
Author
|
@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. Swish! 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". |
danielhanchen
deleted the
tests-titlebar-smoke-ignores-vite-outdated-dep
branch
October 30, 2026 15:16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Frontend build + bundle sanityfails intermittently at theTitlebar modal blur and window controls (Chromium)step on unrelated PRs (seen on #15994, #16091 and the staging run for #16109). Every time it is the same shape: all modal checks pass, then the finalassert not errorstrips onwith no page error logged. The smoke records every script, stylesheet or font response at 400 or above. When the Vite dev server re-optimizes its dependencies mid-load, it answers in-flight requests for the replaced pre-bundles with
504 Outdated Optimize Depand then reloads the page. That response is Vite's reload signal, not a missing asset, and the page checks after it pass. It depends on runner timing, so it does not reproduce on demand (a cold cache and the CI step order both passed locally).Fix
tests/studio/_playwright_robust.py:is_vite_outdated_dep(response)matches exactly status 504 with the status textOutdated Optimize Dep. Vite's other 504,Optimize Deps Processing Error, is a real failure and still counts.tests/studio/playwright_titlebar_blur.py: the asset response guard skips only that response. A 404, a 500 or a processing-error 504 is still recorded and still fails the smoke.tests/studio/test_vite_outdated_dep.pypins this:and not ...term;Verification
status == 504, two rows fail (the processing-error and gateway-timeout cases).status_text == "Outdated Optimize Dep"for the first response, and the predicate is true only there. It is false forOptimize Deps Processing Error.python3 tests/studio/playwright_titlebar_blur.pypasses with the change.