Skip to content

fix: time out Homebrew API fetches#44

Open
itzptk wants to merge 1 commit into
mainfrom
fix/issue-4-homebrew-api-fetch-timeouts-20260605202338
Open

fix: time out Homebrew API fetches#44
itzptk wants to merge 1 commit into
mainfrom
fix/issue-4-homebrew-api-fetch-timeouts-20260605202338

Conversation

@itzptk

@itzptk itzptk commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • add bounded Homebrew API request helpers that abort stalled fetches and stalled JSON response bodies
  • apply API timeouts to package details and catalog refresh calls
  • preserve stale details/catalog cache fallback when API calls time out

Verification

  • npm run test:node -- electron/services/homebrew-service.test.ts
  • npm run test:all
  • npm run build
  • independent pre-commit review passed after fixing response-body timeout coverage

Closes #4

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.

Add timeouts to Homebrew API fetches

1 participant