Skip to content

[CRE-4972] Test that capabilities and workflows DONs are only attached to each other if share the same family - #23782

Merged
pavel-raykov merged 2 commits into
developfrom
add-routing-test
Sep 21, 2026
Merged

pavel-raykov merged 2 commits into
developfrom
add-routing-test

Conversation

@pavel-raykov

@pavel-raykov pavel-raykov commented Sep 18, 2026

Copy link
Copy Markdown
Collaborator

Adds two tests:

  • TestLauncher_OnNewRegistry_FiltersRemoteCapabilityDONsByFamily tests that a workflow DON is only connected to the capability DON from the same family. Unlike TestLauncher_ShardedCapabilityRoutingByFamily it tests the non-connection with a capability by explicitly querying the local registry (this is now possible because the non-connected capability DON uses a different capability ID)
  • TestLauncher_OnNewRegistry_FiltersRemoteWorkflowDONsByFamily is the the serve-side mirror of
    TestLauncher_OnNewRegistry_FiltersRemoteCapabilityDONsByFamily: it tests that a capability DON is only serving the workflow DON from the same family. This is the first test that explicitly checks that the capability serving Server would 1. has expected config with the workflow DON from the same family and 2. reject messages from the workflow DONs with a different family.

@pavel-raykov pavel-raykov changed the title [CRE-4972] Ensure that capabilities and workflows are only attached to each other if have the same family [CRE-4972] Test that capabilities and workflows DONs are only attached to each other if have the same family Sep 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

✅ No conflicts with other open PRs targeting develop

@pavel-raykov pavel-raykov changed the title [CRE-4972] Test that capabilities and workflows DONs are only attached to each other if have the same family [CRE-4972] Test that capabilities and workflows DONs are only attached to each other if share the same family Sep 18, 2026
@trunk-io

trunk-io Bot commented Sep 18, 2026

Copy link
Copy Markdown

Static BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@pavel-raykov
pavel-raykov marked this pull request as ready for review September 18, 2026 20:41
@pavel-raykov
pavel-raykov requested review from a team as code owners September 18, 2026 20:41
@pavel-raykov
pavel-raykov requested a review from bolekk September 18, 2026 20:41
@cl-sonarqube-production

Copy link
Copy Markdown

@pavel-raykov
pavel-raykov added this pull request to the merge queue Sep 21, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 21, 2026
@pavel-raykov
pavel-raykov added this pull request to the merge queue Sep 21, 2026
Merged via the queue into develop with commit 70b500b Sep 21, 2026
136 checks passed
@pavel-raykov
pavel-raykov deleted the add-routing-test branch September 21, 2026 10:44
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