Skip to content

feat: add DistJobStatusAction for distributed job status visibility#240

Merged
harshavardhana merged 1 commit into
minio:mainfrom
0xMALVEE:distjob-status-action
Jul 3, 2026
Merged

feat: add DistJobStatusAction for distributed job status visibility#240
harshavardhana merged 1 commit into
minio:mainfrom
0xMALVEE:distjob-status-action

Conversation

@0xMALVEE

@0xMALVEE 0xMALVEE commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

feat: add DistJobStatusAction for distributed job status visibility

Summary by CodeRabbit

  • New Features
    • Added support for a new distributed job admin action, allowing job status operations to be recognized as valid system actions.

Distributed job status (decommission and future job types built on the
same framework) needs one dedicated, type-agnostic admin action rather
than reusing ServerInfoAdminAction or branching on job type, matching
the existing convention for other status APIs (ClusterInfoAction,
RebalanceAdminAction, ListBatchJobsAction, etc).
@coderabbitai

coderabbitai Bot commented Jul 3, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 262253b8-cea9-45e0-a474-dc901b69bbfa

📥 Commits

Reviewing files that changed from the base of the PR and between 954be55 and 8efec49.

📒 Files selected for processing (1)
  • policy/admin-action.go

📝 Walkthrough

Walkthrough

Adds a new admin action constant DistJobStatusAction in the policy package and registers it in the SupportedAdminActions map, marking it as a valid admin action.

Changes

DistJobStatus Admin Action

Layer / File(s) Summary
Add and register DistJobStatusAction
policy/admin-action.go
Adds the DistJobStatusAction constant (admin:DistJobStatus) under Distributed Job APIs and registers it in the SupportedAdminActions map.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Poem

A tiny hop, a brand new key,
"DistJobStatus" now runs free,
One little line to say "I'm real,"
Registered now, sealed with zeal 🐇
Off to the burrow, job well done!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the new DistJobStatusAction added for distributed job status visibility.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@harshavardhana harshavardhana merged commit 930dc2d into minio:main Jul 3, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants