← Back to Pull requests

ci: test in-place chart upgrades from the latest release and the PR base #627

Merged
JinchengCao merged 1 files (71 lines) on Nov 17, 2026 17:26 UTC
View on GitHub
JinchengCao JinchengCao commented on Nov 17, 2026 15:07 UTC
Author

Summary

ct skips its upgrade test whenever the chart's minor version changes. develop moves to the next minor after every release, so the upgrade test is routinely skipped during the develop release cycle. For #610, ct logged Skipping upgrade test ... 0.62.0 does not have same major and minor version as 0.61.0.

The new upgrade-chart job upgrades the chart in place with helm upgrade, the way users do, for each ci/-default-values.yaml. It starts from the latest published chart and, for PRs, from the chart at the PR's base. Every installation and upgrade must succeed, including for breaking changes. The job runs all of them and reports the failures together.

A breaking change must still upgrade in place. If users must change their values first, the PR that makes the change should add a test for that migration to this job. Bypassing the PR check is only for emergencies. The upgrade from the latest release then keeps failing until the change is released, and the automated release workflow, which pushes only after CI passes, stays blocked. For example, an incompatible selector change merged with a bypass would behave as follows:

| Run | From the latest release | From the PR's base |
| --- | --- | --- |
| The breaking PR | Fails | Fails |
| Later PRs | Fails because of the breaking change | Passes unless the PR adds a failure |
| The release push | Fails and blocks the release | Doesn't run |
| PRs after the release | Passes | Passes |

pr-validated now runs with always() and fails unless every job it needs succeeded. Before, a failed dependency left it skipped, and a skipped required check counts as passing.

References

Related: #620, #621

Testing

  • On my workspace (kind v1.35.0, Helm 4.3.1), I ran the upgrade step from 0.62.1 against scenario commits:

  • - Normal PRs and releasing/
    * pushes pass.
    - A selector change fails both baselines.
    - After an unreleased selector change on the base, an unrelated PR fails only the upgrade from the latest release.
    - A baseline that doesn't install fails the job.
  • pr-validated fails when a needed job ends as failure, skipped, or cancelled. actionlint with shellcheck passes.
  • Diff: 71 lines (+70 / -1) across 1 files Reviewer: thomasqueirozb Review duration: 138m
    All Vouch review confidence checks passed
    Residual risk 0.03 = Change Risk (0.29) × (1 − Review Confidence (0.89)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.29 · 71 lines diff across 1 files
    0.29
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.87 · 3 substantive comment(s)
    0.87
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    88%
    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.256
    Real PR Conversation Timeline
    8 items
    chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] commented on Nov 17, 2026 15:09 UTC
    Bot

    <!-- codex-pull-request-review-summary -->
    <!-- codex-review-state:v1 {"code_review":{"commit_sha":"97c9f6cb52ec1a38f882c5277de2189147f92158","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} -->

    <details>
    <summary><strong>Codex Review Summary</strong>: ✅ Completed</summary>

    This comment shows the latest Codex review activity on this pull request.

    | Review | Status | Commit | Review trigger |
    | --- | --- | --- | --- |
    | 📝 Code Review | ✅ Completed <relative-time datetime="2026-11-17T16:06:58.939573Z">2026-11-17T16:06:58.939573Z</relative-time> | 97c9f6c | New commits |

    <details> <summary>ℹ️ About Codex in GitHub</summary>
    <br/>

    Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review

  • Mark a draft as ready

  • Comment "@codex review" or "@codex security review".
  • Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

    </details>

    </details>

    datadoghq-integration[bot] datadoghq-integration[bot] commented on code on Nov 17, 2026 15:32 UTC
    Code Review
    .github/workflows/ci.yaml:1
    @@ -101,11 +101,64 @@ jobs:
           - name: Run chart-testing (install)
             run: ct install --config .github/ct.yaml --upgrade
     
    +  # `ct install --upgrade` compares against a git revision and skips whenever
    +  # the minor version changes, which is every PR during a release cycle. This
    +  # job upgrades a release of the latest published chart in place, the way
    +  # users upgrade.
    +  upgrade-from-release:
    +    runs-on: ubuntu-latest
    +    needs:
    +      - lint-chart
    +      - kubeval-chart
    +    steps:
    +      - name: Checkout
    +        uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
    +        with:
    +          fetch-depth: 0
    +      - name: Create kind
    +        uses: helm/kind-action@ea822c7bf1874f08e5a491df991c228edffc3376 # v1.15.2
    +        with:
    +          node_image: kindest/node:v1.35.0
    +      - name: Find the latest published chart
    +        id: latest
    +        env:
    +          PR_TITLE: ${{ github.event.pull_request.title }}
    +        run: |
    +          helm repo add vector https://helm.vector.dev
    +          version=$(helm search repo vector/vector --output json | jq -r '.[0].version')
    +          git rev-parse --verify --quiet "vector-${version}^{commit}" > /dev/null \
    +            || { echo "::error::Tag vector-${version} not found"; exit 1; }
    +          echo "version=${version}" >> "$GITHUB_OUTPUT"
    +
    +          # A change marked breaking (`type(scope)!:`) in this PR or since the
    +          # latest release is expected to fail the upgrade.
    +          breaking=false
    +          pattern='^[a-z]+(\([^)]*\))?!:'
    +          if grep -Eq "$pattern" <<< "$PR_TITLE" \
    +            || git log --format=%s "vector-${version}..HEAD" | grep -Eq "$pattern"; then
    +            breaking=true
    +            echo "::warning::Breaking change since ${version}: the upgrade test reports failures without blocking."
    +          fi
    +          echo "breaking=${breaking}" >> "$GITHUB_OUTPUT"
    +      - name: Upgrade in place from ${{ steps.latest.outputs.version }}
    +        continue-on-error: ${{ steps.latest.outputs.breaking == 'true' }}
    +        env:
    +          FROM_VERSION: ${{ steps.latest.outputs.version }}
    +        run: |
    +          for values in charts/vector/ci/*-default-values.yaml; do
    +            release="upgrade-$(basename "$values" -default-values.yaml)"
    +            helm install "$release" vector/vector --version "$FROM_VERSION" --values "$values" \
    +              --namespace "$release" --create-namespace --wait --timeout 300s
    +            helm upgrade "$release" charts/vector --values "$values" \
    +              --namespace "$release" --wait --timeout 300s
    +          done
    +
       pr-validated:
         name: pr-validated
         runs-on: ubuntu-latest
         needs:
           - install-chart
    +      - upgrade-from-release
           - lint-docs
         steps:
           - name: validate

    <!-- datadog-code-review reviewer-id=bad90057-5c12-4101-ad47-d91c9dff0f90 -->
    <!-- datadog-autotest-inline:v1:prod -->
    <!-- datadog-autotest-delivery:v1:prod:6ba0fd45bb051a5feac0009c192ae252aa0f1a686a5c08ab200af951cdfb283d:inline-0 -->

    <sub><sub>!P2</sub></sub> Propagate upgrade failures to the validation gate

    <!-- autotest-finding-meta prod_data_type=none finding_id=06e3545f-492a-4b92-b787-841222ab8f68 prod_effect=static -->
    When a non-breaking upgrade fails, GitHub skips pr-validated because its dependency failed. Skipped required checks are accepted, so requiring pr-validated alone does not make this upgrade test block merging. Run the aggregate job regardless of dependency outcomes and explicitly fail when a dependency did not succeed.

        runs-on: ubuntu-latest
        if: ${{ always() }}
        needs:
          - install-chart
          - upgrade-from-release
          - lint-docs
        steps:
          - name: Check required job results
            run: |
              test "${{ needs.install-chart.result }}" = success
              test "${{ needs.upgrade-from-release.result }}" = success
              test "${{ needs.lint-docs.result }}" = success
          - name: validate
    

    <!-- datadog-autotest-feedback-legend:v1 -->
    React: 👍 useful · 👎 wrong · 😕 unclear · 👀 right, but not acting on it
    <details><summary>What each reaction means</summary>

  • 👍 Useful: correct, and you're fixing it or will.

  • 👎 Wrong: the finding is incorrect, for example the bug can't happen or the code was misread.

  • 😕 Unclear: you can't tell what it means or why it matters.

  • 👀 Right, not acting: correct, but intended, out of scope for this PR, a known risk, or too minor.

  • </details>

    <sub>🤖 Bits Code Review</sub> <sub>· <a href="https://app.datadoghq.com/code/1818b42d-cad6-42ba-9686-724d230fb2b1?referrer=autotest-pr-comment">Open Bits AI session</a></sub>

    datadoghq-integration[bot] datadoghq-integration[bot] commented on Nov 17, 2026 15:32 UTC
    Reviewer

    <img src="https://img.shields.io/badge/BITS%20CODE%20REVIEW-FAIL-CC0000?labelColor=632CA6&style=for-the-badge&logo=data:image/svg%2Bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZ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wLDEtMy43NSwzLjMzLDExLjc1LDExLjc1LDAsMCwxLTkuMjkuODUsMjAsMjAsMCwwLDEtMy43MS0xLjE5bC03Ljk1LDEuMSw0LjgzLDQwLjIsNTUuNy0xMFpNNjUuODgsMTEzLjkybC0uNDYtNC4zNyw5LjA5LTEzLjg4LDEwLjMzLDMsOC44OC0xNC44NCwxMC42NSw3LDguMS0xNywyLjg3LDMwLjkxWiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg%3D%3D" alt="Bits Code Review: FAIL" height="36"/>

    A failed upgrade can leave the aggregate validation check skipped, allowing a required-check gate to accept it. Breaking-change detection also retains an outdated PR title after title edits.

    <sub>Open Bits AI session</sub>

    <sub>🤖 Bits Code Review · Commit 60ed25e</sub>

    <!-- autotest-meta model=gpt-6.1-sol engine=codex reasoning_effort=high verdict=FAIL ddrs_bucket=unknown session_id=1818b42d-cad6-42ba-9686-724d230fb2b1 -->

    <!-- datadog-code-review reviewer-id=bad90057-5c12-4101-ad47-d91c9dff0f90 -->
    <!-- datadog-autotest:v1:prod -->
    <!-- datadog-autotest-delivery:v1:prod:6ba0fd45bb051a5feac0009c192ae252aa0f1a686a5c08ab200af951cdfb283d:bundle -->

    datadoghq-integration[bot] datadoghq-integration[bot] commented on code on Nov 17, 2026 15:32 UTC
    Code Review
    .github/workflows/ci.yaml:1
    @@ -101,11 +101,64 @@ jobs:
           - name: Run chart-testing (install)
             run: ct install --config .github/ct.yaml --upgrade
     
    +  # `ct install --upgrade` compares against a git revision and skips whenever
    +  # the minor version changes, which is every PR during a release cycle. This
    +  # job upgrades a release of the latest published chart in place, the way
    +  # users upgrade.
    +  upgrade-from-release:
    +    runs-on: ubuntu-latest
    +    needs:
    +      - lint-chart
    +      - kubeval-chart
    +    steps:
    +      - name: Checkout
    +        uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
    +        with:
    +          fetch-depth: 0
    +      - name: Create kind
    +        uses: helm/kind-action@ea822c7bf1874f08e5a491df991c228edffc3376 # v1.15.2
    +        with:
    +          node_image: kindest/node:v1.35.0
    +      - name: Find the latest published chart
    +        id: latest
    +        env:
    +          PR_TITLE: ${{ github.event.pull_request.title }}

    <!-- datadog-code-review reviewer-id=bad90057-5c12-4101-ad47-d91c9dff0f90 -->
    <!-- datadog-autotest-inline:v1:prod -->
    <!-- datadog-autotest-delivery:v1:prod:6ba0fd45bb051a5feac0009c192ae252aa0f1a686a5c08ab200af951cdfb283d:inline-1 -->

    <sub><sub>!P2</sub></sub> Refresh breaking-change detection after PR title edits

    <!-- autotest-finding-meta prod_data_type=none finding_id=94e9a0d4-eeee-4edf-a329-36e7525463c4 prod_effect=static -->
    Editing the PR title to add or remove the breaking marker does not trigger this workflow: the default pull_request activity types exclude edited, and rerunning an existing run retains its original event payload. For a PR without another breaking commit, classification therefore stays stale, potentially tolerating an upgrade failure after the marker is removed or blocking an expected failure after it is added. Include title edits in the workflow triggers; that change lies outside this diff's hunks.

    <!-- datadog-autotest-feedback-legend:v1 -->
    React: 👍 useful · 👎 wrong · 😕 unclear · 👀 right, but not acting on it
    <details><summary>What each reaction means</summary>

  • 👍 Useful: correct, and you're fixing it or will.

  • 👎 Wrong: the finding is incorrect, for example the bug can't happen or the code was misread.

  • 😕 Unclear: you can't tell what it means or why it matters.

  • 👀 Right, not acting: correct, but intended, out of scope for this PR, a known risk, or too minor.

  • </details>

    <sub>🤖 Bits Code Review</sub> <sub>· <a href="https://app.datadoghq.com/code/1818b42d-cad6-42ba-9686-724d230fb2b1?referrer=autotest-pr-comment">Open Bits AI session</a></sub>

    datadoghq-integration[bot] datadoghq-integration[bot] commented on Nov 17, 2026 15:41 UTC
    Reviewer

    <img src="https://img.shields.io/badge/BITS%20CODE%20REVIEW-PASS-1a7f37?labelColor=632CA6&style=for-the-badge&logo=data:image/svg%2Bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjggMTI4Ij48cGF0a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sMCwxLTkuMjkuODUsMjAsMjAsMCwwLDEtMy43MS0xLjE5bC03Ljk1LDEuMSw0LjgzLDQwLjIsNTUuNy0xMFpNNjUuODgsMTEzLjkybC0uNDYtNC4zNyw5LjA5LTEzLjg4LDEwLjMzLDMsOC44OC0xNC44NCwxMC42NSw3LDguMS0xNywyLjg3LDMwLjkxWiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg%3D%3D" alt="Bits Code Review: PASS" height="36"/>

    <details>
    <summary>More details</summary>

    CI now tests upgrades from the latest release and PR base, with baseline-specific breaking-change exemptions; dependency failures reach the validation gate, fixing its bypass. Reruns fetch the current PR title, resolving stale classification, though title-only edits require a manual rerun; no findings remain open.

    </details>
    Was this helpful? React 👍 or 👎

    <sub>Open Bits AI session</sub>

    <sub>🤖 Bits Code Review · Commit d1dd037</sub>

    <!-- autotest-meta model=gpt-6.1-sol engine=codex reasoning_effort=high verdict=PASS ddrs_bucket=unknown session_id=1818b42d-cad6-42ba-9686-724d230fb2b1 -->

    <!-- datadog-code-review reviewer-id=bad90057-5c12-4101-ad47-d91c9dff0f90 -->
    <!-- datadog-autotest:v1:prod -->
    <!-- datadog-autotest-delivery:v1:prod:47fdb19ab44d154e4663430fd1f61064bfd35aa9997659135f951ada117e6af2:bundle -->

    thomasqueirozb thomasqueirozb approved these changes on Nov 17, 2026 17:03 UTC
    Approved Reviewer

    Approved these changes.

    pront pront approved these changes on Nov 17, 2026 17:11 UTC
    Approved Reviewer

    This covers a real testing gap, thanks!

    Assignees
    JinchengCao JinchengCao
    Labels
    risk: low confidence: 88.6% 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: 28.6% (LOW) · Higher = larger blast radius
    28.6%
    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: 88.6% · Lower = rushed or shallow review
    88.6%
    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: 3.2% · Safe to merge
    3.2%