← Back to Pull requests

chore(relesae): fix backport PR after release #1333

Merged
fuzzybinary merged 2 files (52 lines) on Dec 01, 2026 15:01 UTC
View on GitHub
fuzzybinary fuzzybinary commented on Nov 30, 2026 20:10 UTC
Author

What and why?

The backport of the "content" commit after a release failed because the workflow didn't have permissions to make a PR. Modify the chainguard to have the proper permissions.

Additionally, isolate out the Slack notification so it fires in a more restricted environment, both so the token can be held more securely and so that it doesn't have access to tokens it doesn't need.

Review checklist

  • This pull request has appropriate unit and / or integration tests

  • This pull request references a Github or JIRA issue
  • Diff: 52 lines (+35 / -17) across 2 files Reviewer: barboraplasovska Review duration: 1130m
    All Vouch review confidence checks passed
    Residual risk 0.04 = Change Risk (0.28) × (1 − Review Confidence (0.86)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.28 · 52 lines diff across 2 files
    0.28
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.82 · 5 substantive comment(s)
    0.82
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    85%
    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.238
    Real PR Conversation Timeline
    10 items
    chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] commented on Nov 30, 2026 20:11 UTC
    Bot

    <!-- codex-pull-request-review-summary -->
    <!-- codex-review-state:v1 {"code_review":{"commit_sha":"230455bc84ccb453a21e78259712f7e82e29602c","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":"230455bc84ccb453a21e78259712f7e82e29602c","has_any_findings":null,"has_unresolved_findings":null,"status":"completed"}} -->
    <!-- codex-security-review:v1 {"blockingSeverityThreshold":"P0","headSha":"230455bc84ccb453a21e78259712f7e82e29602c","mergeGateEnabled":false,"pullRequestNumber":1333,"repository":"DataDog/dd-sdk-flutter","status":"completed"} -->
    <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-30T21:25:06.905211Z">2026-11-30T21:25:06.905211Z</relative-time> | 230455b | New commits |
    | 🔒 Security Review | ✅ Completed <relative-time datetime="2026-11-30T21:27:06.470047Z">2026-11-30T21:27:06.470047Z</relative-time> | 230455b | 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>

    fuzzybinary fuzzybinary commented on Nov 30, 2026 20:11 UTC
    Author

    @codex review

    chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] commented on Nov 30, 2026 20:12 UTC
    Bot

    <!-- codex-review-receipt:v1 -->

    Codex Review: Didn't find any major issues. Chef's kiss.

    Reviewed commit: bc9734e5d7

    <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".
  • If Codex has suggestions, it will comment; otherwise it will react with 👍.

    Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

    </details>

    datadog-datadog-prod-us1[bot] datadog-datadog-prod-us1[bot] commented on code on Nov 30, 2026 20:14 UTC
    Code Review
    .github/workflows/publish-release.yml:1
    @@ -62,11 +62,21 @@ jobs:
               git remote set-url origin "https://x-access-token:${TAG_PUSH_TOKEN}@github.com/${{ github.repository }}.git"
           - name: Publish release
             env:
    -          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    +          GITHUB_TOKEN: ${{ steps.octo-sts.outputs.token }}

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

    <sub><sub>!P2</sub></sub> Refresh the installation token during long releases

    <!-- autotest-finding-meta prod_data_type=none finding_id=5ab80ee5-ab29-4ce2-8d84-b309f0858850 prod_effect=static -->
    If a multi-package release pushes its final tag before the installation token expires but remains polling afterward, the next gh run list fails authentication and aborts the release. Installation tokens expire after one hour, while the orchestrator waits sequentially for up to 30 minutes per package within a six-hour job. Previously, these API calls used the job token and could finish after the final tag push. This can leave published packages without GitHub Releases or the content backport. Refresh credentials during orchestration; this requires coordinating workflow and releaser changes rather than a localized replacement.

    <!-- 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/43d035d1-e7e6-43c4-b310-861f233d4902?referrer=autotest-pr-comment">Open Bits AI session</a></sub>

    datadog-datadog-prod-us1[bot] datadog-datadog-prod-us1[bot] commented on Nov 30, 2026 20:14 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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjggMTI4Ij48cGF0aCBkPSJNNjMuNTUsNzQuMzJhNTUuMiw1NS4yLDAsMCwxLTEwLTguMzJjLS4zMS0uMjMtLjI2LTEuMj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y0xMFpNNjUuODgsMTEzLjkybC0uNDYtNC4zNyw5LjA5LTEzLjg4LDEwLjMzLDMsOC44OC0xNC44NCwxMC42NSw3LDguMS0xNywyLjg3LDMwLjkxWiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg%3D%3D" alt="Bits Code Review: FAIL" height="36"/>

    Long multi-package releases can outlive the newly shared installation token, aborting polling after packages have published and leaving GitHub Releases or the content backport incomplete.

    <sub>Open Bits AI session</sub>

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

    <!-- autotest-meta model=gpt-6.1-sol engine=codex reasoning_effort=high verdict=FAIL ddrs_bucket=unknown session_id=43d035d1-e7e6-43c4-b310-861f233d4902 -->

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

    chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] commented on Nov 30, 2026 20:14 UTC
    Bot

    <!-- codex-review-receipt:v1 -->

    🛡️ Codex Security Review · _Automatically triggered_

    Security review completed. No security issues were found in this pull request.

    Reviewed commit: bc9734e5d7

    View security finding report

    _Only the user who started this review can view the report in Codex._

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

    This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"

  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review
  • Once complete, Codex will leave suggestions, or a comment if no findings are found.

    </details>

    datadog-datadog-prod-us1[bot] datadog-datadog-prod-us1[bot] commented on code on Nov 30, 2026 21:28 UTC
    Code Review
    .github/workflows/publish-release.yml:1
    @@ -62,15 +62,25 @@ jobs:
               git remote set-url origin "https://x-access-token:${TAG_PUSH_TOKEN}@github.com/${{ github.repository }}.git"
           - name: Publish release
             env:
    -          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    +          GITHUB_TOKEN: ${{ steps.octo-sts.outputs.token }}

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

    <sub><sub>!P1</sub></sub> Refresh the installation token during long releases

    <!-- autotest-finding-meta prod_data_type=none finding_id=052c0a5b-ed6b-43db-a3b8-e7846018ec25 prod_effect=static -->
    If sequential package publishes exceed the installation token's one-hour lifetime, GitHub CLI polling now fails authentication. For example, the final package's tag can be pushed before expiry but its publish can finish afterward, leaving the package published without its GitHub Release or content backport. Previously, these CLI calls used the job-lived GITHUB_TOKEN. The workflow allows six hours, but mints the replacement token only once. Renew credentials during orchestration and update both CLI authentication and the git remote; this requires broader changes than a localized replacement.

    <!-- 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/758bc9c4-27b0-46db-99a4-725707c828fe?referrer=autotest-pr-comment">Open Bits AI session</a></sub>

    datadog-datadog-prod-us1[bot] datadog-datadog-prod-us1[bot] commented on Nov 30, 2026 21:28 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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjggMTI4Ij48cGF0aCBkPSJNNjMuNTUsNzQuM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MjAsMCwwLDEtMy43MS0xLjE5bC03Ljk1LDEuMSw0LjgzLDQwLjIsNTUuNy0xMFpNNjUuODgsMTEzLjkybC0uNDYtNC4zNyw5LjA5LTEzLjg4LDEwLjMzLDMsOC44OC0xNC44NCwxMC42NSw3LDguMS0xNywyLjg3LDMwLjkxWiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg%3D%3D" alt="Bits Code Review: FAIL" height="36"/>

    The installation token used for GitHub CLI calls is minted only once but can expire within the six-hour workflow window, breaking authentication mid-release and potentially leaving packages published without a corresponding GitHub Release or content backport. Credentials must be renewed during orchestration (and the git remote updated accordingly) to prevent silent partial releases.

    <sub>Open Bits AI session</sub>

    <sub>🤖 Bits Code Review · Commit 230455b</sub>

    <!-- autotest-meta model=gpt-6.1-sol engine=codex reasoning_effort=high verdict=FAIL ddrs_bucket=unknown session_id=758bc9c4-27b0-46db-99a4-725707c828fe -->

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

    barboraplasovska barboraplasovska approved these changes on Dec 01, 2026 13:59 UTC
    Approved Reviewer

    Approved these changes.

    Assignees
    fuzzybinary fuzzybinary
    Labels
    risk: low confidence: 85.9% 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.2% (LOW) · Higher = larger blast radius
    28.2%
    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: 85.9% · Lower = rushed or shallow review
    85.9%
    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: 4.0% · Safe to merge
    4.0%