Skip to content

CLDSRV-926: skip async/await diff check when PR has skip-async-migration label#6189

Closed
DarkIsDude wants to merge 3 commits into
development/9.3from
w/9.3/feature/CLDSRV-926/skip-async-check-on-pr-label
Closed

CLDSRV-926: skip async/await diff check when PR has skip-async-migration label#6189
DarkIsDude wants to merge 3 commits into
development/9.3from
w/9.3/feature/CLDSRV-926/skip-async-check-on-pr-label

Conversation

@DarkIsDude

Copy link
Copy Markdown
Contributor

Summary

  • Adds pull-requests: read permission to the tests.yaml workflow
  • The "Check async/await compliance in diff" step now checks whether the current branch's open PR carries the skip-async-migration label before running check-diff-async
  • If the label is present the step exits cleanly; otherwise the check runs as before

Behaviour

Scenario Result
PR has skip-async-migration label Step skips, exits 0
PR does not have the label check-diff-async runs normally
No open PR (direct push / workflow_dispatch) check-diff-async runs normally

Pre-requisite

The skip-async-migration label must be created in the repository settings before use.

Closes CLDSRV-926

@DarkIsDude DarkIsDude self-assigned this Jun 15, 2026
@codecov

codecov Bot commented Jun 15, 2026

Copy link
Copy Markdown

❌ 2 Tests Failed:

Tests completed Failed Passed Skipped
8481 2 8479 0
View the full list of 3 ❄️ flaky test(s)
"after each" hook for "should fail if trying to overwrite a delete marker"::MPU with x-scal-s3-version-id header With default signature "after each" hook for "should fail if trying to overwrite a delete marker"

Flake rate in main: 100.00% (Passed 0 times, Failed 66 times)

Stack Traces | 0.015s run time
We encountered an internal error. Please try again.
"after each" hook for "should fail if trying to overwrite a delete marker"::MPU with x-scal-s3-version-id header With v4 signature "after each" hook for "should fail if trying to overwrite a delete marker"

Flake rate in main: 100.00% (Passed 0 times, Failed 53 times)

Stack Traces | 0.014s run time
We encountered an internal error. Please try again.
should not corrupt object if overwriting an existing part by copying a part while the MPU is being completed::Object Part Copy With default signature When copy source was put by MPU should not corrupt object if overwriting an existing part by copying a part while the MPU is being completed

Flake rate in main: 100.00% (Passed 0 times, Failed 1 times)

Stack Traces | 0.044s run time
conflict deleting MPU parts metadata

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Comment thread .github/workflows/tests.yaml
@claude

This comment was marked as resolved.

@claude

claude Bot commented Jun 16, 2026

Copy link
Copy Markdown

LGTM

Review by Claude Code

@DarkIsDude DarkIsDude marked this pull request as ready for review June 16, 2026 14:22
@DarkIsDude DarkIsDude requested review from a team, delthas and maeldonn June 16, 2026 14:22
Comment thread .github/workflows/tests.yaml
Comment thread .github/workflows/tests.yaml Outdated
- name: Check async/await compliance in diff
run: yarn run check-diff-async
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

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.

nit: github.token can be used instead, and better IMHO (can be used in default parameters or actions, not a "fake" secret created temporarily...)

Comment thread .github/workflows/tests.yaml Outdated
Comment on lines +115 to +116
if gh pr list --head "$BRANCH_NAME" --state open --json labels \
--jq '.[].labels[].name' 2>/dev/null | grep -qx 'skip-async-migration'; then

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.

nit: can't we use the --label parameter to get only skip-async-migration PRs?

if gh pr list --head "$BRANCH_NAME" --state open --label skip-async-migration ; then

@claude

claude Bot commented Jun 19, 2026

Copy link
Copy Markdown

LGTM

Review by Claude Code

@DarkIsDude

Copy link
Copy Markdown
Contributor Author

/approve

@DarkIsDude DarkIsDude closed this Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants