Skip to content

feat: add achievement fingerprint discovery - #29

Merged
Erilla merged 23 commits into
mainfrom
feat/achievement-fingerprint-discovery
Aug 10, 2026
Merged

feat: add achievement fingerprint discovery#29
Erilla merged 23 commits into
mainfrom
feat/achievement-fingerprint-discovery

Conversation

@Erilla

@Erilla Erilla commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Implements the approved Blizzard achievement-fingerprint discovery design, including private worker credentials, FIFO shared-budget admission, atomic snapshots, privacy exclusion, and provenance-free public output.\n\nVerification is tracked by required CI; local focused migration/unit/integration checks pass.

Erilla and others added 23 commits August 10, 2026 11:30
`pnpm format:check` failed on seven files carried in on the fingerprint
sweep commits, which would fail CI before any behaviour was reviewed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qh8Zb2HnaxebWrRLUMoAiv
recordRequest writes one row per physical Blizzard request, so the
rolling-hour ledger grew by the whole hourly budget every hour with
nothing to remove it; maintenance cleanup only covered rate limits,
negative cache, and suppressions.

Prune on requested_at rather than the owning reservation: a request
stops counting towards the rolling hour on its own timestamp, and a
reservation can expire while its late requests are still inside the
window, so deleting by reservation would silently undercount the
shared budget and admit an overlapping sweep.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qh8Zb2HnaxebWrRLUMoAiv
The worker now refuses to start without BLIZZARD_CLIENT_ID,
BLIZZARD_CLIENT_SECRET, and BLIZZARD_SWEEP_REQUEST_CAP, but .env.example
still described the pre-fingerprint worker, so a fresh local checkout
could not boot it. MAINTAINER_ALERT_WEBHOOK_URL was undocumented in both
the example and the Railway guide.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qh8Zb2HnaxebWrRLUMoAiv
@Erilla
Erilla merged commit 0d51f6a into main Aug 10, 2026
2 checks passed
@Erilla
Erilla deleted the feat/achievement-fingerprint-discovery branch August 10, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant