hashgraph / hashgraph/solo-weaver
Report Abort job failure via DaemonResult=Failed condition
- Dominant language
- Go
- Stars
- 3
- Forks
- 0
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 46
Description
**Epic:** #1080
Add a new failure reason constant `ReasonDaemonCustomJobFailed` (alongside existing `ReasonDaemonFileDownloadFailed`, etc. in `networkupgrade_common_types.go` in solo-operator). When `RunPhaseJobs` returns an Abort error in the daemon, set:
```
DaemonResult=Failed
Reason=ReasonDaemonCustomJobFailed
Message=:
```
## Acceptance Criteria
- [ ] New reason constant added to `networkupgrade_common_types.go` in solo-operator
- [ ] Daemon sets the condition correctly on Abort failure
- [ ] Existing DaemonResult success path is unaffected
Contributor guide
Research direction
Start by reading networkupgrade_common_types.go for the existing daemon failure reasons, then trace the daemon entry point where RunPhaseJobs handles an Abort error. Confirm that the new reason and DaemonResult=Failed condition use the job descriptor stem and exit code, while the existing success path remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 76/100