Repository navigation
Conversation
microsoft/onnxruntime-swift-package-manager declares its onnxruntime and onnxruntime_extensions binaryTargets on download.onnxruntime.ai. The enforced egress allowlist blocks the host, so SwiftPM fails while the Swift file parser resolves the package graph and no update PRs are made. Add the exact host to the swift defaults, with tests for both release URLs and blocked probes for a child, a sibling and the parent domain.
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.
What are you trying to accomplish?
Dependabot
swiftversion updates fail on every run for a private repository whose SwiftPM package depends on microsoft/onnxruntime-swift-package-manager, Microsoft's official ONNX Runtime package.Its Package.swift declares two
binaryTargets ondownload.onnxruntime.ai:The enforced egress allowlist blocks that host. SwiftPM then fails while Dependabot's Swift file parser resolves the package graph, so the job ends before any dependency is checked and no Swift update PRs are created at all. This is the same failure mode as #290, #304 and #315.
Proxy and updater log from the latest run (2026-10-17 UTC):
This PR adds the exact host to the
swiftdefaults, with tests for both release URLs and blocked probes for a child, a sibling and the parent domain.Anything you want to highlight for special attention from reviewers?
download.onnxruntime.ai(GeoTrust TLS RSA CA G1) names only that host. Both downloads are anonymous and return200with no redirect.registries:independabot.ymlis not a workaround for an anonymous host. Dependabot's config validation requiresusernameandpasswordfor agitregistry, and an invalid file stops every update job in the repository.How will you know you've accomplished your goal?
The weekly
swiftupdate job will resolve the package graph again and open update PRs. The new cases inTestEgressAllowlist_PublicVendorRegistriesAllowedcover both release URLs and the blocked probes.Checklist
Note
I could not run the test suite locally: this machine has no Go toolchain or Docker. I'm relying on the repository's CI. The change follows #325.