Repository navigation
perf(web): reduce memory used by retained note tabs - #105
Merged
Merged
Conversation
dcolthorp
force-pushed
the
t3/reduce-web-app-memory
branch
from
November 6, 2026 15:15
2570e7b to
90bc3c1
Compare
dcolthorp
force-pushed
the
t3/reduce-web-app-memory
branch
from
November 6, 2026 15:17
90bc3c1 to
b96f009
Compare
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
Opening many notes kept every visited note's rendered content in memory. Keep five recent native note bodies ready, while retaining every tab's data, history and reading state. Editors and isolated HTML viewers stay protected.
Delivery
Merged as
b3b59030da445a91d58cfcab0be49fa80b9215e8after all 22 checks passed. Rebuilt and relaunched Rhizome Dev from that main revision; the installer confirmed the running bundle at/Applications/Rhizome Dev.app.Evidence
make checkpassed 1,996 web tests plus the Go/content/type gates; the rebased browser suite passed 129 tests; documentation validation passed. Detailed run data and measurement limits.The Windows integration run exposed an unsafe test cleanup path. Cleanup now retains the original process handle; a deterministic subprocess regression and Windows handle-lifetime assertions cover it. The runtime integration suite passed locally with
-race. The original CI failure attribution remains unconfirmed.Merge Danger
Door: Two-way. No storage or API migration.
Blast Radius: Notes. The change affects native note rendering and restoration; editing sessions and isolated HTML viewers remain resident.
Council review
Architecture review, 2 rounds across the two available providers:
Greptile reviewed
9acaf3de4: 5/5, no comments. Native Windows integration tests passed, including handle retention and release.Reviewed with sol-loop: 5 rounds with GPT-6.1 Sol. Sol verdict: approved. S1 fixed: mutable structural fingerprints no longer remount editors or discard reading state. G1 fixed collection-filter restoration. S2/C1 fixed integration-test process handle retention and its Windows assertion. No declined findings. Usage was not exposed.
Review scope: +3,730/−229 lines before Sol; final +4,045/−242 across 23 files, including measurement evidence and regression tests. S1, G1, S2 and C1 are resolved; no declined findings. Review usage was not exposed.
Created with GPT-6.1 Sol and native GPT-6.1 Sol implementation subagents in T3 Code through the Codex harness.