Repository navigation
fix(custom): rebase onto .4994, keep migration 99 for existing databases, Tot fixes - #80
Merged
Merged
Conversation
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.
Rebases
customonto upstreamv0.1.12-nightly.20261120.4994and fixes the migration bug that broke the.4941custom release, plus three Tot fixes.Do not merge this through GitHub. The branch is a rebase onto a newer upstream tag, so the PR diff includes upstream's commits. It lands the way the pipeline lands a rebase:
git push --force-with-lease origin t3/rebase-custom-4994:custom, after review. Nothing has been force-pushed and nothing has been released.Rebase
afterForwardingwrapper),docs/internals/remote.md, the lockfile (fork additions on upstream patch hashes), and aFilePreviewPanelimport.pipewent over 20 arguments (the Tot layers now compose as one), upstream's new background-wait test needed the not-a-Tot layer, mobile used the removedupdateMobilePreferencesAtom, and the agent context budget was regenerated.Migration ids (the
.4941breakage)Existing custom databases recorded 99 =
ScheduledTaskCreatedByTot. The.4941repair moved it to 101 behind upstream's099_BackgroundRecoveryIndexes. The migrator compares ids, so every existing database refused to start.ScheduledTaskCreatedByTotis 99 again. Upstream's 099–102 are 100–103 here.IF NOT EXISTS, and a drop-and-rebuild forThreadItemCounts..4941custom database (99 BRI, 100 TSRI, 101 STCBT) and a stock upstream database.CUSTOM.md→ "Migration ids" records the invariant and the +1 offset for future rebases.666f15416dcode fails with99_BackgroundRecoveryIndexes (recorded: ScheduledTaskCreatedByTot).666f15416dalso upgrades.Migrations.test.tsandservicePreflight.test.ts.Tots
tot:thread is excluded from automatic settlement unless that Tot hasautoSettle: true. Absent means off, so existing Tots stop settling too. The switch is in the Tot's settings panel on web. Explicit settles such as Start fresh are unchanged.t3_thread_sendaimed at atot:thread that is no longer its Tot's current thread now goes to the current thread. If the Tot is off, it fails withthread_not_sendableand a clear message. The sent run is watched on the thread the message actually reached.ThreadSettlementServiceuses (provider-thread.updated,turn-item.updated,subagent.updatedthat end work, andrun.background-work-cancelled). A run leftwaitingon awaited work now reports Completed when that work ends.sentwatch passed by a later run ends instead of leaking.idle-compact:message ids) no longer wake watching Tots.Checks
vp run check:changed v0.1.12-nightly.20261120.4994: format, lint, knip, typecheck, and react compiler pass. Tests: 3623 pass and 20 fail:ChatView*.browser.test.tsxandDraftHeroHeadline.browser.test.tsxfail identically on the untouched upstream tag, so they predate this branch.threadNotifications.test.tsfailures were a load timeout. The file passes 3/3 when run alone.vp run check:changed origin/custom: everything but tests passes. The test step (465 files) hit the script's 900s limit.Not covered
t3_thread_send_attachmentsdoes not redirect stale Tot threads.Opus 5.5 in Claude Code (T3 Code).
🤖 Generated with Claude Code