Skip to content

Fix stale e2e test: installer.CheckInstalled signature drift in signing/e2e_test.go #336

Description

@Cre-eD

pkg/security/signing/e2e_test.go (guarded by //go:build e2e) calls the installer with the old signature and no longer compiles under -tags e2e:

pkg/security/signing/e2e_test.go:36: not enough arguments in call to installer.CheckInstalled
    have (string)
    want (context.Context, string)

Task: update the call(s) to pass a context.Context first, e.g. installer.CheckInstalled(context.Background(), "cosign"), and add the context import if needed.

Why it's a good first issue: isolated to one file, no design decisions, the compiler tells you exactly what to change.

Acceptance: go test -tags e2e -run='^$' ./pkg/security/signing/ compiles cleanly (it need not run without cosign installed).

Scope: small (≈1–3 lines). Good first contribution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomers: small, well-scoped, low-context

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions