Skip to content

[Cleanup]: Remove ExecutionMetricsOnWebhooksFlag and always attach execution metrics #2656

@AdaAibaby

Description

@AdaAibaby

This ExecutionMetricsOnWebhooksFlag flag is always enabled in production and there is no known use case for disabling it. Keeping the flag adds unnecessary branching and cognitive overhead.

This issue proposes to:

  1. Remove the ExecutionMetricsOnWebhooksFlag feature flag
  2. Always attach execution metrics to webhook events
  3. Delete the flag definition and related constants

This is a cleanup / simplification change with no user-facing behavior change.

Motivation

  • Reduce feature flag surface area
  • Make webhook behavior deterministic
  • Improve maintainability and readability

Request for Approval

Since this is a straightforward cleanup, I’d like to ask if it’s okay to open a PR for this.
Happy to follow whatever direction you prefer — just wanted to check before starting the work 🙂

/cc @jakubno

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions