halkyon/deploy
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tizian 「ティツィアーン」 9f1716f16d
fix(assistant): single use under racing requests, a cap on registering, Caddy reloaded
A connect code, an authorization code and a refresh token are each
consumed by deleting their row and going on only if that deleted it, so
of two requests racing with the same one only one succeeds (as OAuth
requires); tests race them. Registration, open to anyone, takes at most
200 clients an hour (429 after), so a flood can't fill the table before
pruning. The deploy reloads Caddy in place when deploy/Caddyfile changed,
as `docker compose up` doesn't restart it for a file it mounts: without
it the connector's paths wouldn't reach the web server.

Also formats the app's fake assistant gateway, new and so unchecked by
the last commit's check (tool/check.sh formats tracked files only).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MMm7usAo6q9ZZRoPkWjoxi
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-10-10 15:11:18 +02:00
..
backup feat(deploy): hourly off-site backups with restic 2026-10-03 16:45:40 +02:00
dictionaries feat(deploy): instances keep their dictionaries current, weekly, by themselves 2026-10-09 18:09:37 +02:00
runner ci: give the runner 5 GB, since the analysis needs 3.7 GB cold 2026-10-01 11:56:45 +02:00
.env.example Limit how much room people's files take 2026-10-02 06:02:15 +02:00
allowed-signers ci: check every push on sahaquiel and deploy a green main 2026-09-30 21:49:04 +02:00
backup.sh feat(publish): releases in git (public tier, stage 2) 2026-10-10 09:46:38 +02:00
backups.md feat(publish): releases in git (public tier, stage 2) 2026-10-10 09:46:38 +02:00
Caddyfile feat(assistant): Claude reads studysets through a connector on the instance 2026-10-10 15:11:17 +02:00
compose.yaml feat(publish): releases in git (public tier, stage 2) 2026-10-10 09:46:38 +02:00
redeploy.sh fix(assistant): single use under racing requests, a cap on registering, Caddy reloaded 2026-10-10 15:11:18 +02:00