kubesphere / kubesphere/ks-devops
Request to limit reconciliations for PipelineRun reconciler
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 164
- Forks
- 140
- PR merge metrics
- No merged PRs in 30d
Description

As you can see, there have 672298 reconciliations in 23 days due to PipelineRun not found in Jenkins. PipelineRun reconciler suffered a terribly ineffective loop, because it never wakes up.
It's necessary to limit the reconciliations for the reconciler to prevent too many meaningless loops:
- Time limit: set timeout for every PipelineRun CR
- Reconciliations limit: set reconciliation limit for every PipelineRun CR
/kind feature
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the PipelineRun reconciler behavior when Jenkins cannot find a PipelineRun and confirm why it repeatedly reconciles. Define how a timeout and a reconciliation limit should apply to each PipelineRun CR; done means meaningless reconciliation loops stop under both limits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- ci-cd, devops
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100