chore: report result when action fails
- close: #10062
Auto Cherry-pick Instructions
Usage:
- /nopick: Not auto cherry-pick when PR merged.
- /pick: release-x.x [release-x.x]: Auto cherry-pick to the specified branch when PR merged.
Example:
- /nopick
- /pick release-1.1
Codecov Report
:x: Patch coverage is 55.55556% with 8 lines in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 51.31%. Comparing base (ea54720) to head (ee670af).
:warning: Report is 53 commits behind head on main.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| pkg/kbagent/service/action_utils.go | 55.55% | 6 Missing and 2 partials :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #10063 +/- ##
==========================================
- Coverage 51.38% 51.31% -0.07%
==========================================
Files 540 540
Lines 58973 58985 +12
==========================================
- Hits 30306 30271 -35
- Misses 25688 25747 +59
+ Partials 2979 2967 -12
| Flag | Coverage Δ | |
|---|---|---|
| unittests | 51.31% <55.55%> (-0.07%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Check my previous PR https://github.com/apecloud/kubeblocks/pull/9454. Do you want the similar thing?
Check my previous PR #9454. Do you want the similar thing?
yes, report result would be helpful for debug, especially in scenarios where action execution times out
For now, if an action exits normally:
- stdout is logged
- stderr is not logged
If we want to align with API definitions, we should always log stderr and never log stdout? @leon-ape what's your point?
For now, if an action exits normally:
- stdout is logged
- stderr is not logged
If we want to align with API definitions, we should always log stderr and never log stdout? @leon-ape what's your point?
+1, it is reasonable for general action calls.
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment