fix(ci): run integration tests when a binary they launch changes - #4131
Merged
Conversation
DAG test scoping runs the tests of changed crates and of crates that depend on them in cargo metadata. `integration` launches `iggy-server`, `iggy-connectors`, `iggy-mcp` and `iggy-bench` through `Command::cargo_bin`, an edge cargo cannot see. A PR that changed only `server`, `shard`, `partitions`, `metadata`, the connectors runtime, MCP or bench ran no integration test before merge. When one of those packages is affected, the step now adds `integration` to the test scope. The DAG selects the binary package for any change to a crate it links, so this also covers crates such as `partitions`.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4131 +/- ##
============================================
+ Coverage 86.38% 86.67% +0.28%
Complexity 1455 1455
============================================
Files 1259 1267 +8
Lines 205992 211595 +5603
Branches 171193 176795 +5602
============================================
+ Hits 177955 183395 +5440
- Misses 23597 23686 +89
- Partials 4440 4514 +74
🚀 New features to boost your workflow:
|
spetz
approved these changes
Sep 12, 2026
mmodzelewski
approved these changes
Sep 12, 2026
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.
DAG test scoping runs the tests of changed crates and of crates
that depend on them in cargo metadata.
integrationlaunchesiggy-server,iggy-connectors,iggy-mcpandiggy-benchthrough
Command::cargo_bin, an edge cargo cannot see. A PR thatchanged only
server,shard,partitions,metadata, theconnectors runtime, MCP or bench ran no integration test before
merge.
When one of those packages is affected, the step now adds
integrationto the test scope. The DAG selects the binarypackage for any change to a crate it links, so this also covers
crates such as
partitions.