refactor(storage): add SQLite context offload foundation - #4078
Draft
likun666661 wants to merge 1 commit into
Draft
refactor(storage): add SQLite context offload foundation#4078likun666661 wants to merge 1 commit into
likun666661 wants to merge 1 commit into
Conversation
Generated-by: OpenAI Codex
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
This is the storage-only first slice of #4071. It is intentionally not wired to Read image, Tool Result archives, StorageRef, Session copy/retirement, GC, or legacy migration yet, so it does not change production behavior.
Refs #4071
Verification
npm --workspace @maka/core run buildnpm --workspace @maka/storage run buildNODE_NO_WARNINGS=1 node --test packages/storage/dist/__tests__/sqlite-context-offload-store.test.js— 11/11 passNODE_NO_WARNINGS=1 node --test --test-reporter=dot "packages/storage/dist/**/*.test.js"— full storage suite passesnpx biome linton all changed TypeScript filesnpm run check:asf-headersNode 22 emits an experimental
node:sqlitewarning. WithoutNODE_NO_WARNINGS=1, one existing child-process fixture treats that warning as stderr failure; the fixture passes 5/5 with the warning disabled.Follow-up slices
AI use
Tool(s) and scope: OpenAI Codex contributed repository inspection, interface/schema design, implementation, tests, and PR text. The commit includes the required
Generated-bytrailer.Checklist
Does this PR entail a change in behavior?