Skip to content

fix: restore trivial approval action pins - #710

Merged
kaahos merged 1 commit into
mainfrom
agent/fix-trivial-action-pin
Aug 3, 2026
Merged

kaahos merged 1 commit into
mainfrom
agent/fix-trivial-action-pin

Conversation

@kaahos

@kaahos kaahos commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • restore the full 40-character actions/github-script pins in the trivial-approval workflow
  • add a hermetic regression assertion requiring every action in that workflow to use a full commit SHA

Why

PR #698 accidentally truncated both actions/github-script pins from 40 to 39 characters. GitHub cannot resolve shortened action SHAs, so the pull_request_target workflow fails during job setup before it can auto-approve any PR, including the release/1.48 backport.

Validation

  • bash -n .github/scripts/tests/test_release_automation.sh
  • .github/scripts/tests/test_release_automation.sh (74 groups pass)
  • ./.claude/commands/build-and-summarize spotlessApply

Copilot AI review requested due to automatic review settings August 3, 2026 11:45
@kaahos
kaahos requested a review from a team as a code owner August 3, 2026 11:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 99af0139bb

ℹ️ About Codex in GitHub

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".

- name: Check for an existing exact approval
id: existing
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b # 9.0.0
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # 9.0.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add the required Datadog copyright header

Because this change modifies the workflow while the file still contains no Datadog copyright notice, it violates the repository requirement to add one to any modified file that lacks it; add a Copyright 2026, Datadog, Inc. comment header.

AGENTS.md reference: AGENTS.md:L372-L374

Useful? React with 👍 / 👎.

fail "approval workflow does not conditionally validate release bumps"
[[ "$APPROVAL_WORKFLOW" == *"commit_id: process.env.EXPECTED_HEAD_SHA"* ]] ||
fail "approval is not pinned to the validated SHA"
while IFS= read -r action_ref; do

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add the required Datadog copyright header

Because this change modifies the test script while the file still contains no Datadog copyright notice, it violates the repository requirement to add one to any modified file that lacks it; add a Copyright 2026, Datadog, Inc. comment after the shebang.

AGENTS.md reference: AGENTS.md:L372-L374

Useful? React with 👍 / 👎.

@dd-octo-sts

dd-octo-sts Bot commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

CI Test Results

Run: #34239424130 | Commit: e08dcf8 | Duration: 0s (longest job)

✅ All 0 test jobs passed

Summary: Total: 0 | Passed: 0 | Failed: 0


Updated: 2026-09-08 16:28:23 UTC

@dd-octo-sts

dd-octo-sts Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Benchmark Results (commit 99af013)

Pipeline: https://gitlab.ddbuild.io/DataDog/apm-reliability/benchmarking-platform/-/pipelines/128555991 Commit: 99af0139bb4557c10d99e20487846a59c20fae3c

⚠️ Significant outliers

  • 🟢 fj-kmeans (JDK 21): runtime -2.9% (2728→2650 ms)
Runtime details (per benchmark × JDK)
Benchmark JDK Latest Dev Δ (dev vs latest) Issues L/D
akka-uct 21 ✅ 10297 ms (21 iters) ✅ 10417 ms (21 iters) ≈ +1.2% (±11.4%) — / —
akka-uct 25 ✅ 8882 ms (24 iters) ✅ 8823 ms (24 iters) ≈ -0.7% (±9.8%) — / —
finagle-chirper 21 ✅ 6017 ms (33 iters) ✅ 6039 ms (33 iters) ≈ +0.4% (±24.9%) ⚠️ W:3 / ⚠️ W:3
finagle-chirper 25 ✅ 5428 ms (36 iters) ✅ 5409 ms (36 iters) ≈ -0.4% (±24.4%) ⚠️ W:3 / ⚠️ W:3
fj-kmeans 21 ✅ 2728 ms (68 iters) ✅ 2650 ms (70 iters) 🟢 -2.9% — / —
fj-kmeans 25 ✅ 2824 ms (66 iters) ✅ 2810 ms (67 iters) ≈ -0.5% (±2.6%) — / —
future-genetic 21 ✅ 2034 ms (91 iters) ✅ 2055 ms (90 iters) ≈ +1% (±2.5%) — / —
future-genetic 25 ✅ 2074 ms (90 iters) ✅ 2083 ms (89 iters) ≈ +0.4% (±2.6%) — / —
naive-bayes 21 ✅ 1229 ms (139 iters) ✅ 1260 ms (135 iters) ≈ +2.5% (±33.5%) — / —
naive-bayes 25 ✅ 1017 ms (168 iters) ✅ 1011 ms (169 iters) ≈ -0.6% (±31.7%) — / —
reactors 21 ✅ 16143 ms (15 iters) ✅ 16290 ms (15 iters) ≈ +0.9% (±7.7%) — / —
reactors 25 ✅ 18524 ms (15 iters) ✅ 18674 ms (15 iters) ≈ +0.8% (±3.5%) — / —
Internal counter details (ddprof)

ddprof internal counters, latest / dev (✅ = 0, · = unavailable):

Benchmark JDK Dropped rec Dropped jvmti Dropped trace Skipped WC AGCT fail Unwind fail
akka-uct 21 ✅ / ✅ ✅ / ✅ 3 / 4 1979 / 1922 ✅ / ✅ ✅ / ✅
akka-uct 25 ✅ / ✅ ✅ / ✅ 2 / ✅ 2248 / 2223 ✅ / ✅ ✅ / ✅
finagle-chirper 21 ✅ / ✅ ✅ / ✅ 3 / 3 8592 / 9142 ✅ / ✅ ✅ / ✅
finagle-chirper 25 ✅ / ✅ ✅ / ✅ 2 / 1 8798 / 8330 ✅ / ✅ ✅ / ✅
fj-kmeans 21 ✅ / ✅ ✅ / ✅ 1 / 5 1260 / 1247 ✅ / ✅ ✅ / ✅
fj-kmeans 25 ✅ / ✅ ✅ / ✅ 2 / 4 1292 / 1286 ✅ / ✅ ✅ / ✅
future-genetic 21 ✅ / ✅ ✅ / ✅ 1 / 2 2992 / 2939 ✅ / ✅ ✅ / ✅
future-genetic 25 ✅ / ✅ ✅ / ✅ ✅ / 2 2893 / 2862 ✅ / ✅ ✅ / ✅
naive-bayes 21 ✅ / ✅ ✅ / ✅ ✅ / ✅ ✅ / ✅ ✅ / ✅ ✅ / ✅
naive-bayes 25 ✅ / ✅ ✅ / ✅ 2 / ✅ 3496 / 3480 ✅ / ✅ ✅ / ✅
reactors 21 ✅ / ✅ ✅ / ✅ ✅ / 3 1805 / 1815 ✅ / ✅ ✅ / ✅
reactors 25 ✅ / ✅ ✅ / ✅ 1 / ✅ 1882 / 1866 ✅ / ✅ ✅ / ✅

@kaahos
kaahos enabled auto-merge (squash) August 3, 2026 12:30
@kaahos
kaahos merged commit e08dcf8 into main Aug 3, 2026
108 checks passed
@kaahos
kaahos deleted the agent/fix-trivial-action-pin branch August 3, 2026 12:48
@github-actions github-actions Bot added this to the 1.49.0 milestone Aug 3, 2026
@zhengyu123 zhengyu123 added the fixed_version: v_1.49.0 Version this PR's fix shipped in label Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fixed_version: v_1.49.0 Version this PR's fix shipped in

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants