fix: pg:backups:download respects HTTPS_PROXY env var - #3836
Merged
Conversation
Route backup download requests through the proxy configured in https_proxy / HTTPS_PROXY environment variables using the already- declared https-proxy-agent dependency, matching the pattern used in src/lib/run/log-displayer.ts. Fixes #1531 (W-23597944) Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
heroku-johnny
temporarily deployed
to
AcceptanceTests
July 27, 2026 19:17 — with
GitHub Actions
Inactive
heroku-johnny
temporarily deployed
to
AcceptanceTests
July 27, 2026 19:17 — with
GitHub Actions
Inactive
heroku-johnny
temporarily deployed
to
AcceptanceTests
July 27, 2026 19:17 — with
GitHub Actions
Inactive
heroku-johnny
temporarily deployed
to
AcceptanceTests
July 27, 2026 19:17 — with
GitHub Actions
Inactive
heroku-johnny
temporarily deployed
to
AcceptanceTests
July 27, 2026 19:21 — with
GitHub Actions
Inactive
heroku-johnny
temporarily deployed
to
AcceptanceTests
July 27, 2026 19:21 — with
GitHub Actions
Inactive
heroku-johnny
temporarily deployed
to
AcceptanceTests
July 27, 2026 19:21 — with
GitHub Actions
Inactive
heroku-johnny
temporarily deployed
to
AcceptanceTests
July 27, 2026 19:21 — with
GitHub Actions
Inactive
heroku-johnny
temporarily deployed
to
AcceptanceTests
July 27, 2026 21:46 — with
GitHub Actions
Inactive
heroku-johnny
temporarily deployed
to
AcceptanceTests
July 27, 2026 21:46 — with
GitHub Actions
Inactive
heroku-johnny
had a problem deploying
to
AcceptanceTests
July 27, 2026 21:46 — with
GitHub Actions
Failure
heroku-johnny
had a problem deploying
to
AcceptanceTests
July 27, 2026 21:46 — with
GitHub Actions
Error
heroku-johnny
temporarily deployed
to
AcceptanceTests
July 28, 2026 17:14 — with
GitHub Actions
Inactive
heroku-johnny
temporarily deployed
to
AcceptanceTests
July 28, 2026 17:14 — with
GitHub Actions
Inactive
heroku-johnny
temporarily deployed
to
AcceptanceTests
July 28, 2026 17:18 — with
GitHub Actions
Inactive
heroku-johnny
temporarily deployed
to
AcceptanceTests
July 28, 2026 17:18 — with
GitHub Actions
Inactive
heroku-johnny
temporarily deployed
to
AcceptanceTests
July 28, 2026 17:18 — with
GitHub Actions
Inactive
heroku-johnny
temporarily deployed
to
AcceptanceTests
July 28, 2026 17:18 — with
GitHub Actions
Inactive
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.
Summary
pg:backups:downloadused barehttps.get(url, callback)with no proxy agent, silently bypassing any configured corporate proxyhttps_proxy/HTTPS_PROXY) and wires inHttpsProxyAgent— exactly the pattern already used insrc/lib/run/log-displayer.tshttps-proxy-agentis already a declared production dependency (^7.0.6inpackage.json), so no new deps are neededFixes #1531 | W-23597944
Test plan
HTTPS_PROXY=http://your-proxy:8080and runheroku pg:backups:download— confirm traffic routes through the proxyHTTPS_PROXYand confirm download still works normallysrc/lib/pg/download.ts; a follow-up test can be added if desired🤖 Generated with Claude Code