Repository navigation
Plan 3 W13 WP 13.7: a running session's set-aside pool candidates can be retried from both UIs (#1336) - #1360
Merged
Merged
Conversation
… be retried from both UIs (#1336) WP 12.3 gave a pool's set-aside candidates a RETRY control, but only for a dormant session and only in the classic inspector. A run that set a candidate aside offered nothing until it ended, and the new UI's stage editor had no control at all. Server. progress.py names a pool block's plan group (group_id) whatever the session's status, as a mosaic block's is, so a live state.group.id can be joined to a pool node by id. set_aside on a pool block is still the dormant session's alone. UI. One model, poolSetAsideModel.ts (the hook, the words, the row shape), drawn by two skins: the classic PoolSetAside and the new PoolSetAsideNext, mounted in the #/next stage editor (column and sheet). Dormant: the rows come from the progress answer and a retry clears the stored records. Live: the rows are the run's published group, joined by group id; a press only queues, the rows stay marked "retry queued" until the run stops listing them, and the button locks while every listed candidate is queued. The note of a press says what happens next, so the lock's own sentence is not drawn beside it. A viewer sees the rows and a locked button with the access reason. The engine queues a candidate once: a second live press changes nothing (test_wp13_7_live_pool_retry_twice.py). Found and filed: #1355 (the run publishes set-asides for its active group only). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K7CHb44VFtZLGUDLF4us2p
…lock names its group with or without a record) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K7CHb44VFtZLGUDLF4us2p
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.
Closes #1336.
What was wrong
WP 12.3 gave a pool's set-aside candidates a RETRY control, but only for a dormant session and only in the classic inspector. A run that set a candidate aside offered nothing until it ended, and the new UI's stage editor had no control at all.
What changes
Server.
flows/progress.pynames a pool block's plan group (group_id) whatever the session's status, as a mosaic block's is. That is what lets a livestate.group.idbe joined to a pool node by id, never by name.set_asideon a pool block is still the dormant session's alone.UI. One model,
poolSetAsideModel.ts(the hook, the words, the row shape), drawn by two skins: the classicPoolSetAsideand the newPoolSetAsideNext, mounted in the#/nextstage editor (docked column and phone sheet).The engine queues a candidate once, so a second live press changes nothing (
test_wp13_7_live_pool_retry_twice.py).Tests
#/nextcontrol dormant and live, column and sheet, viewer).group_id, and 403 UI tests across the 33 files that touch the changed modules.Mutants, each from a byte backup and restored byte-identical:
#/nexttests fail ("a running session's set-aside candidate has no row")group_idpublished only beside a record (the old rule)KeyError: 'group_id'#/nextmount line removedReal browser
tools/ui_probe/probe_pool_set_aside_live.pyruns a real simulated night: a round-robin pool of three candidates with a staged centring fault on one, which the engine sets aside after three passes. The control was checked visible, sized and inside the viewport at 1440x900 and 390x844 on both UIs, then pressed once on#/next. The screenshots were opened and looked at.Found, filed separately
🤖 Generated with Claude Code
https://claude.ai/code/session_01K7CHb44VFtZLGUDLF4us2p