hashgraph / hashgraph/solo-weaver
Run pkg/jobs at pre-install phase in install handler
- Dominant language
- Go
- Stars
- 3
- Forks
- 0
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 46
Description
**Epic:** #1080
In the pre-install step of `internal/bll/*/install_handler.go`, call:
```go
jobs.RunPhaseJobs(ctx, dynamicClient, k8sClient, jobsDir, operationID, namespace, jobs.Install, jobs.PhaseInstallPreInstall)
```
The `operationID` for install operations should be a deterministic identifier (e.g. derived from node ID + install timestamp).
## Acceptance Criteria
- [ ] Jobs run before CN is deployed to the cluster
- [ ] Abort halts install; returns error up the call stack
- [ ] Unit tested
Contributor guide
Research direction
Start by reading the install handlers under internal/bll/*/install_handler.go and the jobs.RunPhaseJobs entry point to trace the pre-install flow and current operationID source. Add coverage for successful pre-install execution and abort error propagation; done means jobs run before CN deployment and unit tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100