Skip to content

DO-1765: fail AIO app deploy when a build hook fails - #198

Merged
tmthrgd-aligent merged 1 commit into
mainfrom
fix/DO-1765_silent_failure_on_aio_hook_error
Nov 10, 2026
Merged

tmthrgd-aligent merged 1 commit into
mainfrom
fix/DO-1765_silent_failure_on_aio_hook_error

Conversation

@tmthrgd-aligent

Copy link
Copy Markdown
Contributor

aio app deploy logs pre-app-build and post-app-build hook failures but carries on and exits 0 (aio-cli-plugin-app catches them with this.log), unlike the deploy hooks, which stop the deploy. A failing type check or generation hook therefore still deploys and reports success; a non-executable hook deployed no actions at all while the job passed.

Keep the deploy output and fail the step if a hook logged "Command failed with exit code N".

Description of the proposed changes

Screenshots (if applicable)

Other solutions considered (if any)

Notes to PR author

⚠️ Please make sure the changes adhere to the guidelines mentioned in our contribution guide.

Notes to reviewers

ℹ️ When you've finished leaving feedback, please add a final comment to the PR tagging the author, letting them know that you have finished leaving feedback

Time Tracking

ABC-xxx: code review, select project XXXX

aio app deploy logs pre-app-build and post-app-build hook failures but
carries on and exits 0 (aio-cli-plugin-app catches them with this.log),
unlike the deploy hooks, which stop the deploy. A failing type check or
generation hook therefore still deploys and reports success; a
non-executable hook deployed no actions at all while the job passed.

Keep the deploy output and fail the step if a hook logged
"Command failed with exit code N".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tmthrgd-aligent
tmthrgd-aligent requested a review from a team as a code owner November 9, 2026 05:07
@tmthrgd-aligent
tmthrgd-aligent merged commit c558567 into main Nov 10, 2026
3 checks passed
@tmthrgd-aligent
tmthrgd-aligent deleted the fix/DO-1765_silent_failure_on_aio_hook_error branch November 10, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants