Files
crewAI/lib/cli/tests/deploy
João MouraandClaude Opus 5.5 aa5f2acd9b
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Vulnerability Scan / Detect changes (push) Has been cancelled
Vulnerability Scan / pip-audit (push) Has been cancelled
Nightly Canary Release / Check for new commits (push) Has been cancelled
Nightly Canary Release / Build nightly packages (push) Has been cancelled
Nightly Canary Release / Publish nightly to PyPI (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
deploy push reads AMP's comparison refusal by its code (#8161)
* deploy push reads AMP's comparison refusal by its code

AMP's 409 for a deployment with a models comparison running now carries
the sentence in `error`, because every released CLI prints a failed
request's `error` and none has `--force`; the refusal is named in
`code`. `crewai deploy push` recognises it by `code` and prints the
sentence as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Recognise AMP's refusal named in `error` too, on every route

An AMP from before the `code` field (a branch on staging, a factory that
upgrades later) names the refusal in `error`; recognising both keeps the
sentence for an upgraded CLI whichever AMP it talks to. A test covers
deploy by id, by name and the ZIP update in both shapes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 16:52:50 -03:00
..