Skip to content

[Console] Deprecate setup-ci command - #8394

Merged
TomasVotruba merged 1 commit into
mainfrom
tv-deprecate-setup-ci
Aug 28, 2026
Merged

[Console] Deprecate setup-ci command#8394
TomasVotruba merged 1 commit into
mainfrom
tv-deprecate-setup-ci

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

The setup-ci command dropped a generic CI workflow template into the repo. It was too vague, shipped no dependency caching, and rarely matched a project's real pipeline. A CI workflow is better written explicitly per use case (an AI agent can tailor one to the repository).

execute() no longer generates files - it prints an error and returns exit code 1:

 [ERROR] The "setup-ci" command is deprecated and no longer generates
         files. Its generic template lacked caching and did not fit most
         setups. Add a CI workflow explicitly for your use case instead -
         an AI agent can tailor one to your repository.

Also removed (now unused):

  • templates/rector-github-action-check.yaml, templates/rector-gitlab-check.yaml
  • src/Git/RepositoryHelper.php (only consumer was this command)

https://claude.ai/code/session_01RiHnNDzk3DFHHgXojtfjoz

The generic CI template was too vague, lacked caching, and rarely fit a
project's real setup. A CI workflow is better added explicitly per use
case, so execute() prints an error and exits with code 1. The unused
templates and RepositoryHelper are removed.

Claude-Session: https://claude.ai/code/session_01RiHnNDzk3DFHHgXojtfjoz
@TomasVotruba
TomasVotruba merged commit 64d5c95 into main Aug 28, 2026
44 checks passed
@TomasVotruba
TomasVotruba deleted the tv-deprecate-setup-ci branch August 28, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant