You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a scenario where users are submitting merge requests to a gitlab repo (correctly enrolled with PaC) from a private fork that PaC doesn't have access to with its token. PaC sees the merge request event, but cannot access the private fork to retrieve the pipelienrun definition - and it fails. It will emit errors in its controller logs about this, but the end user doesn't see this. It looks like silence from PaC in the merge request itself.
💡 When PaC cannot start a pipelinerun on a mergerequest or pull request event for some reason like this, it should comment on the PR/MR with the reason. Even if not much useful information can be provided, it is better than radio silence.
There are some cases (like evaluation of on-cel-expression that precludes the execution of the pipelinerun) where a comment on the PR/MR is not desirable.
The text was updated successfully, but these errors were encountered:
There, the user had an invalid pipelinerun (their task had runAftter: mytask instead of runAfter: [mytask]). PaC failed in its controller logs with: tekton validation error: json: cannot unmarshal string into Go struct field PipelineTask.spec.pipelineSpec.tasks.runAfter of type []string, but the user had no idea. They just assumed PaC was broken because they got no feedback on the PR.
We have a scenario where users are submitting merge requests to a gitlab repo (correctly enrolled with PaC) from a private fork that PaC doesn't have access to with its token. PaC sees the merge request event, but cannot access the private fork to retrieve the pipelienrun definition - and it fails. It will emit errors in its controller logs about this, but the end user doesn't see this. It looks like silence from PaC in the merge request itself.
💡 When PaC cannot start a pipelinerun on a mergerequest or pull request event for some reason like this, it should comment on the PR/MR with the reason. Even if not much useful information can be provided, it is better than radio silence.
There are some cases (like evaluation of on-cel-expression that precludes the execution of the pipelinerun) where a comment on the PR/MR is not desirable.
The text was updated successfully, but these errors were encountered: