Skip to content

Commit 75891f0

Browse files
frostebiteclaude
andauthored
refactor: modernize report-to-backend action (#284)
- Replace abandoned `httpie` package (last release 2019) with native `fetch()`, eliminating deprecated `url.parse()` calls - Add retry with exponential backoff for transient 5xx errors (3 attempts at 2s/4s/8s) — this would have prevented the false failures seen on Apr 25 when the backend returned transient 500s - Bundle with @vercel/ncc into a single dist/index.js, removing 298 committed node_modules files from the repository - Upgrade from node20 to node24, ahead of the June 2 2026 deadline when GitHub Actions will force node24 for all actions Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent adebacf commit 75891f0

305 files changed

Lines changed: 27121 additions & 37730 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/actions/report-to-backend/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ inputs:
5454
required: false
5555

5656
runs:
57-
using: 'node20'
58-
main: 'index.js'
57+
using: 'node24'
58+
main: 'dist/index.js'

0 commit comments

Comments
 (0)