Skip to content

Standalone adapters module cannot resolve pinned internal pseudo-versions #2018

Closed

Description

@jbeda

Failure

task test and task test:race on origin/main at ce948582151971c7128fef13d29c90078ddd9f1c, as well as rebased PR #2013, fail the standalone adapters module (GOWORK=off go test -mod=readonly ./...) at package setup:

github.com/stacklok/mecatl/contracts/gen/go/mecatl/[email protected]: invalid version: unknown revision 3fd4c343ca56
github.com/stacklok/mecatl/internal/[email protected]: invalid version: unknown revision 3fd4c343ca56

adapters/go.mod:10-12 pins both pseudo-versions. The GitHub commit API resolves 3fd4c343ca56 to 3fd4c343ca5657b4cd6ce4eb23051d477afba2bc, but the standalone Go module lookup fails. The failure reproduced on a detached origin/main checkout, so it is not caused by the tool-result availability diff. Ordinary workspace builds can mask the bad standalone resolution because go.work uses the local modules.

Expected

The published/pinned pseudo-versions must resolve when GOWORK=off, or the standalone gate must use another explicit, supported dependency strategy. Diagnose whether this is module-proxy cache lag, module path/revision publication, or a pseudo-version issue before changing pins.

This is currently reproducible, not demonstrated intermittent, so it is a dependency/build bug rather than a test flake.

Relates to #2013

Activity

  1. added
    bug
    on Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions