Repository navigation
Repair four checks that went red on main with the decision-model merges - #12954
Merged
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. Can't wait for the next one! 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
added a commit
that referenced
this pull request
Oct 7, 2026
…yUI merges (#12958) Each of these PRs was green on its own; the repo-wide guards they now trip landed or tightened alongside them. The risky-loader baseline and the parallel-isolation entry for the same merges are in #12954. - test_source_read_encoding: pass encoding="utf-8" in test_decision_gguf_real.py (#12939) and test_comfy_file_detection.py (#12878). - test_every_long_lived_spawner_consults_the_shutdown_latch: native_worker.py (#12939) gates before the spawn and rereads the latch in _wait_ready after adopt_pid, so it belongs in the guarded set. Add a test that pins the race it closes: a latch set during the spawn kills the new server and removes its key file. - test_export_owner_single_mode_preserves_operation_and_status_bytes: #12939 added the optional decision field to the export status response, null for any other model. The byte-for-byte expectation from #10588 now includes it.
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.
Lint CI, Frontend CI and Workflow trigger lint have been red on main since the decision-model merges this morning (#12876 at
4451666e09, the llama.cpp serving follow-up at15f715afd6), and #12893 / #12922 crossed in the same window. Four separate failures, all reproduced on2402838d79:heandsvmiss 20 keys each, 4 of them requiredstudio.wizard.trainAs*enand 11 overlaysspec_from_file_locationsites not in the baselinetest_every_tight_elapsed_bound_is_isolatedflagstest_decision_native_gpu.py:359general-settings-token-sync.test.ts:useShowAudioCppUpdateBanner is not a functionThe Linux frontend job stopped at Locale parity before its unit tests, which is why the token-sync failures only showed on the Windows leg. They fail on Linux too.
Fixes
he.tsandsv.ts: the decision API runtime / media labels, the wizard's Train as picker, and theexportDecisionblock, placed wherede.tshas them. Placeholders matchen.native_worker.py:114loads the vendored Clef reference (unsloth/_vendor/clef/joint_schema_model.py) located viafind_spec.unsloth/models/decision_gguf.py:61loads Studio's standard-librarygguf_export_contract.pyfrom a constant path. Neither file name is caller input, the same shape as the existinglaya_runtime.pyentry.assert time.monotonic() < deadlinewith a 600 s deadline while llama-server loads, inside_bare_llama_server. That is the documented poll-deadline shape, so it goes inBENIGN_TIMINGwith a one-line reason rather than serialising the file.useShowAudioCppUpdateBanner, and this test's stub ofuse-llama-update-preflisted only the llama and whisper names. The stub is now built from the module's ownexport functionnames (setters are no-ops, readers return false), so the next banner does not break it again.Verification
npm run i18n:check:strict: fails on main, passes here.python scripts/lint_risky_loaders.py: 2 new sites on main, "97 call sites, all recorded" here.tests/security/test_lint_risky_loaders.py: 46 passed.tests/studio/test_backend_ci_parallel_isolation.py: 1 failed on main, 41 passed here.tests/general-settings-token-sync.test.ts: 0/9 on main, 9/9 here. Adding a hypotheticaluseShowFooUpdateBannerto the module and the tab still passes with the derived stub.npm run typecheckclean.lint_backend_python_floor.pyOK.