Skip to content

chore(aci): remove uses of WorkflowFireHistory rollout columns #91904

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
May 19, 2025

Conversation

cathteng
Copy link
Member

#91600 refactored WorkflowFireHistory to only be created when trigger + filters conditions are met for a workflow and we fire actions for the Workflow. Thus we will no longer need the columns has_passed_filters and has_fired_actions as they are automatically true.

Remove the uses of these columns in preparation for dropping them.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label May 19, 2025
Copy link

codecov bot commented May 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

⚠️ Parser warning

The parser emitted a warning. Please review your JUnit XML file:

Warning while parsing testcase attributes: Limit of string is 1000 chars, for name, we got 2083 at 1:157340 in /home/runner/work/sentry/sentry/.artifacts/pytest.junit.xml
Additional details and impacted files
@@             Coverage Diff             @@
##           master   #91904       +/-   ##
===========================================
+ Coverage   42.02%   87.62%   +45.60%     
===========================================
  Files       10331    10356       +25     
  Lines      585944   587139     +1195     
  Branches    22585    22585               
===========================================
+ Hits       246249   514509   +268260     
+ Misses     339267    72202   -267065     
  Partials      428      428               

@cathteng cathteng marked this pull request as ready for review May 19, 2025 22:23
@cathteng cathteng requested review from a team as code owners May 19, 2025 22:23
@@ -83,8 +83,6 @@ def create_workflow_fire_histories(
workflow_id=workflow_id,
group=event_data.event.group,
event_id=event_data.event.event_id,
has_passed_filters=True,
Copy link
Contributor

Choose a reason for hiding this comment

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

are you planning to also drop these columns in an upcoming migration?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes sir

@cathteng cathteng merged commit 896150c into master May 19, 2025
61 checks passed
@cathteng cathteng deleted the cathy/aci/remove-wfh-rollout-cols-uses branch May 19, 2025 22:34
jan-auer added a commit that referenced this pull request May 20, 2025
* master: (58 commits)
  link: cleanup link (#91687)
  ref: create project_id index for organizationonboardingtask (#91918)
  storybook: smaller last edited (#91875)
  issues: fix chonk stacktrace alignment (#91891)
  alert: drop custom alert (#91892)
  insights: fix bar height (#91895)
  ref(span-buffer): Move max-memory-percentage to right CLI (#91924)
  ref(js): Factor button functionality (#91763)
  tests(resolve_groups): Clean up the tests (#91779)
  ref(span-buffer): Add backpressure (#91707)
  fix(nextjs-insights): project id is not passed to explore link (#91920)
  fix(crons): Floor seconds / microsecond on recorded dateClock (#91890)
  fix(uptime): Fix bug with the uptime_checks dataset in the events endpoint (#91824)
  ref: add state-only migration to reflect existing indexes in prod (#91901)
  ref: remove unnecssary metaclass (#91906)
  fix(stats): use data category title name (#91913)
  feat(issues): Add success messages to some actions (#91899)
  test(taskworker): Lower exec time (#91907)
  chore(aci): manually add spans for delayed workflow processing (#91908)
  chore(aci): remove uses of WorkflowFireHistory rollout columns (#91904)
  ...
@github-actions github-actions bot locked and limited conversation to collaborators Jun 4, 2025
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