refactor(tasks): remove diracx-task-run alias (#975) - #1025
Open
mmascher wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
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-runscript entry fromdiracx-taskspackaging. - Removed migration/compatibility notes that referenced the alias.
- Updated admin docs/examples to use
diracx-tasksexclusively.
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). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This is Phase 3 of issue #975. It removes the legacy
diracx-task-runalias now that the newdiracx-tasksname has been adopted and the correspondingdiracx-chartschange is already in place.What changed
diracx-task-runconsole script entry.diracx-tasksonly.Do not merge this PR until the corresponding
diracx-chartsPR is merged and available in the target deployment path.Fixes #975