Skip to content

fix(bots): restore public release reads - #985

Merged
nixuuu merged 1 commit into
devfrom
fix/github-download-user-agent
Nov 18, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/github-download-user-agent

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 18, 2026

Copy link
Copy Markdown
Member

Changes

  • Send a fixed Canopy-Bot User-Agent on public bot downloads, including redirects. GitHub REST accepts the same anonymous Releases request that previously returned HTTP 403.
  • Let private bot turns and routines with Web access verify the earliest indexed publication of up to 50 Canopy PRs across Nightly, Beta, and Stable. The gateway reuses the public changelog index and returns only matching versions, dates, and source links. This keeps large release bodies outside conversation files and requires no GitHub credential.

Verification

  • Focused worker download tests and gateway typecheck.
  • Real anonymous GitHub Releases download and read through the worker file implementation. Live index lookup for a PR published to all three channels.
  • Tests for duplicate PRs, missing matches, and publication ordering. The standalone gateway policy test hits an import-cycle failure on both the branch and clean dev. Required CI covers the combined test suite and builds.

Fixes: #604

@nixuuu
nixuuu enabled auto-merge (squash) November 18, 2026 19:03
@nixuuu
nixuuu force-pushed the fix/github-download-user-agent branch from 62296ae to af9a154 Compare November 18, 2026 19:05
@nixuuu
nixuuu merged commit 175fefe into dev Nov 18, 2026
15 checks passed
@nixuuu
nixuuu deleted the fix/github-download-user-agent branch November 18, 2026 19:12
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