Skip to content

Fix: updates the error check on custom tasks to fail on errors #209

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Chaitanyareddy0702
Copy link
Contributor

@Chaitanyareddy0702 Chaitanyareddy0702 commented Jun 11, 2025

fix: updates the error check on custom tasks to fail on errors for workflow run

Description of your changes

This PR fixes the workflow phase showing succeded even if the workflow fails.

Fixes #

I have:

  • Read and followed KubeVela's contribution process.
  • Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Tested the changes locally


Summary by cubic

Fixed custom tasks so that workflow runs now fail correctly when post-stop hooks return errors.

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