← Back to Pull requests

release: v0.3.0-rc4 → main (teardown robustness + spoke provisioning fixes) #887

Closed
unknown closed this pull request without merging on Sep 10, 2026 18:37 UTC
View on GitHub
unknown unknown commented on Sep 09, 2026 21:31 UTC
Author

Release / integration PR — release/v0.3.0-rc4 → main

Umbrella PR carrying the accumulated v0.3.0-rc4 work on appmod-blueprints into main. Mirrors the platform-engineering-on-eks side (GitLab !577).

The main theme is reused-account teardown robustness + fixing two spoke-provisioning regressions surfaced along the way.

Teardown robustness (the sweep is the backstop when task destroy is cut short / partial)


  • #878 — sweep: reap orphaned spoke clusters + clear leftover hub security groups in the IDE VPC (#877). Leftover hub SGs (via circular refs) and orphaned spokes were blocking CloudFormation from deleting the IDE VPC.

  • #881 — sweep §6b: retry delete_cluster until the ACK capabilities finish deleting (~25 min). A single fixed short wait raced ACK (~15-20 min) and left spokes orphaned.

  • #882 — sweep: authoritative final re-sweep of recreatable resources + ENI gate. Sections that delete CloudFront/ALB/RDS/AMP run before the hub cluster is deleted; while the hub is alive its ACK/Crossplane/addon controllers re-create them → orphaned once the hub is gone. The new final pass runs after the hub and spokes are deleted (controllers gone) and waits for cloudfront_managed / amp_collector / RDSNetworkInterface ENIs to detach so CFN can delete the subnets.
  • Spoke provisioning fixes


  • #885 — declare managementRegion in the EksclusterWithVpc RGD schema. It was declared on the EksCluster RGD (hub) and set on the instances, but not on the EksclusterWithVpc RGD the spokes use → kro rejected the field (field not declared in schema) → spokes never created.

  • #886 — never derive the GitLab/fleet-config domain from the platform CloudFront. The GIT_DOMAIN fallback used {{.DOMAIN}} (the <prefix>-hub-platform distribution) for the GitLab URL; when private/git-domain wasn't written yet, set-overlay-repo wired overlay_repo_url to the wrong host → the clusters-kro ApplicationSet pointed at a dead host → no spoke apps generated.
  • Other fixes


  • #883 — kind-kro-ack: set managementRegion to the deploy region (fixes non-us-west-2 deploys).

  • #884 — Ray bucket: omit S3 LocationConstraint in us-east-1.

  • #880 — kubevela functional gate emits Testing for/PASS/FAIL like the kro path.

  • #879 — remove the obsolete fix-bootstrap-post-clone.sh recovery script.
  • End-to-end validation (with the platform-side !581 + !583 teardown permissions)


    Fresh deploy + teardown on a reused account:
  • Deploy → CREATE_COMPLETE, all 3 clusters ACTIVE (hub + spoke-dev + spoke-prod); clusters-kro ApplicationSet generates cleanly.

  • Teardown → DELETE_COMPLETE, 0 AccessDenied, no manual intervention: CloudFront distribution + VPC origin, clusters/spokes, and all hub/spoke secrets deleted; no orphaned ENIs blocking the VPC.
  • Note: the workshop clones appmod-blueprints at runtime, so these ship via the rc4 default branch; the companion CFN/IAM changes (SharedRole teardown permissions, secretsmanager:DeleteSecret) are in platform-engineering-on-eks !581 / !583.

    Diff: 389 lines (+291 / -98) across 4 files Reviewer: shapirov103 Review duration: 1265m
    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 · 389 lines diff across 4 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.357
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #887"
    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: 48.1% (MEDIUM) · Higher = larger blast radius
    48.1%
    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: 19.0% · Safe to merge
    19.0%