Without .dockerignore the build context included target/ — gigabytes
sent to the daemon before the build even starts, on a host where disk
has already been a constraint. Verified the image builds, runs
migrations and serves /healthz.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
A single runner serves all three repos, so superseded pushes queueing up
full builds is a real cost. Releases are left uncovered deliberately:
cancelling a publish halfway is worse than running it twice.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
First CI run failed with "linker cc not found" — the runner executes
jobs on the host, so the C toolchain a container image would normally
provide has to be installed there. Records the fix, and notes openssl-devel
as the next thing that would break so it can be installed in one go.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Match the setup already working on that runner: setup-* actions to
provision toolchains rather than host-installed tooling, and the
automatic GITHUB_TOKEN. Registry push keeps a dedicated REGISTRY_TOKEN,
since the automatic token's scope doesn't reliably cover packages.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Flags were stored via Debug formatting of async-imap's Flag enum, which
produced Rust-internal spellings ("Seen", "Custom(\"$Junk\")") that don't
round-trip back through Flag::from and aren't what the schema documents.
Map to canonical wire spelling (\Seen, $Junk) before the webapp starts
depending on it, with tests pinning the format.
Adds Gitea Actions CI/release workflows, an nginx rate-limiting config
for the §7 gap, and a shared release-process doc. Records the decision
not to reconcile server-side flag changes or deletions, with the
conditions that should trigger revisiting it.
Also applies rustfmt and clears clippy, so CI passes from the first run.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Covers phases 1-2 of the build order in the architecture spec: the IMAP
sync engine (IDLE + UIDVALIDITY tracking + jittered reconnect, headers
first with lazy body fetch), the full data model, and a minimal REST API
for auth, accounts, folders, messages and delta polling.
Credentials are encrypted at rest with ChaCha20-Poly1305 rather than
libsodium secretbox, to avoid a system dependency for the same
construction.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>