Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: remove spammy and not-so-useful logging in app runner (#4735)

p0ny01bbeaf05a6f
diff --git a/backend/runner/apprun/runner.go b/backend/runner/apprun/runner.go
index f0657a88ce..d940c0ff20 100644
--- a/backend/runner/apprun/runner.go
+++ b/backend/runner/apprun/runner.go
@@ -121,12 +121,14 @@ func (r *Runner) Run(ctx context.Context, wg *sync.WaitGroup) {
issue, ok := issueByID[externalApproval.IssueID]
if !ok {
- log.Error("expect to have found issue in application runner", zap.Int("issue_id", externalApproval.IssueID))
+ // issueByID is fetched before externalApprovalList and is not fresh,
+ // so it's ok not to find the correspoding issue of an externalApproval as
+ // it will be handled next round anyway.
continue
}
stages, ok := stagesByPipelineID[issue.PipelineUID]
if !ok {
- log.Error("expect to have found pipeline in application runner", zap.Int("pipeline_id", issue.PipelineUID))
+ log.Debug("expect to have found pipeline in application runner", zap.Int("pipeline_id", issue.PipelineUID))
continue
}
activeStage := utils.GetActiveStage(stages)