Skip to content

chore(aci): log action ids we'd fire in workflow engine #93480

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 13, 2025

Conversation

cathteng
Copy link
Member

I would like to be able to see which actions we would fire in workflow engine (post-process and delayed processing)

@cathteng cathteng requested a review from a team as a code owner June 12, 2025 21:34
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 12, 2025
Copy link

sentry-io bot commented Jun 12, 2025

🔍 Existing Issues For Review

Your pull request is modifying functions with the following pre-existing issues:

📄 File: src/sentry/workflow_engine/processors/delayed_workflow.py

Function Unhandled Issue
fire_actions_for_groups SoftTimeLimitExceeded: SoftTimeLimitExceeded() se...
Event Count: 7

Did you find this useful? React with a 👍 or 👎

Comment on lines +313 to +320
logger.info(
"workflow_engine.triggered_actions",
extra={
"detector_id": detector.id,
"action_ids": [action.id for action in actions],
"event_data": asdict(event_data),
},
)
Copy link
Contributor

Choose a reason for hiding this comment

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

should this also include the action and detector types to help with filtering? (that'd mean putting it in the for loop below.

Copy link
Member Author

Choose a reason for hiding this comment

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

for now i'm ok having this be just ids, i will be setting up some tests that will trigger 1 workflow

Copy link

codecov bot commented Jun 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #93480   +/-   ##
=======================================
  Coverage   88.03%   88.03%           
=======================================
  Files       10294    10294           
  Lines      593836   593815   -21     
  Branches    23044    23044           
=======================================
- Hits       522768   522751   -17     
+ Misses      70619    70615    -4     
  Partials      449      449           

@cathteng cathteng merged commit a2900be into master Jun 13, 2025
61 checks passed
@cathteng cathteng deleted the cathy/aci/ff-action-logs branch June 13, 2025 18:59
Copy link

sentry-io bot commented Jun 13, 2025

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ FeatureNotRegistered: The "workflow-engine-metric-alert-dual-processing-logs" feature has not been registered. Ensure that a feature has been added to sentry.features.default_manager sentry.tasks.post_process.post_process_group View Issue

Did you find this useful? React with a 👍 or 👎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants