Skip to content

Studio: name the Windows update that adds MXC's built-in container - #13798

Merged
danielhanchen merged 5 commits into
mainfrom
studio-mxc-builtin-build-hint
Oct 15, 2026
Merged

danielhanchen merged 5 commits into
mainfrom
studio-mxc-builtin-build-hint

Conversation

@danielhanchen

@danielhanchen danielhanchen commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Follow-up to #13732 for #13656 (comment)

Problem

The Windows sandbox runs in MXC's processcontainer backend (process isolation, not session isolation). It uses Windows' built-in container (BaseContainer) when the OS has it, and otherwise falls back to AppContainer, which needs Unsloth's fallback sandbox and an administrator step after every restart.

Which tier a PC gets depends on its update revision, not just the build. MXC's OS-version support table lists process isolation from these builds:

Windows 11 release First build with the built-in container
24H2 26100.9278
25H2 26200.9278
26H2 26300.9550
26H1 28000.2804

Studio only checked for build 26100 or newer. A 25H2 PC held back by a feature-update policy (as in the issue) silently lands on the fallback, with nothing saying that a Windows update would remove the administrator step.

Change

  • The backend reads the update revision (UBR under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion). When this PC is below the published floor for its release, /api/settings/sandbox reports windows_build (this PC) and builtin_container_build (the first build with it).
  • Settings > Sandbox > Windows sandbox shows one line above the fallback toggle naming both builds, telling the user to install the latest Windows update or use the fallback below. The line is hidden when MXC already runs in the built-in container.
  • Windows 11 only (product_type is a workstation): Windows Server 2025 shares build 26100 but has no BaseContainer, so no update would add it there.
  • This is display only. The live MXC check still decides which tier runs, and nothing is gated on the build. An unreadable registry or an unlisted build (Insider) shows nothing.
  • New strings are translated in all 14 locales (i18n:check:strict passes).

Before / after

The status read is answered with a 25H2 PC held at 26200.6584 (as in the issue). Both sides get the same JSON; only the frontend build differs.

Windows sandbox section: after names this PC's build and the one that adds the built-in container

Tests

  • Backend:
    • windows_builtin_container_update is checked across 25H2 below and at the floor, 24H2, 26H2 and an unlisted build, plus Windows Server, unreadable-registry and non-Windows cases.
    • On Windows a test reads the real registry.
    • The status block carries both fields.
  • Frontend:
    • The API mapping carries both fields.
    • The view shows the line only when this PC is behind and the built-in container is not in use. With the view change reverted, that test fails.

MXC's built-in container (BaseContainer) needs a minimum update revision
per Windows 11 release (26100.9278 / 26200.9278 / 26300.9550 / 28000.2804).
A PC held back by a feature-update policy below it only gets the fallback
sandbox and its administrator step, and nothing said why.

Settings > Sandbox now says which build this PC runs and which one adds the
built-in container. It is display only; the live MXC check still decides.
@danielhanchen danielhanchen self-assigned this Oct 15, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 15, 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-15T05:38:26.169618Z 7834588 Manual request
🔒 Security Review ✅ Completed 2026-10-15T04:47:07.630741Z 3c1deea 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 security review

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: 3c1deea3b6

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

chatgpt-codex-connector[bot]

This comment was marked as resolved.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: c31992e9ad

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

@unslothai unslothai deleted a comment from chatgpt-codex-connector Bot Oct 15, 2026
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

1 similar comment
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

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

Reviewed commit: 80b0e24723

ℹ️ 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 pushed a commit to danielhanchen/unsloth-staging-2 that referenced this pull request Oct 15, 2026
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

1 similar comment
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: 783458899c

ℹ️ 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 2447d83 into main Oct 15, 2026
@danielhanchen
danielhanchen deleted the studio-mxc-builtin-build-hint branch October 15, 2026 06:05
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