Repository navigation
feat(fseventsd): doctor warns when fseventsd uses over 2 GB on a macOS worker - #1738
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Severity of issue fixed: Low Merge Risk:
|
…re pinned by literal values (#1735)
Review ledgerRound 1: a5b5f54 {"findings":[{"id":"R1","role":"spec","class":"spec I3/I8 timeout constants","outcome":"fixed","path":"src/fseventsd/worker.ts","round":"1","fix":"753afdf0e"},{"id":"R2","role":"spec","class":"spec I6 finding message and remedy text","outcome":"fixed","path":"src/fseventsd/worker.ts","round":"1","fix":"753afdf0e"},{"id":"R3","role":"spec","class":"spec I6 failed-reading warn reasons","outcome":"fixed","path":"src/fseventsd/worker.ts","round":"1","fix":"753afdf0e"},{"id":"R4","role":"spec","class":"spec I6 non-macOS unavailable message","outcome":"fixed","path":"src/fseventsd/worker.ts","round":"1","fix":"753afdf0e"},{"id":"R5","role":"spec","class":"spec I8 timeout warn text","outcome":"fixed","path":"src/modules/host.ts","round":"1","fix":"753afdf0e"},{"id":"R6","role":"spec","class":"spec B6 troubleshooting section incomplete","outcome":"fixed","path":"website/src/content/docs/docs/worker/troubleshooting.mdx","round":"1","fix":"753afdf0e"},{"id":"R7","role":"spec","class":"spec I4 absolute paths and B unit","outcome":"fixed","path":"src/fseventsd/worker.ts","round":"1","fix":"753afdf0e"},{"id":"R8","role":"claims","class":"documentation 7 manual restates code","outcome":"fixed","path":"src/fseventsd/AGENTS.md","round":"1","fix":"753afdf0e"},{"id":"R9","role":"code","class":"testing 10 time boundary not straddled","outcome":"fixed","path":"src/modules/host-findings.test.ts","round":"2","fix":"3a160b0c8"}]}Written by an agent. |
Closes #1735
Status
Implement: done (audit 6/6, fixes R1–R9) Review: passed (round 1, round 2, fix-check) Hardware: n/a Gate: waiting for the stack
Next: ADR 0088 flip to Accepted on this branch, then stack sync and the gate on #1738
Assumptions
hostPlatformoption to the config loader, unset meaning "not macOS" — so a test that does not ask never turns the module on by the machine it runs on;STANDALONE_OFFpinsfseventsdoff for daemon tests.messageandremedybe on the wire — at most 1000 characters each, as the wire-input rule asks.Done when
pnpm test:changedandpnpm typecheckpass. — the audit's and fix runs' pre-commit hooks (7021 tests); CI Static checks pass on 3a160b0pnpm --dir website install && pnpm --dir website build && node website/scripts/check-openapi.mjspasses (the diff toucheswebsite/,src/contract/andsrc/modules/). — CI Website workflow (build and check-openapi) passes on 3a160b0PROTOCOL_VERSION_RANGEinsrc/contract/protocol.tsis one higher than at the base commit. — 99 to 100; CI Protocol bump passesProcessRunnerandhostPlatform; nothing boots a device and nothing runs the realtop. — audit read the tests: scripted runner andhostPlatformvalues onlyCompletion conditions
fseventsdis over 2 GB,simlock doctorprints the warning line on stderr and amodule-advisoryfinding in its JSON. — B1 (28G gives the finding) and B4 (the CLI warning line) testssimlock doctorshows no fseventsd finding. — B1 tests: 2048M and 1.5G give nonesudo killall fseventsd, the nextsimlock doctorshows no fseventsd finding. — B1 test: a 28G run then a 14M run, finding then none (the read is live per run)pgreportop,simlock doctorshows no fseventsd finding, andconfig.getshowscapabilities.fseventsd.enabled: false. — B5 tests: linux unset gives false; linux true gives unavailable with nopgrepReview
Spec review: 7 blocking, 7 fixed, 0 notes. Code review: 1 blocking, 1 fixed, 0 notes. Claims review: 1 blocking, 1 fixed, 0 notes.
Rounds: 2. Tokens: 9.5M.
Runs: 14. Cost USD: 5.972. Agent seconds: 2449.
Assessment: complete
Written by an agent.