Skip to content

Swarm: testing mutually-exclusive nodes#1636

Merged
mariomac merged 2 commits into
open-telemetry:mainfrom
mariomac:test-swarm-mutex-nodes
Mar 26, 2026
Merged

Swarm: testing mutually-exclusive nodes#1636
mariomac merged 2 commits into
open-telemetry:mainfrom
mariomac:test-swarm-mutex-nodes

Conversation

@mariomac
Copy link
Copy Markdown
Contributor

Summary

In #1584 , I suggested a pattern for creating two parallel nodes whose execution is mutually exclusive (will run either or another, sharing the same input/output channels, but never both or none).

This PR just adds a unit test verifying that this pattern is doable in the current pipeline engine, also making sure that we don't break it in the future.

Validation

@mariomac mariomac requested a review from a team as a code owner March 24, 2026 14:45
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 44.60%. Comparing base (0249802) to head (f3f7372).
⚠️ Report is 19 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1636      +/-   ##
==========================================
+ Coverage   44.45%   44.60%   +0.14%     
==========================================
  Files         333      333              
  Lines       35850    35928      +78     
==========================================
+ Hits        15937    16024      +87     
+ Misses      18907    18897      -10     
- Partials     1006     1007       +1     
Flag Coverage Δ
integration-test 21.04% <ø> (+0.03%) ⬆️
integration-test-arm 0.00% <ø> (ø)
integration-test-vm-x86_64-5.15.152 ?
integration-test-vm-x86_64-6.10.6 ?
k8s-integration-test 2.18% <ø> (-0.01%) ⬇️
oats-test 0.00% <ø> (ø)
unittests 47.86% <ø> (+0.12%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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.

@mariomac mariomac merged commit 19c8eed into open-telemetry:main Mar 26, 2026
68 checks passed
@MrAlias MrAlias added this to the v0.7.0 milestone Apr 1, 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