6 Commits
Author SHA1 Message Date
Mateusz PstruchaandClaude Opus 5 3e183b220c Add .dockerignore and bump to 0.2.0
CI / test (push) Successful in 2m31s
Release / image (push) Successful in 4m39s
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>
v0.2.0
2026-09-22 22:13:32 +02:00
Mateusz PstruchaandClaude Opus 5 a3213bf3e2 Cancel superseded CI runs
CI / test (push) Successful in 4m43s
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>
2026-09-22 20:33:51 +02:00
Mateusz PstruchaandClaude Opus 5 0272a6f46b Document runner host package requirements
CI / test (push) Successful in 4m40s
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>
2026-09-22 20:17:23 +02:00
Mateusz PstruchaandClaude Opus 5 a4401936a0 Target the rocky-10 runner and its proven action conventions
CI / test (push) Failing after 1m17s
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>
2026-09-22 20:12:29 +02:00
Mateusz PstruchaandClaude Opus 5 3b96f80f36 Store flags in IMAP wire format, add CI and ops docs
CI / test (push) Canceled after 0s
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>
2026-09-22 19:55:09 +02:00
Mateusz PstruchaandClaude Opus 5 4c1a6457c5 Initial sync server: IMAP engine, schema, and read API
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>
2026-09-22 19:00:59 +02:00