Skip to content

[2.74.2 hotfix] Gate workflow execution metadata behind FeatureExecutionMetadataActivePeriod - #24248

Draft
prashantkumar1982 wants to merge 5 commits into
release/2.74.1from
hotfix/2.74.2-execution-metadata-active-period
Draft

prashantkumar1982 wants to merge 5 commits into
release/2.74.1from
hotfix/2.74.2-execution-metadata-active-period

Conversation

@prashantkumar1982

Copy link
Copy Markdown
Contributor

Hotfix 2.74.2: gate workflow execution metadata

Backport of #24246 onto release/2.74.1, to ship as 2.74.2-rc.0.

Problem

#24193 (in 2.74.x) added WorkflowExecutionMetadata to every workflow's ExecuteRequest unconditionally. Confidential-workflows requests hash PublicData (which embeds that request) across nodes, so a DON mixing 2.73 and 2.74 nodes splits into batches that never reach quorum (quorum_timeout, 1 of 7 on prod zone-a, after the first node was upgraded).

Fix

Execution metadata is only sent when the execution timestamp falls inside the new atomic PerWorkflow.FeatureExecutionMetadataActivePeriod window (default off), so 2.74.x emits the same request as 2.73 until the window is enabled DON-wide. Applies to base_engine.go (Subscribe and startExecution) and the standalone engine.

Contents

Verification

Workflow packages build, vet and core/services/workflows/v2 + cmd tests pass locally. In #24246 CI everything is green except the confidential Relay mixed-env test, which is expected while the develop baseline still sends metadata unconditionally.

🤖 Generated with Claude Code

prashantkumar1982 and others added 5 commits November 19, 2026 18:02
…ivePeriod

Populate WorkflowExecutionMetadata in the ExecuteRequest (engine subscribe
and trigger paths, standalone engine) only while the window covers the
execution timestamp. Off by default: the field changes the request bytes
that confidential workflows hash across nodes, so mixed-version DONs
diverged (enclave quorum timeout, 1 of 7 signatures).

Requires chainlink-common FeatureExecutionMetadataActivePeriod (#2566).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
With metadata behind FeatureExecutionMetadataActivePeriod, the test enables
the window on every DON node at once, so baseline and PR nodes agree and the
mixed-env skips added with CRE-5839 are no longer needed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…rom year 1

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ePeriod

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

✅ No conflicts with other open PRs targeting release/2.74.1

This branch has not been deployed

No deployments
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.

1 participant