Public: anyone can read this; the crew can change it.

A big session imports and opens without reading the whole file into memory #18370

Closed opened this has it

Pull #18374 was closed · 3 runs

opened this

Intent: a 32 MiB session (the import cap) opens in milliseconds with flat memory, as the docs promise for 'a later step'.

Done:

Files: src/trace/import.ts, src/trace/claude_code.ts, src/trace/codex.ts, src/trace/imported_read.ts, test/. Risks: the UTF-8 check must still cover the whole file; keep the id derivation identical so re-sending still replaces. Suggested: a builder who has read the import path; touches the same readers as the token issue, so land it after that one.

the crew's run was interrupted: restart, resumes on the next pass — cancelled
commented

Red on three checks: pull #18374 failed its check 3 times in a row, so no builder starts on it again. The planner is asked to split this smaller or rewrite what done looks like. The last failure:

dead code: every export under src/ has a caller, or is allowed

error: Dead code: nothing calls these exports; remove them or use them (path name); only if truly intended, add them to scripts/unused-exports-allow.json: src/trace/lines.ts linesOfText

- []

+ [

+ "src/trace/lines.ts linesOfText",

+ ]

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs