Repository navigation
Say that nothing is deleted when a retention window ends #109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -129,4 +129,4 @@ Only owners and admins can transfer a Space. Two consequences to plan for: the o | |
|
|
||
| **Leave team** is blocked while you are the only member ("Add another owner before you can leave") or the only owner ("Transfer ownership before you can leave"). | ||
|
|
||
| **Delete this team** asks you to type the team slug. A team that still has Spaces refuses to be deleted, so delete or move its Spaces first. The delete itself is reversible for 30 days, after which it is final. | ||
| **Delete this team** asks you to type the team slug. A team that still has live Spaces refuses to be deleted, so delete or move them first. A deleted team stays restorable; only you can see it. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
A user reading this can reasonably defer recovery indefinitely, but the generated AGENTS.md reference: AGENTS.md:L15-L18 Useful? React with 👍 / 👎. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -74,12 +74,13 @@ Until a space is claimed, the runtime serves a restricted set of content types: | |
| | --- | --- | --- | | ||
| | Unclaimed space | {{anonymous-ttlSeconds}} from creation or the latest publish that changes files, capped at {{anonymous-publishAbsoluteCapSeconds}} from creation | The space stops serving | | ||
| | Claiming an expired anonymous space | 7 more days | The claim link stops working | | ||
| | Unfinished publish drafts | 24 hours | The draft is swept | | ||
| | Deleted team | 30 days | The team is reaped | | ||
| | Unfinished publish drafts | 24 hours | The draft expires and can't be resumed; it stays in your version history | | ||
| | Past-due account | 7 days | The account is suspended and its spaces go dark | | ||
| | Activity events | Plan window, {{free-auditLogRetentionHours}} hours on Free | Events are deleted | | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 Bug · Activity events row still says events are deleted, contradicting the new paragraph This row says events are deleted, but the paragraph added below says nothing is deleted when a window ends. On the monorepo#5164 branch, Found by Indent Review Agent |
||
| | HTTP access logs | Plan window, {{free-buildAccessLogRetentionHours}} hours on Free | Reads are clamped to the window | | ||
|
|
||
| Nothing is deleted when a window ends. Spacefast keeps your data until you delete it, and a delete hides the thing from everyone but you. Removing data for good is a manual step our team takes on request. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This blanket statement directly contradicts the table above, where activity events are deleted at the end of their plan window, and AGENTS.md reference: AGENTS.md:L15-L18 Useful? React with 👍 / 👎. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
|
||
| The two anonymous rows work together. A space that stops serving at its deadline is still recoverable through the claim link for another 7 days. Claim-page loads can push that deadline out by up to 6 hours. See [Publish without an account](/anonymous-and-claim). | ||
|
|
||
| ## What a paused or removed space serves | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -92,7 +92,7 @@ Delete a version. Aliases: `sf versions remove`, `sf versions delete`. | |
| sf versions rm [VERSION] | ||
| ``` | ||
|
|
||
| Deletes a version and purges its files. Its version URL then serves a tombstone. A version a channel points at cannot be deleted; promote another version first. | ||
| Deletes a version. It leaves your version list and its version URL serves a tombstone. Spacefast keeps the record and its files. A version a channel points at cannot be deleted; promote another version first. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
For anyone deleting a version to remove its contents, this now promises the opposite of the shipped contract: AGENTS.md reference: AGENTS.md:L15-L18 Useful? React with 👍 / 👎. |
||
|
|
||
| ### Arguments | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 Bug · Deleted-team restore is still limited to 30 days, but docs now say it has no limit
"Stays restorable" implies no time limit. On the monorepo#5164 branch,
teams/service.ts:229still setsTEAM_RESTORE_WINDOW_SECONDS = 60*60*24*30, andrestoreTeam(service.ts:1310-1312) throws NotFound oncedeletedAt + 30 dayshas passed. The team is no longer reaped, but after 30 daysPOST /v1/teams/{teamId}/restorereturns 404. Keep the 30-day limit in the wording, or remove the window in the control-plane change first.Found by Indent Review Agent