← Back to Pull requests

api: remove deprecated DataVolumeTTLSeconds field #4309

Merged
AdyCohen1 merged 6 files (40 lines) on Oct 26, 2026 19:40 UTC
View on GitHub
AdyCohen1 AdyCohen1 commented on Oct 07, 2026 09:17 UTC
Author

What this PR does


Removes the deprecated DataVolumeTTLSeconds field from CDIConfigSpec and regenerates the dependent API artifacts (deepcopy, swagger, openapi spec, and the generated CRDs).

The DataVolume garbage-collection feature was deprecated and its implementation fully removed in #3552. The DataVolumeTTLSeconds field was left behind as a no-op, tombstoned with Deprecated: Removed in v1.62. This PR completes that removal.

Note: this is a breaking API change.
The field is dropped from the CDIConfig CRD schema, so any existing CDIConfig that still sets dataVolumeTTLSeconds will have it pruned. There is no behavioral impact, since the field has done nothing since #3552.

Before this PR:

  • CDIConfigSpec still declared DataVolumeTTLSeconds *int32, a dead no-op field kept only for deprecation.

  • The field was still advertised in the CDIConfig CRD schema, swagger, and openapi definitions, implying configurability that no longer exists.
  • After this PR:

  • DataVolumeTTLSeconds is gone from CDIConfigSpec and all generated artifacts; no references remain anywhere in the tree.

  • The CDIConfig CRD/API no longer exposes dataVolumeTTLSeconds.

  • make test-unit passes; make generate-verify is clean.
  • References


    https://redhat.atlassian.net/browse/CNV-61380

    Release note:
    ``release-note
    NONE
    ``

    Diff: 40 lines (+0 / -40) across 6 files Reviewer: alromeros Review duration: 27983m
    All Vouch review confidence checks passed
    Residual risk 0.30 = Change Risk (0.56) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.56 · 40 lines diff across 6 files
    0.56
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    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
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.222
    Sensitive Paths sensitive_paths
    0.056
    Real PR Conversation Timeline
    1 item
    "Review active on #4309"
    general weight: 0.35
    Reviewers
    Assignees
    AdyCohen1 AdyCohen1
    Labels
    risk: low confidence: 46.7% 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: 55.7% (MEDIUM) · Higher = larger blast radius
    55.7%
    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: 46.7% · Lower = rushed or shallow review
    46.7%
    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: 29.7% · Safe to merge
    29.7%