Remove git-agent CLI utility replaced by prefect worker #6755
+0
−202
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.
The git-agent CLI entry-point and associated code has been replaced with the prefect worker system as mentioned in issue #5584. This PR completes the removal of the deprecated CLI utility while preserving all underlying git functionality.
Changes Made
Removed Files
backend/infrahub/cli/git_agent.py
- The CLI module itselfdocs/docs/reference/infrahub-cli/infrahub-git-agent.mdx
- CLI documentationUpdated Files
backend/infrahub/cli/__init__.py
- Removed git_agent import and CLI integrationbackend/tests/unit/cli/test_cli.py
- Removedtest_git_agent_app
testtasks/docs.py
- Removed git-agent from documentation generationWhat's Preserved
Migration Path
The functionality previously provided by:
Is now handled automatically by the prefect worker system, providing better reliability, error handling, and supervision as described in the 1.1.0 release notes.
This completes the migration started in PR #6026.
Fixes #5584.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.