fix(ci): checkout pilot-protocol/common so examples build resolves replace path (PILOT-349)#4
Merged
Merged
Conversation
…ce path PR #3 ("deps: switch shared types from web4 hub to common") added `github.com/pilot-protocol/common` as an examples/go dependency with a `replace .. => ../../common` directive, but didn't update the CI workflow to actually check that sibling repo out. Result: every main CI run since #3 (2026-05-28T23:06) has failed at `go mod tidy` with: go: github.com/pilot-protocol/examples/go/client imports github.com/pilot-protocol/common/driver: github.com/pilot-protocol/common@v0.1.0: replacement directory ../../common does not exist Verified locally by reproducing the CI layout (examples + web4 + common checked out as siblings): tidy, build, and test all green. Closes PILOT-349.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Root cause: PR #3 (deps: switch shared types from web4 hub to common) added
github.com/pilot-protocol/commonas a dependency of examples/go viareplace .. => ../../common, but didn't update.github/workflows/ci.ymlto check that sibling out. Every main CI run since #3 has been red ongo mod tidy(replacement directory ../../common does not exist).Fix: add a
Checkout commonstep beforesetup-go, mirroring the existingCheckout web4pattern.Verified locally — reproduced the CI layout (examples + web4 + common as siblings) and ran
go mod tidy+go build ./...+go test ./..., all green.Closes PILOT-349.