Files
Joao MouraandClaude Opus 5.5 d3d63eacee fix(cli): deploy push reads AMP's source_type, so a ZIP deployment gets the new code
#7345 made push follow how AMP holds a deployment's code, read from a
`zip_deployment` boolean on the status. AMP's status never sends that field:
it sends `source_type` ("zip", "studio", "github", "any_git"). So push always
fell back to the local origin remote, and a ZIP deployment whose project has a
git remote was redeployed by uuid — AMP rebuilt the ZIP it already held, not
the code being pushed.

Seen on a real deployment: after raising crewai to 1.15.26, `crewai deploy push`
rebuilt the stored 1.15.23 ZIP ("CrewAI version detected: 1.15.23"), with no
upload. `zip_deployment` is still read first when a server sends it.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-09 02:36:19 -07:00
..