Skip to content

Issue-3938 rest_deploy should throw errors just like SOAP deploy does#3940

Merged
jstvz merged 3 commits into
SFDO-Tooling:mainfrom
yippie:bug/issue-3938-rest-deploy-error
May 27, 2026
Merged

Issue-3938 rest_deploy should throw errors just like SOAP deploy does#3940
jstvz merged 3 commits into
SFDO-Tooling:mainfrom
yippie:bug/issue-3938-rest-deploy-error

Conversation

@yippie
Copy link
Copy Markdown
Contributor

@yippie yippie commented Dec 18, 2025

If cumulusCI Deploy task is using REST to do the metadata deploy, errors happen silently and the task reports success. This is different from when using SOAP, which will raise an exception.

Add exception raising to the Rest_deploy handler.

@yippie yippie requested a review from a team as a code owner December 18, 2025 16:26
yippie and others added 2 commits May 26, 2026 17:15
Add import of MetadataApiError and MetadataComponentFailure to
rest_deploy.py (was missing, causing NameError). Update tests to
expect the new exceptions via pytest.raises.
@jstvz jstvz force-pushed the bug/issue-3938-rest-deploy-error branch from f275acf to 06697fa Compare May 27, 2026 00:19
@jstvz jstvz enabled auto-merge (squash) May 27, 2026 00:20
Copy link
Copy Markdown
Contributor

@jstvz jstvz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Required checks pass (3.11-3.13). Branch updated to current main.

@jstvz jstvz merged commit cdea30d into SFDO-Tooling:main May 27, 2026
21 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants