Skip to content

Add delete stale nodes command - #3593

Open
butonic wants to merge 4 commits into
mainfrom
port-11707
Open

butonic wants to merge 4 commits into
mainfrom
port-11707

Conversation

@butonic

@butonic butonic commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

This PR fixes the delete stale nodes command to properly handle node cleanup by implementing event-driven revert operations instead of direct file system deletion. The fix ensures that stale processing nodes are properly rolled back through the event system rather than being forcefully removed.

  • Replaces direct file deletion with event-based revert revision mechanism
  • Updates function signatures to accept an event stream parameter
  • Adds resource ID extraction functionality for proper event handling
  • Adds documentation

builds on opencloud-eu/reva#821 and contains a reva bump

@codacy-production

codacy-production Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 42 complexity

Metric Results
Complexity 42

View in Codacy

🟢 Coverage 0.00% diff coverage · -0.05% coverage variation

Metric Results
Coverage variation ✅ -0.05% coverage variation (-1.00%)
Diff coverage ✅ 0.00% diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (4dec190) 89111 21642 24.29%
Head commit (5ff51c1) 89275 (+164) 21640 (-2) 24.24% (-0.05%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#3593) 164 0 0.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@butonic butonic self-assigned this Sep 24, 2026
@butonic butonic added the Type:Maintenance E.g. technical debt, packaging, etc. label Sep 24, 2026
@github-project-automation github-project-automation Bot moved this to Qualification in OpenCloud Team Board Sep 24, 2026
@butonic
butonic force-pushed the port-11707 branch 2 times, most recently from eb117d5 to b5bfb98 Compare September 28, 2026 13:56
@butonic
butonic marked this pull request as ready for review September 28, 2026 15:17
@butonic
butonic marked this pull request as draft September 28, 2026 15:17
@butonic
butonic marked this pull request as ready for review October 2, 2026 08:13
@butonic
butonic force-pushed the port-11707 branch 2 times, most recently from f117d58 to 05628ab Compare October 2, 2026 14:55
@butonic butonic changed the title Fix delete stale nodes command Add delete stale nodes command Oct 2, 2026
@butonic

butonic commented Oct 2, 2026

Copy link
Copy Markdown
Member Author

@fschade I think the prefix might be related to some of your changes. Could you review this?

@butonic
butonic requested a review from fschade October 2, 2026 14:57
@butonic
butonic force-pushed the port-11707 branch 2 times, most recently from b03e2a1 to af9a920 Compare October 5, 2026 11:16
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
…tion

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type:Maintenance E.g. technical debt, packaging, etc.

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

1 participant