← Back to Pull requests

chore: release `ApiHubDeployment` #16417

Closed
unknown closed this pull request without merging on Nov 25, 2026 02:46 UTC
View on GitHub
unknown unknown commented on Nov 24, 2026 23:53 UTC
Author

This pull request was generated by an AI coding agent.

Release ApiHubDeployment (apihub.cnrm.cloud.google.com/v1alpha1) by removing it from BLOCKED_KINDS in dev/tasks/build-release-bundle so its CRD ships in the release bundle.

Fixture Verification Matrix

| Fixture | Real GCP (_http.log) | MockGCP (compare-mock) | TestGoldenLogAlignment | Probe Evidence (_audit_probe.log) |
| :--- | :--- | :--- | :--- | :--- |
| apihubdeployment-minimal | PASS (7/7 checks) | PASS | PASS | PASS (200 OK) |
| apihubdeployment-maximal | PASS (7/7 checks) | PASS | PASS | PASS (200 OK) |

Recording Details


  • PST Recording Window: Tue Nov 24 15:46:21 PST 2026 – Tue Nov 24 15:48:46 PST 2026

  • Master Commit: 31d5498feabe5be62d56de5b286f6a1d5d19a1c7

  • GCP Project: cnrm-barni-4
  • Verification Summary


  • Real GCP & Audit Probes: Verified apihubdeployment-minimal and apihubdeployment-maximal against real GCP using RECORD_AUDIT_PROBE=1 ./hack/record-gcp "fixtures/apihubdeployment". Both passed all 7 automated checks (V1–V7), generated _http_report.md, and verified authentic _audit_probe.log files containing live 200 OK GET responses from GCP for the primary ApiHubDeployment resource.

  • Static References: Verified that all test fixtures have no static references; only ${projectId} and ${uniqueId} are used.

  • Re-reconciliation: Verified that after Testing re-reconciliation..., no unexpected events, update calls, or reconciler errors occurred (result: {"Requeue":false}, error: null).

  • Mock Alignment: Ran ./hack/compare-mock "fixtures/apihubdeployment" for both fixtures, which passed without diffs.

  • Log Alignment: Ran go test -v ./pkg/test/resourcefixture -count=1 -run 'TestGoldenLogAlignment/apihub/v1alpha1/apihubdeployment/.*', which passed cleanly.

  • Mapper Fuzzer: Verified round-trip KRM mappers with FOCUS=APIHubDeployment go test ./pkg/fuzztesting/fuzztests -run TestFocusedMappers.

  • Release Bundle: Verified ./dev/tasks/build-release-bundle succeeds and unblocks ApiHubDeployment.

  • Known Limitations: None.
  • Fixes #16415
    Part of #15390

    ``release-note
    New Alpha Resources (Direct Reconciler):
    ApiHubDeployment
    ``

    <sub>🤖 Agent session</sub>

    <!-- factory:task-output kind=Change task=recipe-fix-20261124-234143-d3d9 -->

    Diff: 309 lines (+231 / -78) across 3 files Reviewer: acpana Review duration: 173m
    All Vouch review confidence checks passed
    Residual risk 0.27 = Change Risk (0.63) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.63 · 309 lines diff across 3 files
    0.63
    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%
    56%
    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.343
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.063
    Real PR Conversation Timeline
    1 comments
    "Review active on #16417"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed sensitive_module
    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: 63.4% (MEDIUM) · Higher = larger blast radius
    63.4%
    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: 56.8% · Lower = rushed or shallow review
    56.8%
    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: 27.4% · Safe to merge
    27.4%