Skip to content

Conversation

@ashdnazg
Copy link
Contributor

@ashdnazg ashdnazg commented Apr 14, 2025

Rationale for this change

Triggering extended tests failed here: https://github.com/apache/datafusion/actions/runs/14439917392

For creating a workflow with workflow_dispatch, you can't specify a branch name in another repo as the ref.
Instead you need a local branch name and to send which PR to checkout as a parameter.

It sucks a bit that in the Actions list it looks like a test on main, but I'm not sure there's a better alternative.

Are these changes tested?

Here's the trigger working in ashdnazg#1 with the correct hash being used: https://github.com/ashdnazg/datafusion/actions/runs/14443854280/job/40499839662#step:2:3
Here's the test working as usual on push to main: https://github.com/ashdnazg/datafusion/actions/runs/14443836470/job/40499776589#step:2:2

Are there any user-facing changes?

No

@github-actions github-actions bot added the development-process Related to development process of DataFusion label Apr 14, 2025
@ashdnazg
Copy link
Contributor Author

how am I supposed to test this?

@ashdnazg
Copy link
Contributor Author

Ok, here's what we're gonna do. I'll later push this fix to my main and then I'll need a brave volunteer to open a PR to my repo's main, in which we can test the trigger comment.

@ashdnazg ashdnazg force-pushed the fix-extended-comment branch from 0fc1a29 to 8483746 Compare April 14, 2025 10:55
For creating a workflow with workflow_dispatch, you can't specify a branch
name in another repo as the ref.

Instead you need to use the local ref to the PR.
@ashdnazg ashdnazg force-pushed the fix-extended-comment branch from 8483746 to 25ce537 Compare April 14, 2025 11:04
@ashdnazg
Copy link
Contributor Author

Tested and looks to be working

@alamb
Copy link
Contributor

alamb commented Apr 14, 2025

Given it is broken on main and this seems to work better, let's give it a try. Thank you @ashdnazg

@alamb alamb merged commit 3c4bd1b into apache:main Apr 14, 2025
29 checks passed
@alamb
Copy link
Contributor

alamb commented Apr 14, 2025

I tested it out on #15708 (comment) and it seems to be working well so far 👌

Thank you @ashdnazg

nirnayroy pushed a commit to nirnayroy/datafusion that referenced this pull request May 2, 2025
…15704)

For creating a workflow with workflow_dispatch, you can't specify a branch
name in another repo as the ref.

Instead you need to use the local ref to the PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

development-process Related to development process of DataFusion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants