Repository navigation
Tests: echo gguf_filename in the image text encoder Playwright status stub - #14269
Merged
Merged
Conversation
… stub #14232 made Reapply reload the page's last GGUF pick only while it still matches the resident model's repo and gguf_filename (reapplyTarget), else the checkpoint status reports. The stub status in playwright_image_text_encoder.py reported model_kind gguf with no gguf_filename, which the real status() always carries, so Reapply had no target and never sent /api/inference/images/load. The stub now echoes the loaded file, and a GGUF load without one is recorded as an error.
…aising in the route handler
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. 🚀 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". |
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.
Summary
Chat UI Tests (extra)fails on main atc708b1d727(run 39268175533) and on every PR based on it, in theImage text encoder precision regression (Playwright)step:Every later step in that job is skipped (25 steps), so the shard currently checks nothing past this point.
Cause
#14232 (per-load engine choice for GGUF picks) changed what Reapply reloads.
reapplyTargetinfeatures/images/lib/engine-choice.tsuses the page's last pick only while it still matches the resident model: same repo, kind andgguf_filename. Otherwise it falls back to the checkpoint that status reports, which for a GGUF needs agguf_filename.The test's stub
/api/inference/images/statusreportedmodel_kind: "gguf"with nogguf_filename. The realstatus()always carries it (diffusion.py,"gguf_filename": state.gguf_filename). So in the test, Reapply had no target and never sent/api/inference/images/load. The product behaves correctly against the real backend, and the stub had drifted from the contract.Bisected locally against a stubbed build (vite preview of
studio/frontend, same script, same chromium):f5e91f1ca5(before #14232)6ccf0e4e74(#14232)4ea4c758dcChange
Test-only,
tests/studio/playwright_image_text_encoder.py:gguf_filename = loads[-1].get("gguf_filename"), as the backend's status does.gguf_filenameis recorded as a page error, and the script already asserts there are none. It records rather than raises inside the route handler, which would leave the request hanging.Testing
Same local setup, all three variants the workflow runs:
applied: Passed: planned and pinned precision, four explicit modes, fallback reseeding and default omissionPW_COMPLETION_FIRST=1: Passed (same)PW_DECLINE=1: Passed: a declined encoder precision reseeds to Dense (bf16)Not covered here: the 25 steps after this one that the failure skipped on main. This PR's
Chat UI Tests (extra)run is the first chance they run again since #14232, and several need the real Studio backend.