windows-iso-downloader/backend
Shekhar Vaidya 6ab849be5e fix(backend): back off Sentinel lockdown retries, validate product_id in /proxy
Log analysis over 17 days showed 181 Sentinel-block retry attempts on
/proxy, all 181 failed (0% success). Retrying every 90 minutes yields
zero value right now and just adds more blocked-request noise against
our own IP for nothing in return. Bumped lockdownTTL to 5h so it backs
off harder while still recovering same-day if Microsoft's block ever
eases.

Also found /proxy never validated product_id against the known
catalog, so a request for a nonexistent ID (e.g. product_id=2861,
never a real product) still burned a full outbound Microsoft session
attempt and a Sentinel-block hit for something that could never
succeed anyway. Now rejected with 404 before any Microsoft call,
reusing the existing validContributeProducts allow-list.

Verified locally: unknown product_id -> 404 (no MS fetch attempted in
logs), missing params -> 400 unchanged, known product_id -> proceeds
to a real MS session attempt as before.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-31 11:35:44 +05:30
..
Dockerfile fix: bump Dockerfile to golang:1.25-alpine to match go.mod requirement 2026-05-18 22:51:25 +05:30
go.mod feat: Phase 3 crowdsourced cache contribution 2026-06-18 14:07:35 +05:30
go.sum feat: Phase 3 crowdsourced cache contribution 2026-06-18 14:07:35 +05:30
install.sh feat: add curl | bash installer for Linux/macOS without Homebrew 2026-07-13 22:28:23 +05:30
main.go fix(backend): back off Sentinel lockdown retries, validate product_id in /proxy 2026-07-31 11:35:44 +05:30