← Back to Pull requests

Cut release v0.2.1 #416

Closed
unknown closed this pull request without merging on Oct 30, 2026 11:47 UTC
View on GitHub
unknown unknown commented on Oct 30, 2026 10:37 UTC
Author

This cuts the v0.2.1 patch release on top of v0.2.0, targeting main (the same way v0.1.7 (#304) and v0.2.0 (#369) were cut — the "Cut release" PR lands on main, and the release-0.x branch is then advanced to the cut commit).

What's in it


  • Bumps consts.BundleVersion to v0.2.1 and regenerates the CRDs so the policy.networking.k8s.io/bundle-version annotation reads v0.2.1 (only the annotation changed; the API shape is unchanged, so the api-approved.kubernetes.io link stays at PR #347).

  • Updates the website install reference to v0.2.1.

  • Adds a v0.2.1 CHANGELOG entry: CHANGELOG.md#v021 (live after merge). It covers the API validation fixes, the move of NamedPort back to the experimental channel, the conformance test/suite changes, and documentation updates landed since v0.2.0.
  • There are no breaking changes to the shape of the API. This is cut from main (not from the release-0.2 backport branch) because main has not diverged from the 0.2.x line yet — v1beta1 (#411) is not merged, so every commit on main since v0.2.0 is 0.2.x-appropriate. Cutting 0.2.1 now, before beta merges, is deliberate, and landing it on main keeps main's version + changelog + website continuous ahead of the 0.3.0 cut.

    What should the maintainer do next


    After this PR merges to main (its HEAD then points at the Cut release v0.2.1 commit), run the following. Because release-0.2 is a strict ancestor of main, advancing it is a clean fast-forward — it brings every change so far (all commits since v0.2.0 + this cut commit) onto release-0.2.

    git fetch origin
    
    # 1. Advance release-0.2 to main (fast-forward: all 0.2.x changes + the cut commit)
    git push origin origin/main:refs/heads/release-0.2
    
    # 2. Cut v0.2.1 — tag the cut commit (now the HEAD of both main and release-0.2)
    git tag v0.2.1 origin/main
    git push origin v0.2.1
    
    # 3. Generate the install artifacts to attach to the release
    make build-install-yaml
    #    -> attach release/standard-install.yaml and release/experimental-install.yaml
    

    4. Publish the GitHub release from the v0.2.1 tag, using the changelog above: https://github.com/kubernetes-sigs/network-policy-api/releases

    After the release: merge #411 (v1beta1 graduation), then cut 0.3.0 + create the release-0.3 branch.

    /hold

    Diff: 299 lines (+224 / -75) across 3 files Reviewer: tssurya Review duration: 70m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 299 lines diff across 3 files
    0.40
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    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.341
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #416"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.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: 40% (MEDIUM) · Higher = larger blast radius
    40%
    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: 60.5% · Lower = rushed or shallow review
    60.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: 15.8% · Safe to merge
    15.8%