Skip to content

Conversation

@amanda11
Copy link
Contributor

@amanda11 amanda11 commented Apr 1, 2022

Merge of PR #4924
Closes #4939
Closes #4924

srimandaleeka01 and others added 12 commits April 27, 2020 14:33
======================================================================
1) ERROR: test_run (test_action_unload.UnloadActionTestCase)
----------------------------------------------------------------------
   Traceback (most recent call last):
    tests/test_action_unload.py line 100 in test_run
      action.run(packs=[pack])
    actions/pack_mgmt/unload.py line 68 in run
      self._unregister_rules(pack=pack)
    actions/pack_mgmt/unload.py line 99 in _unregister_rules
      cleanup_trigger_db_for_rule(rule_db=rule_db)
    /home/runner/work/st2/st2/st2common/st2common/services/triggers.py line 332 in cleanup_trigger_db_for_rule
      Trigger.delete_if_unreferenced(existing_trigger_db)
    /home/runner/work/st2/st2/st2common/st2common/persistence/trigger.py line 61 in delete_if_unreferenced
      cls._get_impl().delete_by_query(**delete_query)
    /home/runner/work/st2/st2/st2common/st2common/models/db/__init__.py line 479 in delete_by_query
      super(self)
   TypeError: super() argument 1 must be type, not MongoDBAccess
@pull-request-size pull-request-size bot added the size/XL PR that changes 500-999 lines. Consider splitting work into several ones that easier to review. label Apr 1, 2022
@amanda11 amanda11 marked this pull request as draft April 1, 2022 10:26
@amanda11 amanda11 changed the title Changes to support new purge task executions and purge workflows [WIP] Changes to support new purge task executions and purge workflows Apr 1, 2022
@amanda11 amanda11 changed the title [WIP] Changes to support new purge task executions and purge workflows Changes to support new purge task executions and purge workflows Apr 1, 2022
@amanda11 amanda11 marked this pull request as ready for review April 1, 2022 12:30
@amanda11 amanda11 added this to the 3.7.0 milestone Apr 1, 2022
Copy link
Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

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

Awesome work @amanda11 and @cognifloyd bringing the stale #4924 into life 👍

@arm4b arm4b requested a review from cognifloyd April 1, 2022 14:27
+ a few misc spacing cleanups
@cognifloyd cognifloyd enabled auto-merge April 1, 2022 14:37
@cognifloyd cognifloyd merged commit d25d43f into master Apr 1, 2022
@cognifloyd cognifloyd deleted the merge_purge_workflows branch April 1, 2022 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement size/XL PR that changes 500-999 lines. Consider splitting work into several ones that easier to review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support purge operations for st2 Workflows and TaskExecution

5 participants