5 Commits
Author SHA1 Message Date
Mateusz PstruchaandClaude Opus 5.5 b59388065f Push the release image with the shared ygg push-image action
CI / test (push) Successful in 4m25s
Replaces the hand-written login/build/push/logout steps with
ygg/actions/push-image@v2. Tags stay the same (X.Y.Z and latest, same
image name); it adds OCI source/revision/created/version labels and
logs in through a temporary DOCKER_CONFIG, so the registry token never
touches the shared runner's ~/.docker. The job now exposes the version
and digest as outputs, ready for a deploy job.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 20:10:09 +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