deck: drop stale non-blocking presubmit contexts from PR status#615
deck: drop stale non-blocking presubmit contexts from PR status#615Pnkcaht wants to merge 1 commit intokubernetes-sigs:mainfrom
Conversation
Signed-off-by: pnkcaht <[email protected]>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Pnkcaht The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
✅ Deploy Preview for k8s-prow ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Welcome @Pnkcaht! |
|
Hi @Pnkcaht. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
Thanks for linking this to #36399 and working on the Deck-side cleanup. Just to confirm: this addresses the stale non-blocking contexts in the PR UI, while the separate issues around prow comment delta-updates and |
This PR focuses specifically on the Deck-side cleanup by filtering out those stale contexts from the UI. The issues regarding Prow comment delta-updates and the /skip behavior are indeed separate and will remain as follow-ups :) |
|
Thanks for the clarification. |
Sure @kkauy , as soon as this pull request is merged, I'll start the continuation and let you know there :) |
|
Sounds good, thanks! I’ll keep an eye on this and would be happy to help with the follow-up once it’s merged. |
Sure, thank you for that |
ivankatliarchuk
left a comment
There was a problem hiding this comment.
Am I correctly understand this
The PR title says "non-blocking presubmit contexts" but the change drops all GitHub-only contexts. If a PR has required status checks from non-Prow CI (GitHub Actions, external bots, etc.), they will silently disappear from Deck's PR status view.
No test files exist for getFullPRContext and none are added. The behavioral change is non-trivial and this function deserves at minimum a few unit tests covering:
- ProwJob-only context (no GitHub counterpart)
- GitHub-only context (should now be dropped)
- Matching pair with state mismatch → discrepancy populated
- Matching pair with state match → no discrepancy
What I did
Related issue
Fixes: #36399
What still needs to be done
/skipbehavior with comment state reset semantics.This was not addressed here because it is a larger behavioral change and needs agreement from the Prow team before implementation.