ci(go): merge BDD and e2e test coverage into Go SDK Codecov reports#2859
Open
atharvalade wants to merge 8 commits intoapache:masterfrom
Open
ci(go): merge BDD and e2e test coverage into Go SDK Codecov reports#2859atharvalade wants to merge 8 commits intoapache:masterfrom
atharvalade wants to merge 8 commits intoapache:masterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2859 +/- ##
============================================
+ Coverage 68.36% 69.93% +1.57%
Complexity 739 739
============================================
Files 1053 1053
Lines 84763 84763
Branches 61297 61307 +10
============================================
+ Hits 57948 59283 +1335
+ Misses 24448 22996 -1452
- Partials 2367 2484 +117
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
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.
Which issue does this PR close?
Closes #2858
Rationale
Go SDK coverage was only capturing unit tests from
foreign/go/, missing all BDD integration tests (bdd/go/) and e2e tests that exercise the SDK through a running server. This artificially deflated the reported coverage.What changed?
The post-merge
go-coveragejob and pre-mergee2etask only rancd foreign/go && go test ./..., ignoring 49 BDD test files inbdd/go/that exercise streams, topics, messaging, consumer groups, offsets, users, and more through the SDK.Now both workflows also run
bdd/gotests with-coverpkg=github.com/apache/iggy/foreign/go/...to capture SDK code coverage from integration tests, merge the profiles, and upload the combined result to Codecov. The_test.ymlupload step now triggers on bothtestande2etasks, matching the Node SDK pattern.Local Execution
AI Usage