← Back to Pull requests

CNTRLPLANE-4579: Update OCPSTRAT-2653 Day 1 test plan against merged code #19

Closed
unknown closed this pull request without merging on Nov 24, 2026 11:57 UTC
View on GitHub
unknown unknown commented on Nov 16, 2026 15:25 UTC
Author

Summary

Corrects claims in the OCPSTRAT-2653 Day 1 test plan that contradict the implementation merged in openshift/hypershift. Every correction was verified against the code, not against the plan's own assumptions.

Two commits, deliberately separated:

1. docs(plans) — only plans/ocpstrat-2653.md
2. chore(validation) — only .artifactlint.yaml and docs/validation.md, with no test-plan or user-story detail in the added text

| Plan claimed | Code actually does | Evidence |
|---|---|---|
| serviceAnnotations reach both the public and the private KAS Service | Only the Service exposing the primary endpoint gets them; ReconcilePrivateService() removes them once a public endpoint exists | kas/service.go:273; envtest "should put the address annotations only on the public KAS Service" |
| There is no CEL allowlist on annotation keys | Eleven provider prefixes, 1–10 entries, key ≤317 chars, value ≤253 chars | hostedcluster_types.go:1208 |
| #9913 migrated spec.services to per-entry immutability | #9913 kept ListType=atomic and self.services == oldSelf.services (IBMCloud exempt). Per-entry is Day 2 work | hostedcluster_types.go:565; PR #9913 description |
| Day 1 = #9913 + #9898 | Also #10133 (CPO passthrough) and #10142 (allowlist); #9913 only added the API fields | PR titles, both merged 2026-10-30 |

Review comments addressed

  • PR references — added #10133 and #10142 to the Day 1 list and to Test Items and References, so a tester picks a build that has both the API fields and their implementation.

  • loadBalancerClass scope — qualified in §2.1 and Objective 2: applied at creation or on conversion to type LoadBalancer, not retro-fitted to an existing LoadBalancer Service without a class.

  • TC-028 — used io.cilium/lb-ipam-ips, which admission rejects; now lbipam.cilium.io/ips, matching TC-019.

  • Execution instructions — TC-019 and TC-040 now name the test, the run command and the expected outcome.

  • TC-040 evidence — no longer cites the AWS NLB skip-path cases as proof of precedence ordering. Those cases show a key being ignored, not CPO overwriting an applied user value. The case now states that no automated test exercises the ordering, that no CPO-managed key is allowlisted so the collision is unreachable through the API, and that no manual fallback exists.

  • TC-039 — no longer claims a CEL migration happened.
  • Also in this PR

  • TC-025, TC-026, TC-027 and TC-041 declare preconditions. The plan previously carried a body-pinned exception waiving exactly those four findings; the exception is retired rather than re-pinned, per docs/validation.md's two routes after a body edit.

  • The AWS NLB annotation carve-out (OCPBUGS-16728) is documented, noting the guard is unreachable from user input today.

  • Day 2 marked as targeted at OCP 5.2.
  • Validation

    plans/cntrlplane-4338.md:1: warning EXCEPTION_APPLIED: reviewed body-pinned exception applies; see .artifactlint.yaml
    plans/ocpstrat-3679.md:1: warning EXCEPTION_APPLIED: reviewed body-pinned exception applies; see .artifactlint.yaml
    Artifact validation passed.
    

    Run with go run ./cmd/verify-artifacts --secrets.

    Scope

    Documentation and validation config only. No implementation, test, or CI changes.

    🤖 Generated with Claude Code

    <!-- This is an auto-generated comment: release notes by coderabbit.ai -->
    <!-- coderabbit-ai-generated:v1 -->

    Summary by CodeRabbit

    Documentation
    Updated guidance on service annotations, load balancer classes, validation limits, and published-plan validation.
    Clarified how report indexes work and when a report bundle is incomplete.
    New Features
    Markdown report directories can include an index alongside reports; an index-only directory remains incomplete.
    Verification Reports
    Added verification results for implementation and documentation changes, including coverage, test outcomes, and outstanding caveats.
    Tests
    * Added coverage for indexed report directories, including the incomplete index-only case.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 526 lines (+394 / -132) across 6 files Reviewer: jparrill Review duration: 11312m
    All Vouch review confidence checks passed
    Residual risk 0.19 = Change Risk (0.48) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.48 · 526 lines diff across 6 files
    0.48
    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.375
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #19"
    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: 47.8% (MEDIUM) · Higher = larger blast radius
    47.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: 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: 18.9% · Safe to merge
    18.9%