Skip to content

Commit 18f6345

Browse files
chore: release v2.9.4 (#3730)
* fix: properly remove activities in workflow remove if catalog is corrupt (#3729) * chore: release v2.9.4 * Update CHANGES.rst ---------
1 parent 0012737 commit 18f6345

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

CHANGES.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@
1818
Changes
1919
=======
2020

21+
`2.9.4 <https://github.com/SwissDataScienceCenter/renku-python/compare/v2.9.3...v2.9.4>`__ (2024-07-12)
22+
-------------------------------------------------------------------------------------------------------
23+
24+
Bug Fixes
25+
~~~~~~~~~
26+
27+
- properly remove activities in workflow remove if catalog is corrupt
28+
(`#3729 <https://github.com/SwissDataScienceCenter/renku-python/issues/3729>`__)
29+
(`b2418a1 <https://github.com/SwissDataScienceCenter/renku-python/commit/b2418a15c89e16e4442a1ecf11f703f4e15922e8>`__)
30+
2131
`2.9.3 <https://github.com/SwissDataScienceCenter/renku-python/compare/v2.9.2...v2.9.3>`__ (2024-04-08)
2232
-------------------------------------------------------------------------------------------------------
2333

helm-chart/renku-core/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ appVersion: "1.0"
33
description: A Helm chart for Kubernetes
44
name: renku-core
55
icon: https://avatars0.githubusercontent.com/u/53332360?s=400&u=a4311d22842343604ef61a8c8a1e5793209a67e9&v=4
6-
version: 2.9.3
6+
version: 2.9.4

helm-chart/renku-core/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ global:
88
versions:
99
latest:
1010
image:
11-
tag: v2.9.3
11+
tag: v2.9.4

renku/infrastructure/gateway/activity_gateway.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,10 @@ def _index_activity(activity: Activity, database: Database):
272272

273273
def _unindex_activity(activity: Activity, database: Database):
274274
"""Add an activity to database indexes and create its up/downstream relations."""
275+
# there are cases where the activity catalog can be corrupt and removing activities doesn't actually remove them
276+
# here we reindex them so removal works as expected
277+
reindex_catalog(database)
278+
275279
upstreams = set()
276280
downstreams = set()
277281

0 commit comments

Comments
 (0)