Skip to content

Prune expired sandboxes automatically in sandbox list#391

Merged
robinaugh merged 1 commit intomainfrom
jason/sandbox-list-sync
Mar 2, 2026
Merged

Prune expired sandboxes automatically in sandbox list#391
robinaugh merged 1 commit intomainfrom
jason/sandbox-list-sync

Conversation

@robinaugh
Copy link
Contributor

@robinaugh robinaugh commented Mar 2, 2026

Summary

  • rwx sandbox list now automatically removes expired sandboxes from local storage instead of requiring a --sync flag
  • Expired sandboxes (completed, 404, or 410) are pruned from storage and excluded from results
  • Unknown-status sandboxes (e.g. network errors) are kept in storage and results

Test plan

  • Unit tests for pruning expired sandboxes from storage and results
  • Unit tests for pruning 404/410 sandboxes
  • Unit tests for retaining unknown-status sandboxes

@robinaugh robinaugh self-assigned this Mar 2, 2026
@robinaugh robinaugh force-pushed the jason/sandbox-list-sync branch 2 times, most recently from 6e26af2 to c4b9303 Compare March 2, 2026 20:47
@robinaugh robinaugh marked this pull request as ready for review March 2, 2026 20:52
@robinaugh robinaugh force-pushed the jason/sandbox-list-sync branch from c4b9303 to 3c43eea Compare March 2, 2026 21:15
@robinaugh robinaugh changed the title Add --sync flag to rwx sandbox list Prune expired sandboxes automatically in sandbox list Mar 2, 2026
@robinaugh robinaugh merged commit 95334ab into main Mar 2, 2026
1 check passed
@robinaugh robinaugh deleted the jason/sandbox-list-sync branch March 2, 2026 21:28
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.

2 participants