Skip to content

feat: inject canonical DON ID into capability configuration#22635

Draft
tarcisiozf wants to merge 4 commits into
developfrom
CRE-4409-capability-don-id
Draft

feat: inject canonical DON ID into capability configuration#22635
tarcisiozf wants to merge 4 commits into
developfrom
CRE-4409-capability-don-id

Conversation

@tarcisiozf
Copy link
Copy Markdown
Contributor

Requires

Supports

@github-actions
Copy link
Copy Markdown
Contributor

I see you updated files related to core. Please run make gocs in the root directory to add a changeset as well as in the text include at least one of the following tags:

  • #added For any new functionality added.
  • #breaking_change For any functionality that requires manual action for the node to boot.
  • #bugfix For bug fixes.
  • #changed For any change to the existing functionality.
  • #db_update For any feature that introduces updates to database schema.
  • #deprecation_notice For any upcoming deprecation functionality.
  • #internal For changesets that need to be excluded from the final changelog.
  • #nops For any feature that is NOP facing and needs to be in the official Release Notes for the release.
  • #removed For any functionality/config that is removed.
  • #updated For any functionality that is updated.
  • #wip For any change that is not ready yet and external communication about it should be held off till it is feature complete.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 25, 2026

✅ No conflicts with other open PRs targeting develop

@tarcisiozf tarcisiozf force-pushed the CRE-4409-capability-don-id branch from 277a60d to 429e88e Compare May 25, 2026 19:51
@trunk-io
Copy link
Copy Markdown

trunk-io Bot commented May 25, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

Failed Test Failure Summary Logs
TestHandler_HandleGatewayMessage/capability_execute_success Logs ↗︎
TestAggregator_capabilityExec_quorumMergesSignatures The test failed during execution without providing specific error details. Logs ↗︎
TestHandler_HandleGatewayMessage/capability_execute_sets_metadata_org_id_when_PropagateOrgIDInRequestMetadata_enabled Logs ↗︎
TestHandler_HandleGatewayMessage/capability_execute_sets_Inputs_from_Payload_for_backward_compat Logs ↗︎

... and 10 more

View Full Report ↗︎Docs

}
// Host-injected: overwrite anything TOML or on-chain SpecConfig may have set.
// See CapabilityDonIDConfigKey doc.
merged[CapabilityDonIDConfigKey] = info.donID
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
merged[CapabilityDonIDConfigKey] = info.donID
if info.donID > 0 {
merged[CapabilityDonIDConfigKey] = info.donID
}

we want to make sure we're not inheriting 0 values if its not set.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for capabilities/triggers that are instantiated via job spec, this path will not be triggered, so I believe it's not complete. Lets discuss offline

@tarcisiozf tarcisiozf force-pushed the CRE-4409-capability-don-id branch from 0f4bd72 to 0de458e Compare May 29, 2026 14:37
Comment thread core/capabilities/localcapmgr/manager.go
Comment thread core/services/standardcapabilities/delegate.go Outdated
@tarcisiozf tarcisiozf force-pushed the CRE-4409-capability-don-id branch from 0de458e to fe20419 Compare May 29, 2026 18:08
@cl-sonarqube-production
Copy link
Copy Markdown

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.

2 participants