Drop pypi server, diagnostic instrumentation, and connectivity probe - #367
Merged
Conversation
…y probe Package hosting has moved to halide/pypi (GitHub Releases + Pages) since this VM's network path turned out to be subject to intermittent MIT border-security IP quarantines outside anyone's control. Removes the pypiserver service, its Caddy vhost, the netmon sidecar and caddy access logging that were added specifically to diagnose that issue, and the standalone probe-connection.yml diagnostic workflow.
1 task
alexreinking
added a commit
that referenced
this pull request
Aug 5, 2026
docker compose up -d alone leaves containers running for services that were removed from docker-compose.yml -- it only affects services still defined in the file. This is exactly what happened when #367 dropped the pypi/netmon services: their containers kept running untouched (netmon crash-looping) until a reboot surfaced it, at which point they just came back via each container's own restart policy. --remove-orphans makes 'docker compose up -d' actually reconcile to match the file.
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
pypi(pypiserver) service, its Caddy vhost, and thepypi_htpasswd.txtsecret.netmonsidecar and Caddy's custom JSON access log, both added specifically to diagnose the wheel-download connect-timeout issue (Add access logging + host TCP sampler to diagnose pypi download failures #362).probe-connection.ymldiagnostic workflow (manual connectivity probe, same investigation).Why
pypi.halide-lang.orgwas hosted on this MIT-operated VM, which turned out to be subject to intermittent border-security IP quarantines: shared cloud egress IPs (GitHub Actions runners) occasionally get flagged by MIT's Corelight appliance for unrelated scanning activity from other tenants, with no exception mechanism available (confirmed directly with MIT CSAIL InfoSec). Package hosting has moved to halide/pypi (GitHub Releases + Pages), which routes CI traffic off that network path entirely. DNS forpypi.halide-lang.orgnow points there.Test plan
docker compose configvalidates cleanly with no dangling volume/secret/service references.fmtpre-commit check passes on the trimmed Caddyfile.docker compose up -d --builddry run on the actual buildbot host before merging, to confirmbuildbot.halide-lang.orgstill serves correctly withpypi.halide-lang.org's vhost removed.