Skip to content

fix(ci): run integration tests when a binary they launch changes - #4131

Merged
hubcio merged 3 commits into
masterfrom
fix/ci-dag-integration-scope
Sep 12, 2026
Merged

fix(ci): run integration tests when a binary they launch changes#4131
hubcio merged 3 commits into
masterfrom
fix/ci-dag-integration-scope

Conversation

@hubcio

@hubcio hubcio commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

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.

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`.
@github-actions github-actions Bot added the S-waiting-on-review PR is waiting on a reviewer label Sep 11, 2026
@codecov

codecov Bot commented Sep 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.67%. Comparing base (dc2b382) to head (9d1df4f).
⚠️ Report is 2 commits behind head on master.

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     
Components Coverage Δ
Rust Core 87.63% <96.26%> (+0.30%) ⬆️
Java SDK 67.58% <ø> (ø)
C# SDK 76.98% <ø> (+0.01%) ⬆️
Python SDK 91.34% <ø> (ø)
PHP SDK 85.65% <ø> (ø)
Node SDK 96.26% <ø> (+0.08%) ⬆️
Go SDK 69.48% <ø> (+0.07%) ⬆️
see 40 files with indirect coverage changes
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hubcio
hubcio merged commit 309662d into master Sep 12, 2026
103 checks passed
@hubcio
hubcio deleted the fix/ci-dag-integration-scope branch September 12, 2026 12:53
@github-actions github-actions Bot removed the S-waiting-on-review PR is waiting on a reviewer label Sep 12, 2026
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.

3 participants