Compile editor buffers without waiting for a save

Project preview accepts ?buffer=1 and reads the editor text from the POST body.
The source is still expanded with project includes/packages/images, but the file
on disk is not touched, so typing can drive layout immediately while the normal
450 ms save timer runs independently.

Add a server test that previews buffer text, finds it in the SVG, and verifies
hello.tex on disk was not rewritten. Roadmap notes that warm buffer previews
are still ~430 ms (article) and ~2.1 s (arXiv), and that dirty-page streaming
is the next latency step.
This commit is contained in:
gloamxun committed 2026-10-27 21:01:24 +08:00
1 parent 30f1df03ca
commit e2e80e8728
7 files changed
+61 -10

No files matched your search

+3 -3
View File
@@ -16,20 +16,20 @@ cargo test --workspace --offline
or run `./scripts/verify-route-d.sh`, which executes both.
The workspace currently passes **1070 tests**:
The workspace currently passes **1071 tests**:
| Suite | Tests |
| --- | --- |
| route-D unit (engine) | 444 |
| engine binary unit | 433 |
| server integration | 65 |
| server integration | 66 |
| v1 integration | 71 |
| pdfLaTeX oracle | 42 |
| route-D integration | 10 |
| engine/core unit | 4 + 1 |
Latest full run (web trial increment): `./scripts/verify-route-d.sh` passes
with fmt clean and **1070 tests** green.
with fmt clean and **1071 tests** green.
Latest live check (2026-10-27): the debug server served `examples/hello.tex`
from `target/debug/texrra serve`; `POST /preview` answered 200 with