Skip to content

Commit

Permalink
chore: release v2.9.4 (#3730)
Browse files Browse the repository at this point in the history
* fix: properly remove activities in workflow remove if catalog is corrupt (#3729)

* chore: release v2.9.4

* Update CHANGES.rst

---------
  • Loading branch information
github-actions[bot] authored Jul 12, 2024
1 parent 0012737 commit 18f6345
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@
Changes
=======

`2.9.4 <https://github.com/SwissDataScienceCenter/renku-python/compare/v2.9.3...v2.9.4>`__ (2024-07-12)
-------------------------------------------------------------------------------------------------------

Bug Fixes
~~~~~~~~~

- properly remove activities in workflow remove if catalog is corrupt
(`#3729 <https://github.com/SwissDataScienceCenter/renku-python/issues/3729>`__)
(`b2418a1 <https://github.com/SwissDataScienceCenter/renku-python/commit/b2418a15c89e16e4442a1ecf11f703f4e15922e8>`__)

`2.9.3 <https://github.com/SwissDataScienceCenter/renku-python/compare/v2.9.2...v2.9.3>`__ (2024-04-08)
-------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion helm-chart/renku-core/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ appVersion: "1.0"
description: A Helm chart for Kubernetes
name: renku-core
icon: https://avatars0.githubusercontent.com/u/53332360?s=400&u=a4311d22842343604ef61a8c8a1e5793209a67e9&v=4
version: 2.9.3
version: 2.9.4
2 changes: 1 addition & 1 deletion helm-chart/renku-core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ global:
versions:
latest:
image:
tag: v2.9.3
tag: v2.9.4
4 changes: 4 additions & 0 deletions renku/infrastructure/gateway/activity_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,10 @@ def _index_activity(activity: Activity, database: Database):

def _unindex_activity(activity: Activity, database: Database):
"""Add an activity to database indexes and create its up/downstream relations."""
# there are cases where the activity catalog can be corrupt and removing activities doesn't actually remove them
# here we reindex them so removal works as expected
reindex_catalog(database)

upstreams = set()
downstreams = set()

Expand Down

0 comments on commit 18f6345

Please sign in to comment.