Skip to content

fix(cli): await GeoIP and addon downloads in fetch command - #317

Merged
barjin merged 1 commit into
masterfrom
fix/await-fetch-downloads
Jul 27, 2026
Merged

fix(cli): await GeoIP and addon downloads in fetch command#317
barjin merged 1 commit into
masterfrom
fix/await-fetch-downloads

Conversation

@barjin

@barjin barjin commented Jul 27, 2026

Copy link
Copy Markdown
Member

The fetch action started downloadMMDB() and maybeDownloadAddons() without awaiting them, so both ran concurrently after the action had already returned. Their progress output interleaved on stdout, and a failure in one aborted the other mid-write because the unhandled rejection tears the process down immediately. Adding the awaits makes the two downloads run in sequence and complete before the action resolves.

Closes #278

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added this to the 146th sprint - Tooling team milestone Jul 27, 2026
@github-actions github-actions Bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Jul 27, 2026
@barjin barjin added adhoc Ad-hoc unplanned task added during the sprint. and removed adhoc Ad-hoc unplanned task added during the sprint. labels Jul 27, 2026
@barjin
barjin marked this pull request as ready for review July 27, 2026 11:41
@barjin
barjin merged commit 4fca5e1 into master Jul 27, 2026
4 of 5 checks passed
@barjin
barjin deleted the fix/await-fetch-downloads branch July 27, 2026 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] camoufox fetch hangs indefinitely — missing await on downloadMMDB() and maybeDownloadAddons()

2 participants