Skip to content

feat(actions): Log Action deduplication#109160

Merged
kcons merged 1 commit intomasterfrom
kcons/notedupes
Feb 24, 2026
Merged

feat(actions): Log Action deduplication#109160
kcons merged 1 commit intomasterfrom
kcons/notedupes

Conversation

@kcons
Copy link
Member

@kcons kcons commented Feb 24, 2026

We don't currently have any record of when actions are dropped due to dedup, so it's hard to assess the impact of or debug potential misbehavior of deduplication.
This adds suitably detailed logging (economical given that this requires triggering, and triggering is relatively rare) and a counter tagged with group type.

Related: ISWF-1946

@kcons kcons requested a review from a team as a code owner February 24, 2026 00:03
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Feb 24, 2026
Copy link
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

extra={
"dedup_key": dedup_key,
"dropped_action_ids": sorted(action_ids),
"replacement_action_id": dedup_key_to_action_id[dedup_key],
Copy link
Contributor

Choose a reason for hiding this comment

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

Dedup logs expose action configuration secrets

Medium Severity

get_unique_active_actions now logs raw dedup_key in action.py. dedup_key is built from Action.config and Action.data, so this can emit sensitive values like webhook URLs, integration identifiers, or user-target data into logs and log pipelines.

Fix in Cursor Fix in Web

Copy link
Member Author

Choose a reason for hiding this comment

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

Sensitive, but not secret, which should be fine given that this is going to logs.
Might drop the dedup key to be safe though, as it isn't critical, though there are cases in which it may be useful.

@kcons kcons requested a review from ceorourke February 24, 2026 00:50
@kcons kcons merged commit 8fe1e66 into master Feb 24, 2026
83 checks passed
@kcons kcons deleted the kcons/notedupes branch February 24, 2026 17:31
mchen-sentry pushed a commit that referenced this pull request Feb 24, 2026
We don't currently have any record of when actions are dropped due to
dedup, so it's hard to assess the impact of or debug potential
misbehavior of deduplication.
This adds suitably detailed logging (economical given that this requires
triggering, and triggering is relatively rare) and a counter tagged with
group type.


Related: ISWF-1946
wedamija pushed a commit that referenced this pull request Feb 24, 2026
We don't currently have any record of when actions are dropped due to
dedup, so it's hard to assess the impact of or debug potential
misbehavior of deduplication.
This adds suitably detailed logging (economical given that this requires
triggering, and triggering is relatively rare) and a counter tagged with
group type.


Related: ISWF-1946
@github-actions github-actions bot locked and limited conversation to collaborators Mar 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants