Repository navigation
spin: forget only the saved workspaces the page itself addressed - #1
Merged
Merged
Conversation
The forgetter removed every saved entry whose address the page did not list. It now removes only entries at a <workspace>.spinbox.invalid address, the page's own: it can say a workspace of its own is gone, never that an entry it did not make is unwanted. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
Why
Spinbox's Agents page shows exactly the person's workspaces' agents. The client forgets saved environments the page's list leaves out, and it did so for every saved entry, not only the ones at the page's own addresses (
<workspace>.spinbox.invalid). Inside Spinbox no other entry can be saved today, so this is defense in depth: the page can say a workspace of its own is gone, never that an entry it did not make is unwanted (spin-stack/spin#1503).Change
unlistedEnvironmentIdsskips entries with no bearer profile or an address outside*.spinbox.invalid. One new row in the forget tests; it fails with the check removed (45 pass, 1 fails), and all 46 pass with it.Release (not done here)
This is a
patch/spinbox-environmentschange. To ship: merge, restackspin(.github/spin/stack.sh <upstream tag>, force-with-lease), tagv0.1.10-spin.14, let thespin-clientworkflow publish, then bumpt3code-clientin spin's versions.yaml (task bump NAME=t3code-client).🤖 Generated with Claude Code