felipepessoto commented on PR #13768:
URL: https://github.com/apache/gluten/pull/13768#issuecomment-7178752095

   The retry handles the reported workflow-permission rejection, and unrelated 
push failures still fail the job. I wouldn't block this fix, but I found two 
edge cases:
   
   1. [Fallback base 
selection](https://github.com/apache/gluten/blob/ceaf9d2a9eb4e05088a22a653b104e59b760c345/.github/actions/squash-merge-upstream/action.yml#L99-L106):
 In a local reproduction, `main` changed and reverted workflow A, then changed 
workflow B. The squash onto current `main` merged cleanly, and the push was 
rejected for B. The retry went back before A and hit a source conflict, even 
though the parent of the B change merged and pushed cleanly. It would be worth 
covering this case with a regression test and choosing a compatible, more 
recent base before asking the contributor to rebase.
   2. [Path 
filtering](https://github.com/apache/gluten/blob/ceaf9d2a9eb4e05088a22a653b104e59b760c345/.github/actions/squash-merge-upstream/action.yml#L38-L44):
 `relevant` still describes the first merge. When `main` moved a file from 
`docs/` to `cpp/`, the published fallback changed only `docs/` but still 
reported `relevant=true` for `cpp/`. Rechecking paths against the fallback base 
would avoid unnecessary native builds.
   
   **Separate follow-up: the Kafka checkout mismatch is pre-existing, not 
introduced by this PR.** 
[`spark35`](https://github.com/apache/gluten/blob/ceaf9d2a9eb4e05088a22a653b104e59b760c345/.github/workflows/velox_kafka.yml#L163-L196)
 depends directly only on `build-native`, so it can't read 
`needs.merge-upstream.outputs.revision`. 
[`spark35-stress`](https://github.com/apache/gluten/blob/ceaf9d2a9eb4e05088a22a653b104e59b760c345/.github/workflows/velox_kafka.yml#L241-L250)
 doesn't set a checkout ref. Both can test JVM code from the fork head against 
native binaries built from the squash commit. I'd track that separately rather 
than ask this patch to fix it.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to