You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "nzw921rx (via GitHub)" <gi...@apache.org> on 2026/07/15 12:05:53 UTC

[PR] [Fix][CI] Avoid flaky approve label workflow failures [seatunnel]

nzw921rx opened a new pull request, #11440:
URL: https://github.com/apache/seatunnel/pull/11440

   ### Purpose of this pull request
   
   Fix flaky failures in the `Label when approved` workflow by avoiding a best-effort label automation failure turning CI red.
   
   **Root cause:**
   
   The workflow currently runs on the `requested` event of the `Label-when-reviewed` workflow and immediately calls the GitHub Actions API to resolve the source run:
   
   ```
   Getting workflow id for source run id: 29387900060, owner: apache, repo: seatunnel
   Error: Not Found
   ```
   
   This source-run lookup can return `404 Not Found` when the workflow run is not yet visible or cannot be resolved by the token at that moment. The failure is unrelated to the PR code but marks the CI job as failed.
   
   **Changes:**
   - Trigger the label workflow after the source workflow is `completed` instead of `requested`
   - Allow the source-run lookup step to fail without failing the whole workflow
   - Skip label update steps when no pull request number is resolved
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. This only affects GitHub Actions label automation stability.
   
   ### How was this patch tested?
   
   - `./mvnw spotless:apply`
   
   Per request, no tests were run locally.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][CI] Avoid flaky approve label workflow failures [seatunnel]

Posted by "nzw921rx (via GitHub)" <gi...@apache.org>.
nzw921rx closed pull request #11440: [Fix][CI] Avoid flaky approve label workflow failures
URL: https://github.com/apache/seatunnel/pull/11440


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][CI] Avoid flaky approve label workflow failures [seatunnel]

Posted by "nzw921rx (via GitHub)" <gi...@apache.org>.
nzw921rx commented on PR #11440:
URL: https://github.com/apache/seatunnel/pull/11440#issuecomment-4980537706

   Closing this review because the concern is not a blocker for this PR and can be addressed separately if needed.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org