Repository navigation
feat(hub)!: drop inbox snooze sweep, longevity-sim (CL-8185) - #788
Merged
Merged
Conversation
Snooze is dropped per owner ruling — the /:id/snooze route and its own snooze-store are gone in the next commit, so their tests go too; the bulk test's snoozed fixture becomes an ordinary open row.
Snooze is dropped per owner ruling: delete the hub's unsnooze sweep, @corbits/inbox's /:id/snooze route, its snooze-store and schema, and the 'snoozed' status value from the inbox vocabulary. The inbox.snooze table is forward-dropped in a new migration — no web UI ever grew an affordance for snooze, so there is nothing else to cut over.
No importers anywhere in the repo (verified with git grep longevity); drop it and its .changeset ignore-list / .prettierignore entries.
Deleted files (native-workflow-routine-launch's removed function, inbox-unsnooze-sweep, longevity-sim) carried baselined catch clauses; regenerate so the ledger only lists what still exists.
AGENTS.md and mailbox-timeline.test.ts had accumulated formatting drift from main that failed prettier --check; fix it so lint is green for this branch.
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.
Summary
Owner ruling: snooze is dropped, unused packages are deleted. (The
third item in this ticket — routine run-now going client-driven — was
already landed on
mainby #787 (CL-8160) before this branch rebasedonto it; nothing left to do there.)
apps/hub/src/inbox-unsnooze-sweep.tsand its wiring inapps/hub/src/index.ts.packages/inbox: the/:id/snoozeroute, itssnooze-store and schema, the
snoozedstatus value, and forward-dropthe
inbox.snoozetable in a new migration. No web UI ever grew asnooze affordance, so there is nothing else to cut over.
packages/longevity-sim(no importers — verified withgit grep longevity), its tsconfig/.changeset/.prettierignorereferences.
dead files are gone; 0 new findings, 0 stale entries).
Deleted tests
apps/hub/test/inbox-unsnooze-sweep.test.tsapps/hub/test/inbox-unsnooze-sweep-report-error.test.tspackages/inbox/test/snooze-store.test.tspackages/inbox/test/routes.test.ts'sPOST /:id/snooze rejects before touching the databasesuite (the route is gone)packages/longevity-sim/src/*.test.ts(whole package deleted)Test plan
bun run typecheckbun run lintbun run check:structuralbun --cwd apps/hub test(146 pass, 24 skip — DB-gated, noDATABASE_URLlocally)bun --cwd packages/inbox test(46 pass; 1 pre-existing failurein
thread-client.test.ts, unrelated to this change and presenton
main)bun --cwd apps/web test(771 pass)