Skip to content

task/001: Remove dead HTTP proxy agent stack - #1

Merged
Igloczek merged 1 commit into
masterfrom
task/001-remove-dead-proxy-agents
Jun 30, 2026
Merged

Igloczek merged 1 commit into
masterfrom
task/001-remove-dead-proxy-agents

Conversation

@Igloczek

@Igloczek Igloczek commented Jun 30, 2026 •

Copy link
Copy Markdown
Collaborator

Implements tasks/001-remove-dead-proxy-agents.md from the ponytail audit backlog.

Goal

Delete unused proxy-agent code and the five npm packages that only exist to support it.

Scope

  • Remove Proxy.createAgents() and related imports from src/server/proxy.ts.
  • Remove from package.json: http-proxy-agent, https-proxy-agent, socks-proxy-agent, http-cookie-agent, tough-cookie.
  • Keep proxy bean storage and Bun fetch proxy support in src/server/http-client.ts unchanged.

Acceptance criteria

  • createAgents has zero references in the repo.
  • The five packages are absent from package.json and bun.lock.
  • bun install --frozen-lockfile succeeds.
  • bun run lint passes.
  • bun run test:backend passes.
  • bun run build succeeds.

Depends on

Nothing.

Verification

bun install --frozen-lockfile
bun run lint
bun run test:backend
bun run build
rg "createAgents|http-proxy-agent|tough-cookie" .

Audit reference

Finding #7 — dead proxy agent stack.

@Igloczek

Copy link
Copy Markdown
Collaborator Author

/ponytail-review

Pure deletion: dead createAgents() and five npm packages with zero callers. No new abstractions or scope creep.

Lean already. Ship.

3 files changed, 1 insertion(+), 111 deletions(-)

@Igloczek
Igloczek merged commit da8dd44 into master Jun 30, 2026
1 check passed
@Igloczek
Igloczek deleted the task/001-remove-dead-proxy-agents branch June 30, 2026 12:58
Igloczek added a commit that referenced this pull request Aug 8, 2026
task/001: Remove dead HTTP proxy agent stack
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