Skip to content

fix(aci): Report groups absent from results and treat them as non-triggering #95502

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 1 commit into from
Jul 15, 2025

Conversation

kcons
Copy link
Member

@kcons kcons commented Jul 14, 2025

Sometimes we request data from Snuba for a group but don't get anything back.
This is a problem, but it shouldn't keep other groups with full data from being evaluated.

Fixes ACI-423

@kcons kcons requested a review from a team as a code owner July 14, 2025 23:20
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 14, 2025
# If we didn't get complete query results, don't fire.
metrics.incr("workflow_engine.delayed_workflow.missing_query_result")
logger.warning(
"workflow_engine.delayed_workflow.missing_query_result", exc_info=True
Copy link
Member

Choose a reason for hiding this comment

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

Will UniqueConditionQuery be splatted in a readable manner into the logs? It's a dataclass and has a __repr__ but I'm not sure how/if exc_info uses it

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not completely sure, I think so, but it's also in the logs a bit earlier in this case, so I'm okay to wait and see.

Copy link

codecov bot commented Jul 14, 2025

Codecov Report

Attention: Patch coverage is 96.87500% with 1 line in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...try/workflow_engine/processors/delayed_workflow.py 96.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #95502      +/-   ##
==========================================
+ Coverage   77.34%   84.11%   +6.77%     
==========================================
  Files       10534    10538       +4     
  Lines      607326   607433     +107     
  Branches    23801    23801              
==========================================
+ Hits       469745   510956   +41211     
+ Misses     137286    96182   -41104     
  Partials      295      295              

@kcons kcons merged commit f0c80ee into master Jul 15, 2025
65 checks passed
@kcons kcons deleted the kcons/nokeyerr branch July 15, 2025 03:50
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.

2 participants