Repository navigation
Task 011: Thin http-client to Bun fetch wrapper - #20
Merged
Merged
Conversation
5 tasks
Collaborator
Author
/ponytail-review
Lean already. Ship.
|
Remove verbose JSDoc and axios-shaped redirect loop for the default path. Use native redirect: "follow" when maxRedirects is unset; keep a compact manual redirect path for monitors that set a limit. Preserve get/post/request exports, HttpClientError shape, proxy/TLS transport, and explicit rejection of dead axios agent options.
Igloczek
force-pushed
the
task/011-thin-http-client
branch
from
June 30, 2026 11:55
a01b35b to
dafc1e3
Compare
Igloczek
added a commit
that referenced
this pull request
Jun 30, 2026
Add shared notification-provider-metadata module as the single source of truth for provider module paths, display labels, and dropdown categories. Refactor NotificationDialog to render optgroups from registry data instead of a large hardcoded computed property. Task 023 — ponytail audit finding #20.
Igloczek
added a commit
that referenced
this pull request
Aug 8, 2026
Task 011: Thin http-client to Bun fetch wrapper
Igloczek
added a commit
that referenced
this pull request
Aug 8, 2026
Add shared notification-provider-metadata module as the single source of truth for provider module paths, display labels, and dropdown categories. Refactor NotificationDialog to render optgroups from registry data instead of a large hardcoded computed property. Task 023 — ponytail audit finding #20.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements tasks/011-thin-http-client.md from the ponytail audit backlog.
Goal
Shrink the Axios-shaped HTTP client while keeping the public API used by monitors and notifications.
Scope
httpAgent/httpsAgentguards and axios-only code paths insrc/server/http-client.ts.redirect: "follow"where safe instead of manual redirect loop (keep override for monitors that need custom redirect handling, if any).get/post/requestexports andHttpClientErrorshape stable for callers.fetchproxyoption).Acceptance criteria
http-client.tsis at least 25% smaller than baseline (~336 LOC → ≤250 LOC).test/backend-test/http-client.test.tspasses without weakening assertions.bun run test:backendpasses.bun run buildsucceeds.Depends on
Task 001 (proxy agents removed).
Verification
Audit reference
Finding #9 — Axios-shaped
http-client.