Repository navigation
Fix stale groups and deleted runs on the UMAP run page - #370
Merged
byronwall merged 3 commits intoNov 29, 2026
Merged
Conversation
Read the run through an accessor, so a reread reaches every card. Refresh points now rereads the run too, so a deleted run shows as missing. A failed run reread keeps the run on screen. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A run read that failed beside a good points read showed new points with old groups. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
byronwall
marked this pull request as ready for review
November 29, 2026 03:07
The action fails on a deleted run, and the page skipped the reread. It now rereads, and alerts only when the run still exists. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Owner
Author
|
Pre-merge review of #369 and #370 together ( Left open:
🤖 Generated with Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On a UMAP run page, "Regenerate Groups" now updates the group table, and "Refresh points" and "Regenerate Groups" report a run that was deleted elsewhere. All work without a reload. A refresh that partly fails now keeps the whole last result.
Before: The group table kept the old groups. A deleted run showed "0 points" with its old details, or stayed on screen after a "Regenerate Groups" alert.
After: The table shows the new groups. A deleted run shows "This UMAP run could not be loaded."
Cause
The page copied the run's details into a constant that was set once, so rereads did not reach the cards. "Refresh points" reread only the points, not the run. A failed "Regenerate Groups" reread nothing.
Proof
The plot has one point in both. Only the new code shows 1 note in the table.
Only the new code shows the missing-run message.
The old code showed an alert and kept the run. The new code shows the missing-run message with no alert. A failure on a run that still exists keeps the alert.
tests/e2e/umap-run-refresh.spec.tsonpnpm devwith an isolated audit database:pnpm lintexits 0,pnpm type-checkpasses, andpnpm testgives 925 passed, 86 skipped (database tests).Codex review round 1 on the first commit passed (no P0 or P1 in scope, two P2, one pre-existing). The second commit fixes the partial-refresh P2 and adds its test. The third fixes the pre-existing finding. No second round ran.
Limits
Open findings
Stack: UMAP run page rereads, layer 2 of 2
This slice: The cards and the run itself follow each reread.
Why it is its own layer: #369 was already open for review, and these two faults predate it.
Full story: #369
🤖 Generated with Claude Code