hashgraph / hashgraph/solo-weaver

Report Abort job failure via DaemonResult=Failed condition

Open Beginner friendly
#858 0 comments 0 reactions 0 assignees View on GitHub
New Feature Story
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.