carlos / todomvc-bakeoff Public
docs(nim): STATUS, live at df803f7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+33
−0
apps/nim/STATUS.md+33 −0
diff --git a/apps/nim/STATUS.md b/apps/nim/STATUS.md| new file mode 100644 |
| index 0000000..8dbabb4 |
| --- /dev/null |
| +++ b/apps/nim/STATUS.md |
| @@ -0,0 +1,33 @@ |
| +LIVE https://todo-nim.bfj.oncarlos.com df803f7 |
| + |
| +## Where it stands |
| + |
| +- Deployed `df803f7` to `todo-nim` on account `bfj`, channel `edge`. |
| + `carlos deploy` confirmed it through the `/api/version` build probe, and |
| + the edge reports `X-Carlos-Version: df803f7`. |
| +- Shared behaviour suite: **67 passed, 3 skipped** both locally |
| + (`dist/app --listen`) and against |
| + `https://todo-nim.bfj.oncarlos.com`. The skips are the suite's own: blur |
| + and Escape editing with JavaScript off, and the screenshot test with |
| + JavaScript off. |
| +- `make test`: 15 unit tests pass (store scoping, filters, toggle-all, |
| + Unicode and 10,000-character titles, migrations, cookies, 303s, 403 on |
| + a foreign Origin, 404 on a foreign id, the edit view, fragments, static |
| + files). |
| +- `scripts/boot-check.sh dist/app-linux-arm64`: `/healthz` and |
| + `/api/version` answer 200 on a unix socket under qemu, and SIGTERM |
| + exits 0. |
| +- The binary is a 1.7 MB static aarch64 ELF (zig cc, musl). SQLite 3.54.1 |
| + is compiled in. |
| + |
| +## Worth knowing |
| + |
| +- `asynchttpserver` has no unix-socket mode. `unixServer` in `src/app.nim` |
| + binds the socket and gives it to the server through |
| + `std/importutils.privateAccess`, and it has to set `maxFDs` too: |
| + without it `shouldAcceptRequest` is always false and the server |
| + silently never accepts. That's the one place this app reaches into the |
| + standard library's internals. A `listen(domain = AF_UNIX)` option |
| + upstream would remove it. |
| +- The README and AGENTS.md prose didn't go through a copy review. This |
| + session ran unattended, and that review needs a person. |