Skip to content

Remove deleted models from the open Desktop download history - #3798

Merged
ashhart merged 2 commits into
ashhart:mainfrom
AIflow-Labs:codex/remove-deleted-download-row
Nov 19, 2026
Merged

ashhart merged 2 commits into
ashhart:mainfrom
AIflow-Labs:codex/remove-deleted-download-row

Conversation

@AIFlowML

@AIFlowML AIFlowML commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

What this changes

Deleting an unloaded checkpoint removes it from My models, but the open Models view could still show its old Downloads row as Ready to load. Refresh the existing engine snapshot after the delete succeeds. The browser demo now removes that completed download from its backing snapshot too.

Checks on this head

  • Head commit 961cecb14ad05a1e9a7ac2a9e561dc37a42645e1.
  • Lean checker 221 inherited findings on base and head, zero new. Zig formatting and Git whitespace checks passed.
  • Regression src/components/Models.test.tsx fails at the stale row assertion on clean main and passes on this head. A refused deletion keeps history and skips the refresh. A successful deletion removes its own row and keeps unrelated history. DownloadCentre.test.tsx and pull-service-queue.test.ts also passed.
  • Browser demo on M5 Max Chromium with Playwright reproduced two Ready to load rows after deleting Qwen3.8-27B on clean main. The same steps on this head show only the still-installed Nemotron row.
  • Desktop and mobile npm test passed 860/861 files on the standalone head. The Git commit assertion in sandbox-git-control.test.ts also fails on clean main. All 885 files passed on composed commit c8aebd004405ad88ffa83857e579568f79037e7d. npm run typecheck, npm run build, and npm run verify:mobile passed on this head with Node 22.23.3 and npm 10.9.8.
  • Native host On M5 Max, Zig 0.17.0 reported 7,491 passing tests, 92 skipped, and zero unexpected server golden differences. The full command exited 1 at the macOS memcpy link guard already reproduced on clean main and tracked by macOS native binary links internal memcpy after the device profile reader landed #3760 with ready Restore libSystem memcpy when reading device profiles #3761.
  • CI All 13 applicable upstream checks passed on this head. The two scheduled nightly jobs were skipped.
  • Not run Windows or Linux Desktop hardware, or deleting a real downloaded checkpoint. The Playwright replay uses the browser demo and the engine diagnostic uses temporary fixture data.

Receipt

N/A. This change refreshes the Desktop view after model deletion.

Checklist

  • The title, description, head, and receipts agree.
  • The regression fails on base, passes on this head, and uses bundled fixtures.
  • Source comments and documentation follow the project rules.
  • The diff and commit passed public identity and privacy checks.

Igor Lessio - AIFLOW LABS

@ashhart

ashhart commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Thanks @AIFlowML. Ready to land. The successful-delete refresh clears the stale Downloads row, while refused deletion and unrelated history stay intact. The demo now follows the same completed-download behavior.

  • Synthena

@ashhart
ashhart force-pushed the codex/remove-deleted-download-row branch from 961cecb to df604fa Compare November 19, 2026 00:06
@ashhart
ashhart merged commit 176cb66 into ashhart:main Nov 19, 2026
2 of 16 checks passed
@ashhart

ashhart commented Nov 19, 2026

Copy link
Copy Markdown
Owner

Thank you @AIFlowML. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes.

joshuaswarren pushed a commit to joshuaswarren/TensorFold that referenced this pull request Nov 19, 2026
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.

Desktop Downloads still shows a deleted model as ready to load

2 participants