Skip to content

fix(ci): move go get after COPY in collector and analyzer Dockerfiles#8

Merged
KaelSensei merged 1 commit into
mainfrom
fix/collector-analyzer-dockerfiles
Mar 23, 2026
Merged

fix(ci): move go get after COPY in collector and analyzer Dockerfiles#8
KaelSensei merged 1 commit into
mainfrom
fix/collector-analyzer-dockerfiles

Conversation

@KaelSensei
Copy link
Copy Markdown
Owner

Summary

  • COPY . . was overwriting the go.mod that go get had just updated in the previous layer, so the subsequent go mod tidy had no new deps and the build failed.
  • Fix: merge go get, go mod tidy, and go build into a single RUN step after COPY . ..

Fixes the two remaining failing badges: CI - collector and CI - analyzer.

Test plan

  • CI - collector turns green
  • CI - analyzer turns green

🤖 Generated with Claude Code

COPY . . was overwriting the go.mod that go get had just updated,
so go mod tidy had no new deps to work with and the build failed.
Move all dep resolution into a single RUN after COPY . .

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@KaelSensei KaelSensei merged commit ae3a8bc into main Mar 23, 2026
6 checks passed
@KaelSensei KaelSensei deleted the fix/collector-analyzer-dockerfiles branch March 24, 2026 15:58
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