Skip to content

Studio: report the GPUs the OS sees, not just the ones PyTorch opened - #9858

Merged
danielhanchen merged 81 commits into
mainfrom
studio-gpu-detection-and-repair
Sep 1, 2026
Merged

danielhanchen merged 81 commits into
mainfrom
studio-gpu-detection-and-repair

Conversation

@danielhanchen

@danielhanchen danielhanchen commented Aug 27, 2026 •

Copy link
Copy Markdown
Member

What happens

On a Windows box with 2x RTX A4000 (driver 553.09, CUDA 12.4), Studio's Settings > System showed:

VRAM  --
No visible GPU
CPU

GPU devices
No visible GPU detected. CPU-only resources are shown above.

while nvidia-smi listed both cards and Device Manager reported them working properly. The sidebar told the user their machine "needs an NVIDIA or AMD GPU". A second user on a different machine reported the same shape.

The managed venv had torch 2.11.0+cpu.

Why

Every GPU field starts from get_device(), which is torch-only. Once torch.cuda.is_available() returns False:

  • _detect_hardware_locked (hardware.py:614 -> :648) sets DEVICE = CPU and CHAT_ONLY_REASON = "no_gpu"
  • get_backend_visible_gpu_info() (hardware.py:4621) short-circuits on its DeviceType gate at :4624 and returns {available: False, devices: []}
  • get_visible_gpu_utilization() (hardware.py:3486) short-circuits the same way at :3489

So nvidia.py:239, which shells nvidia-smi --query-gpu=index,name,memory.total and would have listed both A4000s correctly, is never reached. "no_gpu" is not a measurement here; it is what the code says when it did not look.

This is the Windows/NVIDIA shape of #8473, reported there on AMD/Linux with the same conclusion ("the only branch that can populate devices is torch.cuda"). Related: #7485, #7307.

The (none) device list is the same root cause one layer down. llama_cpp.py:9824 _windows_pip_nvidia_dll_dirs supplies cudart64_*.dll / cublas64_*.dll to the CUDA-built llama-server from the managed venv's torch/lib and nvidia/* wheels. A +cpu venv ships neither, so ggml cannot load its CUDA backend and llama-server.exe --list-devices prints Available devices: (none) while UNSLOTH_PREBUILT_INFO.json still correctly says backend cuda.

What this PR does

Ask the OS as well as PyTorch.

  • get_physical_gpu_inventory() probes nvidia-smi, and on Windows the DirectX adapter registry that _rocm_windows_per_device_vram already trusts for the System tab. It runs regardless of DEVICE, is bounded, never raises, and is cached with a TTL rather than for the process, because a driver restart or an eGPU makes the answer change.
  • classify_torch_build() separates two cases that need different advice:
    • torch_cpu_build - a CPU-only wheel (2.11.0+cpu, or untagged with neither torch.version.cuda nor .hip). No driver update fixes this.
    • torch_cuda_unavailable - an accelerator wheel whose runtime will not initialise. The wheel is right, the environment is not.
  • The CPU fallback in _detect_hardware_locked now reports one of those instead of "no_gpu" when the host does have GPUs, and carries the torch version as the detail.

An emptied CUDA_VISIBLE_DEVICES / HIP_VISIBLE_DEVICES / ROCR_VISIBLE_DEVICES / ZE_AFFINITY_MASK produces exactly the same observable shape (torch sees nothing, nvidia-smi sees everything) but nothing is broken, so it is excluded and still reads as a deliberate hide. A mask that names devices is not excluded: that host expects those to work.

That exclusion is per vendor, not host-wide. An emptied ZE_AFFINITY_MASK beside an unmasked NVIDIA card hides the Arc and nothing else, so a CPU wheel on that host is still worth reporting; cancelling the whole classification would let it go unreported for a card the user never masked. HIP also honours CUDA_VISIBLE_DEVICES, but reads its own variables first, so an AMD host that NAMES devices in HIP_VISIBLE_DEVICES while inheriting an empty CUDA_VISIBLE_DEVICES has not hidden its cards.

The inventory is display-only. physical_devices and mismatch sit beside devices in the payload and are never merged into it. devices is the runtime-usable list that the model-fit estimate budgets against and that the training device picker pins from, so a card torch cannot open must never become selectable. toGpuDevices / toGpuInfo are untouched.

A diagnostic for the llama.cpp half. When the CUDA prebuilt is installed but no cudart64_*.dll is on its DLL search path, that is now logged once per binary. It changes nothing about the launch: the process still starts and still falls back to CPU, and a custom build with the DLLs elsewhere is not second-guessed.

The repair the banner points at. Both users were fixed by rerunning the installer, and one asked for a button in Settings. start_managed_repair gains force_installer, which skips the update attempt, because an update reuses the environment it finds: a venv on a CPU-only wheel survives any number of successful updates, and only the installer re-selects the torch index. Settings > General grows a "Repair installation" row beside the existing reset row, wired through a small context to the same startRepair the startup screen uses, so it renders the same repairing screen and restarts the backend afterwards. Desktop-only; the row renders nothing on the web build.

Testing

Suite Result
studio/backend/tests/test_torch_cpu_build_on_nvidia_host.py (new) 110 passed
tests/studio/install/test_cuda_repair.py 192 passed
tests/studio/install/test_windows_torch_flavor_invariant.py 36 passed
the whole changed test set 3238 passed, 3 skipped
the same set on Python 3.10 and 3.12 3215 passed, 4 skipped each
npm test (frontend) 5988 passed, 0 failed
npm run typecheck clean
npm run i18n:check:strict all 12 locale overlays pass parity
cargo check (studio/src-tauri) clean

No regression, measured rather than asserted. The full backend suite was run on this branch and at its merge base:

BASE  43 failed, 37173 passed, 212 skipped, 15 errors
HEAD  43 failed, 37283 passed, 212 skipped, 15 errors

The set difference of failing node IDs is empty in both directions. The 110 extra passes are the tests this PR adds. The 43 pre-existing failures are unrelated; the largest cluster, 16 in test_studio_api.py, is a terminal-width artifact and passes at COLUMNS=200.

Live no-regression on a real CUDA host. On this machine, with real torch and real cards and nothing stubbed: DeviceType.CUDA, chat_only false, mismatch absent, physical_devices absent, classify_torch_build() None. The physical probe enumerated all 8 cards and did not leak one into devices, which correctly showed only the visible device. That is the pre-PR payload exactly.

Before and after, on the reported host. The same simulated machine (Windows, two A4000s that nvidia-smi lists, 2.11.0+cpu venv) driven against both trees:

before after
chat-only reason no_gpu torch_cpu_build
physical devices reported 0 2
mismatch block absent reason, torch version, count, source
runtime devices 0 0

Cross-platform, on real runners. Replicated onto a staging repo: all 28 workflows green, including Windows Unsloth UI / API / Update / GGUF / Application Control, Mac Unsloth Install Matrix, Mac UI + API + Update + Inference, MLX CI on Mac M1, Desktop app clean machine, Unsloth Tauri CI, Frontend CI, studiobench CI and UI parity. A generated Playwright job passed on chromium, firefox and webkit.

Matrix coverage. [Windows, Linux, WSL, Mac] x [NVIDIA, AMD, CPU-only], stubbed at the vendor-probe seam so the per-OS branching really runs on each row: the inventory, the classification, the mismatch report and the payload contract are each asserted on all twelve. WSL is its own row, since it is platform.system() == "Linux" with a working nvidia-smi, no /sys/class/drm/card* and no procfs. Also: every probe raising at once still answers unknown on all twelve rows, and sixteen threads hammering both TTL caches in both lock orders finish without deadlock or thread leak.

Old installs. Every manifest generation was replayed against a real venv: absent, pre-#9857, #9857-era (a flavor with no provenance), and both gen-2 shapes, plus truncated, non-JSON, wrong-typed, keys-from-the-future and permission-denied. Only an explicitly named CPU choice suppresses the repair, because setup.ps1 records an automatic /cpu selection identically to a pinned one.

Not done here

The root cause of the CPU-only wheel is the update path, which is #9857. This PR is the reporting half: it makes the failure legible and offers the repair, and it is useful on its own for any host where torch and the hardware disagree, including the AMD/Linux shape in #8473.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

1 similar comment
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 93712a48d8

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

Comment on lines +2937 to +2938
if _RECORDED_TORCH_TAG:
return _RECORDED_TORCH_TAG

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Let an unknown explicit index override the stale manifest

When an existing installation recorded cu128 and the user later pins a custom index whose leaf is not a recognized flavor (for example an authenticated corporate /simple mirror), setup.ps1 deliberately publishes no expected tag, but this branch immediately revives the old manifest value. A custom or untagged wheel installed from the explicit mirror is then treated as a cu128 mismatch, and _expected_torch_index_url rejects the /simple URL and falls back to the public PyTorch cu128 index, overriding the user's explicit package source. An explicit unknown-family pin should suppress the recorded-family invariant rather than inheriting stale metadata.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is already handled, and the review was reading a stale snapshot of the file.

This branch is stacked on #9857, and it was based on that PR's first commit rather than its head. The unknown-family pin case was fixed there in an earlier round: _ensure_expected_torch_flavor consults _explicit_unknown_family_torch_index_url and returns without acting whenever an explicit pin's leaf names no family it can compare against, so the recorded flavor is never revived behind a /simple mirror and _expected_torch_index_url is never reached. tests/studio/install/test_cuda_repair.py covers it.

Since then the resolution order changed again in 0523acc so that a readable pin outranks the manifest outright. I have rebased this branch onto the current #9857 head, so the diff here now carries both.

@danielhanchen
danielhanchen force-pushed the studio-gpu-detection-and-repair branch from 93712a4 to f6ce951 Compare August 27, 2026 13:20
chatgpt-codex-connector[bot]

This comment was marked as resolved.

chatgpt-codex-connector[bot]

This comment was marked as resolved.

@oobabooga

Copy link
Copy Markdown
Member

I found two remaining compatibility paths at 604ff1a4a1:

  • On Windows ARM64, setup.ps1 omits torchaudio because no win_arm64 wheel is available (studio/setup.ps1, lines 5182-5191). When _ensure_expected_torch_flavor repairs a mismatched cu* or xpu build, it still passes torch, torchvision, and torchaudio unconditionally (studio/install_python_stack.py, lines 3131-3152). The repair therefore requests a package that the normal ARM64 installation explicitly excludes and can fail instead of restoring the expected Torch flavor. A CPU expectation exits before this package installation, so the issue is limited to GPU-flavor repairs.
  • On Linux AMD hosts, install.sh intentionally selects CPU PyTorch for several supported fallback conditions, including an unsupported GPU architecture, an unsupported or unreadable ROCm version, missing ROCm userspace, and non-x86_64 hosts (install.sh, lines 3803-3812, 3825-3847, 3863-3873, and 3897-3918). The new sysfs inventory reports every bound AMD display card without architecture or runtime-support information (studio/backend/utils/hardware/hardware.py, lines 406-475). The mismatch classifier suppresses a CPU build only when a CPU pin or expected_torch_tag: cpu exists (hardware.py, lines 539-596), but the installer resolves and records a new flavor tag only on Windows; non-Windows paths carry a previous tag forward or leave it absent (studio/install_python_stack.py, lines 5933-5955 and 5986-5989). In these Linux fallback cases, the CPU build is reported as a mismatch, and Repair reruns the installer into the same CPU fallback without clearing the warning.

Focused simulations reproduced the Linux AMD CPU-build verdict without an expected flavor tag and confirmed that the ARM64 repair package list still includes torchaudio. The intended Windows NVIDIA mismatch path and the surrounding automated suites passed.

@danielhanchen
danielhanchen force-pushed the studio-gpu-detection-and-repair branch from 604ff1a to 8ace3d4 Compare August 27, 2026 14:35
chatgpt-codex-connector[bot]

This comment was marked as resolved.

@Imagineer99

Imagineer99 commented Aug 27, 2026 •

Copy link
Copy Markdown
Member

The earlier edge cases pass my focused repros on head c14b99fb1: non-Windows flavor recording, authenticated CPU index parsing, refreshed chat-only GPU verdicts, and strict repaired-family verification. The focused backend suite is green here (57 tests).

Real-hardware check also passed with an RTX 5070 Ti under WSL: with 2.10.0+cpu, runtime-selectable devices stayed empty, while physical_devices reported the real GPU and mismatch.reason was torch_cpu_build. The disposable environment was then restored to cu130; nothing was installed globally or into the existing Studio environment.

@danielhanchen

Copy link
Copy Markdown
Member Author

Same note as on #9857 about the one red check, since it is not from this PR either.

workflow-trigger lint fails on test_every_playwright_driver_is_invoked_by_ci, reporting playwright_tool_activity.py as a Playwright suite no workflow or CI script names. That file arrived with #9803 and its driver was never wired into a workflow, so main is currently failing the same check (5409ea3), as are the staging replications of both PRs.

Not folding an unrelated fix into this branch. It wants either a CI step that runs the suite or a NOT_IN_CI entry with the reason, and whoever added the suite is better placed to say which.

Everything else on this PR is green so far, with the rest still running.

chatgpt-codex-connector[bot]

This comment was marked as resolved.

@danielhanchen
danielhanchen force-pushed the studio-gpu-detection-and-repair branch from c14b99f to 5b64212 Compare August 27, 2026 15:21
@unslothai unslothai deleted a comment from chatgpt-codex-connector Bot Aug 27, 2026
@unslothai unslothai deleted a comment from chatgpt-codex-connector Bot Aug 27, 2026
@unslothai unslothai deleted a comment from chatgpt-codex-connector Bot Aug 27, 2026
@unslothai unslothai deleted a comment from chatgpt-codex-connector Bot Aug 27, 2026
@unslothai unslothai deleted a comment from chatgpt-codex-connector Bot Aug 27, 2026
@unslothai unslothai deleted a comment from chatgpt-codex-connector Bot Aug 27, 2026
@unslothai unslothai deleted a comment from chatgpt-codex-connector Bot Aug 27, 2026
@unslothai unslothai deleted a comment from chatgpt-codex-connector Bot Aug 27, 2026
@unslothai unslothai deleted a comment from chatgpt-codex-connector Bot Aug 27, 2026
@unslothai unslothai deleted a comment from chatgpt-codex-connector Bot Aug 27, 2026
danielhanchen and others added 2 commits August 31, 2026 11:41
_ensure_cpu_torch's own GPU-build predicate now reads torch.version.xpu. An
untagged source, conda or private-index XPU wheel carries its runtime only
there, so the predicate declined to reinstall while _installed_flavor_tag_now,
which does read the marker, went on to report "still xpu" -- the detection had
improved and the repair had not followed it, and the update failed instead of
honouring the CPU pin. The parity test claims equivalence with the marker empty,
which is everything the merge-base predicate could see, and pins the divergence
separately.

The GPU-present-but-unusable message names both recovery routes. Settings only
carries the repair row inside the desktop app and only for a backend it manages:
DesktopRepairControl returns null without a Tauri repair context and null for an
externally started server. A browser-hosted Studio, or a desktop attached to a
server someone started from a terminal, was being sent to a control that is not
on its page.
chatgpt-codex-connector[bot]

This comment was marked as resolved.

danielhanchen and others added 2 commits August 31, 2026 12:18
install.sh marks a resolved backend as derived unless the family the caller
STATED survived the resolution. The case statement overwrites
UNSLOTH_TORCH_BACKEND before the marker is decided, so a caller who said "cuda"
on a host with no visible GPU carried the resolved "cpu" and had it recorded as
a deliberate choice, which denies that host the repair for good if the GPU ever
becomes visible.

_expected_torch_flavor_tag stops at an unknown-family pin rather than falling
through to the manifest. The wheel came from that mirror, so the recorded tag
describes the install the mirror replaced and the CUDA probe would hand back the
mirror's own leaf as a flavor. This also made _recordable_torch_flavor_tag's
guard unreachable: it only fires on an empty resolved, and the stale tag arrived
non-empty. The setup handover still outranks it.

Both manifest readers require an actual boolean for expected_torch_tag_pinned.
bool("false") is True, so a migrated or hand-edited manifest read as a deliberate
pin and suppressed the repair on a host that never chose one.

The sidebar collects the refresh its poll triggers. The backend's caches carry
their own 60 second TTL and the health path reads them non-blocking, so the read
that finds them expired only schedules the refresh; polling on the TTL alone put
the collecting read a whole interval later and left an attached eGPU invisible
for close to two minutes.
@chatgpt-codex-connector

Copy link
Copy Markdown

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

Reviewed commit: a9172058db

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

The block that test evaluates now reaches for window.setTimeout, and CI runs
tsc against tsconfig.test.json, which my local --noEmit on the app tsconfig
never covered.
The predicate is read out of install_python_stack.py and evaluated here, so the
marker it now consults has to be in the namespace it is evaluated in. Empty for
the existing cases, plus one that states it, which is the only way an untagged
XPU wheel is known to be one.
chatgpt-codex-connector[bot]

This comment was marked as resolved.

HIP stops at the first of HIP_VISIBLE_DEVICES, ROCR_VISIBLE_DEVICES and
CUDA_VISIBLE_DEVICES that is set, the precedence _first_visible_amd_gpu_id
already applies. Reading any of them as un-hiding the cards meant
HIP_VISIBLE_DEVICES=-1 beside ROCR_VISIBLE_DEVICES=0 reported a mismatch, and
offered a repair, for a host masked exactly as it asked to be.
chatgpt-codex-connector[bot]

This comment was marked as resolved.

danielhanchen and others added 2 commits August 31, 2026 14:43
…ed CUDA install re-record the venv

Two things a stale answer outlived.

The frozen chat-only verdict held on any unknown inventory, so a broken probe for a
vendor that never had a card kept the mismatch: detach an AMD eGPU that sysfs then
conclusively reports as gone, and a broken nvidia-smi keeps saying the GPU is unusable
for as long as it stays broken. _carry_unanswered_vendors_forward already re-adds the
devices an unanswered vendor had reported, so nothing left to point at means no vendor
that ever named a card is still unread. The verdict now records which vendors
established it and holds only for uncertainty about those. An unknown that names nobody,
which is what a cold cache looks like, stays conservative.

_expected_torch_flavor_tag excluded a resolved cuda backend, so a CPU pin that had been
REMOVED outlived the install that replaced it: install.sh resolves cuda and installs a
CUDA wheel, the old manifest still says cpu, and the healthy venv is re-recorded as
deliberately CPU-only, with the pinned provenance carried forward. A later update that
swaps in a CPU wheel then reads as the install working as asked, and the backend
suppresses the mismatch and its repair. The wheel's own cu tag answers instead, under
the same rule the cpu/rocm/xpu arm already applies: only when the family agrees with
what is actually installed.
chatgpt-codex-connector[bot]

This comment was marked as resolved.

danielhanchen and others added 2 commits August 31, 2026 15:19
The vendor set behind the frozen mismatch was recorded at detection and never after,
so a mismatch that MOVES vendors inside one process -- swap an AMD eGPU for an NVIDIA
one -- left the scope pointing at a card a later refresh had already watched leave.
The refresh that re-establishes a mismatch now re-records who says so.

nvidia-smi answering [N/A] for memory.total dropped the whole row, which took the card
out of the inventory: the Linux procfs fallback does not cover it either, since that
answers for a query that FAILED rather than one that came back short. A host lost its
mismatch and its repair guidance over an unknown capacity. _parse_smi_value already
reads [N/A] as a missing metric, so the row is kept with memory_total_gb None, which
every consumer already handles.

_expected_torch_flavor_was_pinned revived an old CPU record underneath the very arms
that had just refused to call this run's CPU result deliberate. A ROCm pin that settled
on CPU was therefore re-recorded as a pinned CPU install, and the mismatch is suppressed
for good once the requested GPU works. A record now only speaks for a run that named no
conflicting family; a backend install.sh derived is not a preference and still does not
contradict anything.
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: f55c09c346

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

Copy link
Copy Markdown
Member Author

What this looks like on a real host

Settings > System, same machine and same CPU-only wheel on both sides. BEFORE is this PR's merge base d5b153c2f, AFTER is cc6a091b3, each a separate install.sh --local build so the frontend bundle really comes from the tree it is labelled with.

Studio System tab, before and after

The host has eight B200s in it. BEFORE says "No visible GPU" and "No visible GPU detected. CPU-only resources are shown above."

AFTER, the same panel names what actually happened: the VRAM tile reads "GPU unusable / Detected, but PyTorch cannot use it", a banner says "PyTorch is a CPU-only build (2.11.0+cpu), so the GPUs below cannot be used. Repair the installation to restore GPU support.", and the eight cards are listed, greyed, each marked unusable.

How the state was reproduced

Both sides were installed normally, which put 2.11.0+cu130 in each managed venv, and then 2.11.0+cpu was force installed over it. That leaves exactly what the update left those two users: the install manifest still records the CUDA tag the installer chose, nothing is pinned to CPU, and the wheel underneath no longer matches.

Two shortcuts were deliberately not used, because this PR is supposed to stay quiet for both of them: a /cpu index pin, and an emptied CUDA_VISIBLE_DEVICES. Either one would have produced an identical pair for the wrong reason.

Numbers, read from the same servers that were photographed

/api/system/gpu-visibility BEFORE AFTER
physical_device_count 0 8
mismatch.reason null torch_cpu_build
mismatch.torch_version null 2.11.0+cpu
len(devices) (runtime usable) 0 0

The last row is the invariant worth stating: the physical inventory is published beside devices and never merged into it. devices is what model fit budgets against and what the training device picker pins from, so a card PyTorch cannot open must not appear there. It does not; the eight rows are shown greyed and labelled unusable rather than offered.

Not visible here

The Settings > General repair row is Tauri-only, so a browser hosted Studio cannot render it. That is also why the banner names both routes rather than only the in-app button.

The capability message for a host whose PyTorch cannot use its GPUs tells the user to
use Repair installation in Settings, and searching Settings for "repair" answered
"No settings found": the row is in the General tab but was never added to the search
index, which carries its neighbour in the same Danger zone section.

In the desktop-only arm, like the row itself. DesktopRepairControl renders nothing
without a Tauri repair controller, so an entry on the web build would scroll to a row
that is not on the page, which is what the startup and close-to-tray entries already
avoid. Found by driving the real desktop app: searching for the row returned nothing.
@danielhanchen

Copy link
Copy Markdown
Member Author

Settings > General: the Repair installation row

Companion to the System tab evidence above. Both sides are the real desktop app built from this branch, run under Xvfb, scrolled to the foot of Settings > General and cropped to the dialog.

Repair installation row, before and after

BEFORE (merge base): the Danger zone ends at "Reset all local preferences".

AFTER (this branch): it gains "Repair installation - Reruns the installer over the managed environment. Use this if the GPU is not detected or the app will not start." with a destructive "Repair install" button, which calls start_managed_repair with force_installer: true so it goes straight to the installer rather than trying an update first.

Two notes on how the shot was taken, since both are easy to get wrong:

  • The button was never clicked. The desktop deliberately ignores UNSLOTH_STUDIO_HOME, so it always attaches to the real managed root, and clicking would rerun the installer over a live environment. What the row does is covered by the Rust and TypeScript tests in this PR.
  • The row renders only when the app owns its backend. Preflight scans 8888-8908 and attaches to the first healthy Studio it finds, and DesktopRepairControl returns null for an external server, so an app that attached produces a clean looking screenshot with no row in it. Both sides here logged disposition=ManagedReady.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: e3b0bbbaff

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

@chatgpt-codex-connector

Copy link
Copy Markdown

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

Reviewed commit: e3b0bbbaff

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants