Skip to content

refactor(tasks): remove diracx-task-run alias (#975) - #1025

Open
mmascher wants to merge 1 commit into
DIRACGrid:mainfrom
mmascher:issue-975-phase3-drop-diracx-task-run
Open

refactor(tasks): remove diracx-task-run alias (#975)#1025
mmascher wants to merge 1 commit into
DIRACGrid:mainfrom
mmascher:issue-975-phase3-drop-diracx-task-run

Conversation

@mmascher

@mmascher mmascher commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Summary

This is Phase 3 of issue #975. It removes the legacy diracx-task-run alias now that the new diracx-tasks name has been adopted and the corresponding diracx-charts change is already in place.

What changed

  1. Removed the old diracx-task-run console script entry.
  2. Removed the compatibility note from the CLI/doc usage text.
  3. Updated the remaining task docs and examples to use diracx-tasks only.

Do not merge this PR until the corresponding diracx-charts PR is merged and available in the target deployment path.

Fixes #975

Copilot AI lite review requested due to automatic review settings August 31, 2026 17:59
@read-the-docs-community

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Removes the legacy diracx-task-run console-script alias in the diracx-tasks package and cleans up documentation so diracx-tasks is the only supported CLI name, aligning with the Phase 3 plan in issue #975.

Changes:

  • Dropped the diracx-task-run script entry from diracx-tasks packaging.
  • Removed migration/compatibility notes that referenced the alias.
  • Updated admin docs/examples to use diracx-tasks exclusively.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
docs/dev/explanations/tasks/index.md Removes alias migration note from tasks CLI explanation.
docs/admin/how-to/tasks/run-task-manually.md Updates manual-run examples to use diracx-tasks only and removes alias note.
docs/admin/how-to/tasks/configure.md Removes alias migration note from scheduler/worker configuration doc.
diracx-tasks/src/diracx/tasks/task_run.py Removes alias mention from CLI usage/help text.
diracx-tasks/pyproject.toml Removes the diracx-task-run console script entry point.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.


`diracx-task-run` remains supported as a backward-compatible alias during migration.

This command is provided by `diracx-tasks` package and not `diracx-cli` as it is expected to be ran on the same infrastructure as the DiracX tasks workers (e.g. in debug pod in Kubernetes).
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.

[diracx-tasks] diracx-task-run should be diracx-tasks

2 participants