Skip to content

Studio tests: restore stub, titlebar backdrop, and run the autoopt parity fixture with diffusers - #13608

Merged
danielhanchen merged 3 commits into
mainfrom
studio-sampler-scheduler-guard
Oct 13, 2026
Merged

danielhanchen merged 3 commits into
mainfrom
studio-sampler-scheduler-guard

Conversation

@danielhanchen

@danielhanchen danielhanchen commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

#13612 fixed most of what #13569 left red on main. This covers what is still failing, plus running the auto-optimizer parity fixture somewhere it can pass.

image-restore-negative-prompt.test.ts (Frontend CI, Linux and Windows)

The test evaluates restoreSettings from images-page.tsx in a stub scope. #13569 added changeSamplerChoice, samplerOptions, DEFAULT_SAMPLER and AUTOMATIC_SCHEDULE to it, including the dependency array, so it fails with ReferenceError: changeSamplerChoice is not defined. The stub scope now has them.

tests/studio/playwright_titlebar_blur.py (Frontend CI)

#13577 made popup backdrops dim without blurring, the titlebar's ::after backdrop included (the backdrop-filter: blur(2px) lines were removed from index.css). The smoke still expected blur(2px) and fails with 'blur': 'none'. It now expects none; the opacity, pointer-events and z-order checks are unchanged.

Diffusion auto-optimizer parity runs where diffusers is installed

#13612 skips the two fixture comparisons without diffusers, which is right for Backend CI, but then no job runs them. The Studio VAE seam guard job already installs torch, studio.txt and the pinned diffusers, and triggers on every core/inference change, so it now runs test_diffusion_autoopt_parity.py too. Its path filters also include the test and its fixture.

Running it there needed two more host probes pinned. The flux2 fp16 RoPE gate and the Wan fused gate both ask whether Triton imports, and CPU torch installed with pip has no Triton. On that job, 56 flux.2-dev and Wan fp16 cases lost flux2_rope and wan_fused. They are now pinned the same way the snapshot already pins _is_consumer_gpu and install_cuda_graphs.

Verification

Check main This PR
image-restore-negative-prompt.test.ts 1 failed 1 passed
Full frontend unit suite 1 failed 11,990 passed
test_diffusion_autoopt_parity.py, seam guard environment (Python 3.12, CPU torch 2.10, studio.txt, diffusers==0.41.0), Triton not importable 2 failed 3 passed
Same, Triton installed 3 passed 3 passed
Same, Backend CI venv (no diffusers) 1 passed, 2 skipped 1 passed, 2 skipped

…the tests #13569 left red

generate passed pipe.scheduler straight to build_scheduler, so a pipeline
without a scheduler attribute failed every request, even with the default
sampler. Read it with getattr like the status endpoint; build_scheduler
already treats None as offering no samplers.

The negative-prompt restore test evaluates restoreSettings in a stub scope,
which now also needs the sampler names #13569 added.

The auto-optimizer parity fixture records real diffusers classes, so it can
only pass where diffusers is installed. Skip it without diffusers and run
it in the Studio VAE seam guard job, which installs the pinned diffusers.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-13T15:09:21.805074Z 3831bb7 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.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: aca89e42cf

ℹ️ 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".

…ct no titlebar blur

The flux2 fp16 RoPE and Wan fused gates ask whether Triton imports. CPU
torch from pip has no Triton, so the seam guard job lost both patches
that the fixture records; pin them like the other host probes.

#13577 made popup backdrops dim without blurring, the titlebar's included,
so the titlebar smoke now expects no backdrop filter.
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: e38f9b9719

ℹ️ 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 changed the title Studio images: read the scheduler like the status poll does, and fix the tests #13569 left red Studio tests: restore stub, titlebar backdrop, and run the autoopt parity fixture with diffusers Oct 13, 2026
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: 3831bb787d

ℹ️ 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 308669b into main Oct 13, 2026
@danielhanchen
danielhanchen deleted the studio-sampler-scheduler-guard branch October 13, 2026 15:39
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