Skip to content

Repair four checks that went red on main with the decision-model merges - #12954

Merged
danielhanchen merged 1 commit into
mainfrom
ci/decision-merges-repair
Oct 7, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
ci/decision-merges-repair

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

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 at 15f715afd6), and #12893 / #12922 crossed in the same window. Four separate failures, all reproduced on 2402838d79:

Check Failure Introduced by Wrong side
Frontend build: Locale parity he and sv miss 20 keys each, 4 of them required studio.wizard.trainAs* #12876 and the follow-up added keys to en and 11 overlays Product
Source lint / Repo tests: risky loaders 2 new spec_from_file_location sites not in the baseline the llama.cpp follow-up Baseline not updated
Workflow guard suites test_every_tight_elapsed_bound_is_isolated flags test_decision_native_gpu.py:359 the llama.cpp follow-up Neither: needs a reviewed exemption
Frontend unit tests all 9 cases in general-settings-token-sync.test.ts: useShowAudioCppUpdateBanner is not a function #12922 (test) crossed with #12893 (tab) Test

The 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

  • Locale parity: the 20 missing strings in he.ts and sv.ts: the decision API runtime / media labels, the wizard's Train as picker, and the exportDecision block, placed where de.ts has them. Placeholders match en.
  • Risky loaders: both sites are recorded with reasons. native_worker.py:114 loads the vendored Clef reference (unsloth/_vendor/clef/joint_schema_model.py) located via find_spec. unsloth/models/decision_gguf.py:61 loads Studio's standard-library gguf_export_contract.py from a constant path. Neither file name is caller input, the same shape as the existing laya_runtime.py entry.
  • Timing guard: line 359 is assert time.monotonic() < deadline with a 600 s deadline while llama-server loads, inside _bare_llama_server. That is the documented poll-deadline shape, so it goes in BENIGN_TIMING with a one-line reason rather than serialising the file.
  • Token sync test: Studio: update the audio.cpp runtime from the in-app update #12893 made the General tab call useShowAudioCppUpdateBanner, and this test's stub of use-llama-update-pref listed only the llama and whisper names. The stub is now built from the module's own export function names (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 hypothetical useShowFooUpdateBanner to the module and the tab still passes with the derived stub.
  • Full frontend suite: 10924 passed, 0 failed. npm run typecheck clean. lint_backend_python_floor.py OK.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 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-07T14:18:24.015584Z 2d223e6 Manual request
🔒 Security Review ⚠️ Failed 2026-10-07T14:15:52.562816Z 2d223e6 PR opened
ℹ️ 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 2d223e6455

ℹ️ 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 d801c84 into main Oct 7, 2026
@danielhanchen
danielhanchen deleted the ci/decision-merges-repair branch October 7, 2026 14:52
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.
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