Skip to content

PR #12803 staging CI - #240

Closed
Etherll wants to merge 12 commits into
mainfrom
pr-12803-ci
Closed

Etherll wants to merge 12 commits into
mainfrom
pr-12803-ci

Conversation

@Etherll

@Etherll Etherll commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Staging-only CI validation for unslothai#12803.

This PR exists only to run fork GitHub Actions checks and should be closed after validation.

VTplus and others added 12 commits October 6, 2026 03:07
…as no weights

A download that never completes leaves a weightless refs/snapshot skeleton in the active cache - from a repo-id load that resolved remotely, a pinned variant the parked copy does not carry, or an abort mid-flight.

The skeleton scans as complete, so the catalog dedupe collapsed the parked scan-folder copy into it and the servability stage dropped the row: the model vanished from /v1/models and /models/local although a loadable copy existed. Key the parked copy by its own path so it is listed again whatever left the skeleton behind.
…talog

# Conflicts:
#	studio/backend/routes/models.py
…tudio-scan-folder-catalog

# Conflicts:
#	studio/backend/routes/models.py
…s new ComfyUI scan helper

Upstream inserted _with_comfy_compat_rows right where this branch defines _merge_scan_folder_row; the merge keeps both. Resolves the routes/models.py conflict; catalog suites re-run green (231/5/35 passed).
…g - sync branch with upstream before re-cutting the patch

No changes to the three patch files (empty ^1 diff); pure upstream sync ahead of the patch re-cut.
…dress the branch review before re-cutting the patch

Pin omlx_model_dirs like Ollama/Hermes, or a machine with oMLX adds roots and rows the exact-equality assertions fail on. The new test pins the known limit: a parked copy whose newest snapshot holds no quant is listed in the picker but not in /v1/models, until the resolver keys on the layout, not the source.
A cache-layout copy parked in a scan folder now lists as a custom row. Two
consumers still keyed on the old hf_cache label:

- local_model_resolver skipped the newest-complete-snapshot selection for it,
  so /v1/models advertised a split quant that was missing a shard, or dropped
  a parked copy whose newest snapshot held no quant. Apply that selection to
  custom rows with a cache layout too.
- the relabel cleared model_id on every parked row, so a parked-only image
  model no longer resolved by repo id in the media index. Clear it only when
  another row already answers to that repo id; the first parked copy keeps it.
The previous commit applied the newest-complete-snapshot selection to every
custom row under a models--*/snapshots layout. A scan folder registered at a
models--* repo dir lists each snapshot as its own row, so an older snapshot
then advertised the newer snapshot's quant and a pin on it missed. Redirect a
custom row only when it is the snapshot the cache scan itself names (the
relabeled parked copy); every other snapshot row keeps its exact directory.
@chatgpt-codex-connector

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-11T06:38:08.154065Z aeddd7c 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.

@danielhanchen
danielhanchen deleted the pr-12803-ci branch October 18, 2026 08:33
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.

3 participants