Skip to content

bugfix: fix has_tag lookup#519

Merged
woodruffw merged 6 commits into
mainfrom
ww/fix-518
Feb 5, 2025
Merged

bugfix: fix has_tag lookup#519
woodruffw merged 6 commits into
mainfrom
ww/fix-518

Conversation

@woodruffw

@woodruffw woodruffw commented Feb 5, 2025

Copy link
Copy Markdown
Member

This caused false positives in the ref-confusion
audit by using the wrong endpoint. The correct
endpoint only returns the exact matching tag or
404, rather than a list of one or more
partial matches.

See #517. Fixes #518.

Signed-off-by: William Woodruff william@yossarian.net

This caused false positives in the `ref-confusion`
audit by using the wrong endpoint. The correct
endpoint only returns the exact matching tag or
404, rather than a list of one or more
partial matches.

Signed-off-by: William Woodruff <william@yossarian.net>
This ended up being somewhat involved, since
the tests expect to pass `--offline` unconditionally.

Signed-off-by: William Woodruff <william@yossarian.net>
@woodruffw woodruffw added the bugfix Fixes a known bug label Feb 5, 2025
@woodruffw woodruffw self-assigned this Feb 5, 2025
@woodruffw

woodruffw commented Feb 5, 2025

Copy link
Copy Markdown
Member Author

WIP, since test_with doesn't do exactly what I need: it's still a build-time rather than a runtime check, so running cargo insta multiple times against the same compilation product but with different env states causes problems.

Signed-off-by: William Woodruff <william@yossarian.net>
Signed-off-by: William Woodruff <william@yossarian.net>
Signed-off-by: William Woodruff <william@yossarian.net>
@woodruffw woodruffw marked this pull request as ready for review February 5, 2025 21:33
Signed-off-by: William Woodruff <william@yossarian.net>
@woodruffw woodruffw merged commit 871fa31 into main Feb 5, 2025
@woodruffw woodruffw deleted the ww/fix-518 branch February 5, 2025 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fixes a known bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ref-confusion in setup-task

1 participant