Record the job store's measurements on leil-rig
Security / Vulnerability check (push) Successful in 48s
Test / Lint and test (push) Failing after 1m59s

The owner has no ARM boards and no Pi-class host, so stage 1a ran its
probe on leil-test-1, an x86_64 AlmaLinux VM on leil-rig with a
virtual disk, on his word. Decision 2 now says so: no build of the
store runs on ARM hardware, and the CHANGELOG will say that the ARM
builds ship it untested. Stage 1d, and the remote-printers plan, which
counted on stage 1a measuring an SD card, say the same.

On that disk, with the schema under RECORDS and 1000 jobs of history,
a text job cost 1.04 flushes, 53.8 KiB of device writes and 11.46 WAL
frames, and its synced commit took 5.0 ms, or 2.9 ms with fdatasync.
Every call the store makes passed the unit's syscall filter, with
SELinux enforcing. The numbers are at or below the earlier estimates,
so none of them argues against decision 1. An SD card, ext4 and ARM
remain unmeasured.

The probe was built on modernc.org/sqlite v1.64.0, released on
2026-12-01, with the same SQLite and libc pin as v1.63.0. It lives
outside the repository, and the rig was left as it was found.

Part of stage 1a of docs/plans/job-store.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
57_WolveandClaude Opus 5.5 committed 2026-12-01 11:47:31 -06:00
1 parent 709e7904e9
commit c548833656
2 files changed
+57 -28

No files matched your search

+2 -2
View File
@@ -94,7 +94,7 @@ For stage 3:
- The agent dials a new link only after it has closed the old one and every handler of the old link has finished, a write in hand included (Architecture, A REMOTE SEND, agent rule 5). That adds up to one write timeout to a reconnect.
- Trade-off: a remote site back from an outage waits up to a minute.
15. **The agent's wait for the go-ahead.** once the agent has opened the printer's connection and said so, it waits at most 15 s for main's go-ahead. Then it closes the connection with nothing written, and a later go-ahead for that attempt is answered "nothing written".
- The wait covers main's synced `sending` commit and one round trip. A slow commit on an SD card is measured by job-store stage 1a.
- The wait covers main's synced `sending` commit and one round trip. Job-store stage 1a measured that commit at under 10 ms on a VM's virtual disk; on an SD card it is unmeasured.
- Trade-off: the printer's connection is held for that long; the printers close idle connections after 90 s (TM-T88VII, TM-m50II) or 300 s (UB-E02, UB-E03).
For stage 4:
@@ -202,7 +202,7 @@ THE REPOSITORY TODAY
WHERE THE REPORTS DISAGREE OR ARE UNSURE
- Whether Caddy's `request_body max_size` reaches an upgraded connection: not stated, and assumed not; stage 2 checks it.
- Whether a printer behind a UB-E02 or UB-E03 takes the connection and holds the bytes while it is offline: printers decision 23's paper check. It decides the anycast check at the agent too.
- The time of a synced append on an SD card, which bounds decision 15's wait at the agent and main's own mark: job-store stage 1a measures main's; the agent's journal is not measured.
- The time of a synced append on an SD card, which bounds decision 15's wait at the agent and main's own mark: not measured. Job-store stage 1a measured main's synced commit on a VM's virtual disk only (under 10 ms); the agent's journal is not measured.
- The round trip to a remote site and its effect on `/healthz`'s 3-s bound: not measured.
- fasthttp/websocket's long gap since its last release: no advisory was found, and none was searched for beyond the module proxy. Stage 2 runs govulncheck.
- The binary's growth from the middleware and fasthttp/websocket: not measured. fasthttp is linked already; stage 2 records the size from the snapshot build.