← Back to Pull requests

chore: release `ApiHubDependency` #16353

Closed
unknown closed this pull request without merging on Nov 24, 2026 20:27 UTC
View on GitHub
unknown unknown commented on Nov 23, 2026 23:56 UTC
Author

Release ApiHubDependency (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.

Test Results

| Fixture | Real GCP | MockGCP (compare-mock) | TestGoldenLogAlignment | Probe Evidence |
| :--- | :--- | :--- | :--- | :--- |
| apihubdependency-minimal | PASS (7/7 checks) | PASS | PASS | PASS (200 OK) |
| apihubdependency-maximal | PASS (7/7 checks) | PASS | PASS | PASS (200 OK) |

Recording Details


  • PST Recording Window: Mon Nov 23 15:44:42 PST 2026 to Mon Nov 23 15:49:21 PST 2026

  • Master Commit: 23dc87cf1f3d339b7df1f797e350c5709b56f706

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


  • Real GCP: Verified both apihubdependency-minimal and apihubdependency-maximal against real GCP using RECORD_AUDIT_PROBE=1 ./hack/record-gcp "fixtures/apihubdependency". Both passed all 7 automated checks (V1–V7) and generated _http_report.md.

  • Audit Probes: Both fixtures generated _audit_probe.log containing direct 200 OK GET responses from live GCP for the primary ApiHubDependency resource and its dependencies.

  • Static References: Verified neither fixture contains static references or non-standard placeholders; only ${projectId} and ${uniqueId} are used.

  • Re-reconciliation: Verified that after Testing re-reconciliation..., no unexpected events or reconciler errors occurred.

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

  • Log Alignment: Ran TestGoldenLogAlignment for both fixtures, which passed cleanly.

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

  • Release Bundle: Verified ./dev/tasks/build-release-bundle builds the bundle successfully.

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

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

    This pull request was generated by an AI coding agent.

    <sub>🤖 Agent session</sub>

    <!-- factory:task-output kind=Change task=recipe-fix-20261123-234217-4a4c -->

    Diff: 288 lines (+216 / -72) across 3 files Reviewer: acpana Review duration: 1231m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.40) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 288 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%
    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.339
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #16353"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% 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: 39.8% (MEDIUM) · Higher = larger blast radius
    39.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: 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: 17.2% · Safe to merge
    17.2%