Skip to content

Fix the handler test build - #11

Closed
montehurd wants to merge 1 commit into
mainfrom
fix-handler-test-build
Closed

montehurd wants to merge 1 commit into
mainfrom
fix-handler-test-build

Conversation

@montehurd

Copy link
Copy Markdown
Owner

internal/handler has no test binary that compiles on main, so go vet ./... and go test ./... both fail there.

The denylist tests (git-pkgs#360) call NewDebianHandler with three arguments. The additional APT archives change (git-pkgs#353) gave it a fourth. Each passed CI on its own branch, and CI runs on pull requests rather than on main, so the combination was never built.

Passing nil for the extra archives matches every other call site that has no named archives.

The denylist tests call NewDebianHandler with three arguments, but the
additional APT archives change gave it a fourth. Each passed CI on its
own branch, and together they leave internal/handler without a test
binary that compiles, so go vet and go test fail on main.
@montehurd montehurd closed this Sep 21, 2026
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