Skip to content

IntegrationTest: catch ResolverError for URL-based downstreams#80

Merged
mtfishman merged 1 commit intomainfrom
mf/integrationtest-resolver-catch-url
Apr 23, 2026
Merged

IntegrationTest: catch ResolverError for URL-based downstreams#80
mtfishman merged 1 commit intomainfrom
mf/integrationtest-resolver-catch-url

Conversation

@mtfishman
Copy link
Copy Markdown
Member

@mtfishman mtfishman commented Apr 23, 2026

Summary

The try/catch Pkg.Resolve.ResolverError wrapper was only around the registered-package branch of IntegrationTest.yml. URL-based downstreams (unregistered / private packages specified as https://... or git@...) ran Pkg.add(url=pkg) / Pkg.develop(".") / Pkg.update() with no error handling, so a breaking change in the PR that the downstream's compat didn't allow failed the job instead of being reported as an intentional SemVer-breaking change.

This PR hoists the existing try/catch up to cover the full if/else, so both branches share one resolver-error exit (the "not compatible with this release — no problem" path). No other behavior changes.

Surfaced by ITensor/ITensorNetworks.jl#327, where the Tennis.jl downstream (passed as a URL) failed with ResolverError after the PR bumped ITensorNetworks to 0.16.0.

The URL branch (unregistered / private packages specified by
`https://...` or `git@...`) previously ran `Pkg.add(url=pkg)`,
`Pkg.develop(".")`, and `Pkg.update()` without any error handling, so a
breaking change in the PR that the downstream's compat didn't allow
blew up the integration test job instead of being reported as an
intentional SemVer-breaking change.

Move the existing `try/catch Pkg.Resolve.ResolverError` wrapper up to
cover the full `if/else`, so both the URL branch and the registered-
package branch share the same "not compatible with this release" exit.

Surfaced by ITensor/ITensorNetworks.jl#327 where the Tennis.jl
downstream (passed as a URL) failed with `ResolverError` after the PR
bumped ITensorNetworks to 0.16.0.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mtfishman mtfishman merged commit 5a7b958 into main Apr 23, 2026
1 check passed
@mtfishman mtfishman deleted the mf/integrationtest-resolver-catch-url branch April 23, 2026 19:19
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