← Back to Pull requests

Move verify-gomodguard to its own script #22791

Merged
max77p merged 3 files (53 lines) on Nov 11, 2026 19:47 UTC
View on GitHub
max77p max77p commented on Nov 11, 2026 19:03 UTC
Author

Moves verify-gomodguard to its own script as per 22727

Follow the approach of a script per Makefile target. Moved under scripts/verify/gomodguard for consistency.

Diff: 53 lines (+35 / -18) across 3 files Reviewer: serathius Review duration: 43m
All Vouch review confidence checks passed
Residual risk 0.08 = Change Risk (0.30) × (1 − Review Confidence (0.72)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.30 · 53 lines diff across 3 files
0.30
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.58 · 5 substantive comment(s)
0.58
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
71%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.239
Real PR Conversation Timeline
8 items
kubernetes-prow[bot] kubernetes-prow[bot] commented on Nov 11, 2026 19:03 UTC
Bot

Hi @max77p. Thanks for your PR.

I'm waiting for a etcd-io member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

<details>

Instructions 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.
</details>

jberkus jberkus commented on Nov 11, 2026 19:07 UTC
Contributor

/ok-to-test

ivanvc ivanvc commented on Nov 11, 2026 19:07 UTC
Contributor

/ok-to-test

serathius serathius approved these changes on Nov 11, 2026 19:18 UTC
Approved Reviewer

Approved these changes.

kubernetes-prow[bot] kubernetes-prow[bot] commented on Nov 11, 2026 19:18 UTC
Bot

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: <a href="https://github.com/etcd-io/etcd/pull/22791#" title="Author self-approved">max77p</a>, <a href="https://github.com/etcd-io/etcd/pull/22791#pullrequestreview-5864187492" title="Approved">serathius</a>

The full list of commands accepted by this bot can be found here.

The pull request process is described here

<details >
Needs approval from an approver in each of these files:

  • ~~OWNERS~~ [serathius]
  • Approvers can indicate their approval by writing /approve in a comment
    Approvers can cancel approval by writing /approve cancel in a comment
    </details>
    <!-- META={"approvers":[]} -->

    serathius serathius commented on Nov 11, 2026 19:18 UTC
    Contributor

    FAIL: 'run ./bin/shellcheck -fgcc scripts/benchmark_test.sh scripts/build-binary.sh scripts/build-docker.sh scripts/build-release.sh scripts/build.sh scripts/build_lib.sh scripts/build_tools.sh scripts/cherrypick.sh scripts/codecov_upload.sh scripts/fuzzing.sh scripts/genproto.sh scripts/markdown_diff_lint.sh scripts/measure-testgrid-flakiness.sh scripts/release.sh scripts/release_mod.sh scripts/test.sh scripts/test_images.sh scripts/test_lib.sh scripts/test_utils.sh scripts/update_dep.sh scripts/update_go_workspace.sh scripts/update_proto_annotations.sh scripts/verify_genproto.sh scripts/verify_go_versions.sh scripts/verify_golangci-lint_version.sh scripts/verify_grpc_experimental.sh scripts/verify_proto_annotations.sh' checking failed (!=0 return code)
    FAIL: 'shellcheck' FAILED at Wed Nov 11 19:09:08 UTC 2026
    make: *** [Makefile:138: verify-shellcheck] Error 255
    

    kubernetes-prow[bot] kubernetes-prow[bot] commented on Nov 11, 2026 19:28 UTC
    Bot

    @max77p: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

    Test name | Commit | Details | Required | Rerun command
    --- | --- | --- | --- | ---
    pull-etcd-govulncheck | f1390b261d0346aac1117d39a2971c45482b06ee | link | true | /test pull-etcd-govulncheck

    Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

    <details>

    Instructions 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. I understand the commands that are listed here.
    </details>
    <!-- test report -->

    Reviewers
    Assignees
    max77p max77p
    Labels
    risk: low confidence: 71.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 29.8% (LOW) · Higher = larger blast radius
    29.8%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 71.5% · Lower = rushed or shallow review
    71.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 8.5% · Safe to merge
    8.5%
    Repository