Skip to content

E2E improvements: remove gotoolchain hack, share go cache, stream test output#3074

Merged
tbavelier merged 3 commits into
mainfrom
tbavelier/e2e-improvements
Jun 4, 2026
Merged

E2E improvements: remove gotoolchain hack, share go cache, stream test output#3074
tbavelier merged 3 commits into
mainfrom
tbavelier/e2e-improvements

Conversation

@tbavelier

@tbavelier tbavelier commented Jun 3, 2026

Copy link
Copy Markdown
Member

What does this PR do?

Improves the operator e2e CI pipeline by:

  • removing the obsolete GOTOOLCHAIN workaround
  • pre-warming shared e2e Go module/build caches in go_e2e_deps
  • streaming go test output live in GitLab logs
image

Motivation

Reduce duplicated Go dependency work across the Kubernetes-version e2e matrix and make long e2e runs easier to debug while they are running.

Additional Notes

The e2e Go cache is scoped to e2e jobs only, and .go/.cache are ignored from Docker build contexts.

Minimum Agent Versions

  • Agent: N/A
  • Cluster Agent: N/A

Describe your test plan

  • DDCI/GitLab pipeline 116706367
  • Verified go_e2e_deps creates the e2e Go cache and matrix jobs restore it
  • go test ./hack/e2e-test-output -cover
  • golangci-lint run ./hack/e2e-test-output

Checklist

  • PR has at least one valid label: bug, enhancement, refactoring, documentation, tooling, and/or dependencies
  • PR has a milestone or the qa/skip-qa label
  • All commits are signed (see: signing commits)

@datadog-prod-us1-5

datadog-prod-us1-5 Bot commented Jun 3, 2026

Copy link
Copy Markdown

Code Coverage

Fix all issues with BitsAI

🛑 Gate Violations

🎯 1 Code Coverage issue detected

A Patch coverage percentage gate may be blocking this PR.

Patch coverage: 75.00% (threshold: 80.00%)

ℹ️ Info

🎯 Code Coverage (details)
Patch Coverage: 75.00%
Overall Coverage: 43.47% (+0.24%)

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 6d04376 | Docs | Datadog PR Page | Give us feedback!

@codecov-commenter

codecov-commenter commented Jun 3, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 72.22222% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 43.42%. Comparing base (3579eb4) to head (6d04376).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
hack/e2e-test-output/main.go 72.22% 4 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3074      +/-   ##
==========================================
+ Coverage   42.90%   43.42%   +0.52%     
==========================================
  Files         341      342       +1     
  Lines       29403    29751     +348     
==========================================
+ Hits        12614    12920     +306     
- Misses      15965    15991      +26     
- Partials      824      840      +16     
Flag Coverage Δ
unittests 43.42% <72.22%> (+0.52%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
hack/e2e-test-output/main.go 72.22% <72.22%> (ø)

... and 9 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3579eb4...6d04376. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tbavelier
tbavelier marked this pull request as ready for review June 3, 2026 09:08
@tbavelier
tbavelier requested a review from a team June 3, 2026 09:08

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: edfdc85b25

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .gitlab-ci.yml Outdated
…ing image jobs + safety measure for dockerignore
@tbavelier

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@tbavelier
tbavelier merged commit 5301a0c into main Jun 4, 2026
37 of 38 checks passed
@tbavelier
tbavelier deleted the tbavelier/e2e-improvements branch June 4, 2026 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants