Skip to content

go: module path github.com/cloud-shuttle/drover-code - #27

Merged
petehanssens merged 3 commits into
mainfrom
fix/module-path
Nov 18, 2026
Merged

petehanssens merged 3 commits into
mainfrom
fix/module-path

Conversation

@petehanssens

@petehanssens petehanssens commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Update 18 Nov: merged current main (8b4f6fe, 0bc2051) into this branch, no force-push. Conflicts were all in files main rewrote, so I took main's version and re-ran the cloudshuttle to cloud-shuttle rename over the result (33 more occurrences in 12 files, plus two doc mentions). go mod tidy also moves pgregory.net/rapid to a direct require, which main's go.mod was missing. 56 packages pass with -race. Also gofmt -w on the 10 files main's own CI test job rejects (format only, bd99376). Main's CI is red today on the tidy check, and gofmt would be the next failure, so this PR fixes both.

Closes #20.

go.mod declared module github.com/cloudshuttle/drover-code. The cloudshuttle org does not exist on GitHub (the org is cloud-shuttle), so go get github.com/cloudshuttle/drover-code/... cannot resolve and every consumer has to use a replace to a sibling checkout. This renames the module to where the repo actually lives.

Change

Who has to follow

  • drover-cloud imports pkg/hostedworker and pkg/outcomesignal and has replace github.com/cloudshuttle/drover-code => ../drover-code. Its CI checks out this repo's main, so merge this before the drover-cloud module-path PR, which switches to the new path. Merging this first and cloud second leaves cloud's CI red only for the time between the two merges.
  • drover-runner only mentions the old path in "copied verbatim from" comments; no build impact.
  • Nothing else in cloud-shuttle imports this module.

Checks (Go 1.27.3, fresh worktree from main at 79ccc91)

  • go mod tidy -diff: clean
  • gofmt -l .: empty
  • go vet ./...: clean
  • go build ./...: ok
  • go test -race -count=1 ./...: 51 packages ok, 0 failures

After merge, go list -m github.com/cloud-shuttle/drover-code@main resolves through the public proxy (the repo is public), so drover-cloud can later drop the sibling replace for a pseudo-version or a tag.

Part of the Drover gap program, phase 2 (M0 Truth-up).

@petehanssens
petehanssens merged commit 3b7460e into main Nov 18, 2026
7 checks passed
@petehanssens
petehanssens deleted the fix/module-path branch November 18, 2026 02:15
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.

Fix Go module path (github.com/cloudshuttle/drover-code) and the warden replace mismatch

1 participant