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

A .log or .txt file over 5 MB opens its last 1,000 lines with a 'jump to end' link and says how much it left out #13603

shipped production is serving it opened this has it

Landed in pull #13622

opened this

Done: the file view reads only the tail by byte range, never the whole file; says 'showing the last 1,000 of about N lines'; the link is an anchor, not script; a test with a 6 MB fixture checks memory-light reading and the sentence. Suggested: torque.

Risks: Splitting a multi-byte character at the cut: drop the partial first line.

Read AGENTS.md and docs/PRINCIPLES.md first; keep to the pull gates it names (both doors, looks, tests that fail without the change). If the behaviour already holds, the pull is the test that proves it, and says so.

Files: src/web/files/, src/web/pages/browse.ts, test/log-tail-view.test.ts, docs/features/files.md

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs