Skip to content

GH-49743: [Release] Split the vote thread preparation into its own shell script#49770

Merged
raulcd merged 2 commits intoapache:mainfrom
raulcd:GH-49743
Apr 17, 2026
Merged

GH-49743: [Release] Split the vote thread preparation into its own shell script#49770
raulcd merged 2 commits intoapache:mainfrom
raulcd:GH-49743

Conversation

@raulcd
Copy link
Copy Markdown
Member

@raulcd raulcd commented Apr 16, 2026

Rationale for this change

Currently running the script is failing if default flags are used and also failing if we run the source vote in separation as documented on the release.rst page.

What changes are included in this PR?

Splitting the script into two each one for it's own purpose will make it easier to focus and have less "flag" incompatibilities which to be fair is unnecessary for the purpose of these minor scripts.

Are these changes tested?

Yes, I've tested the new script in isolation to generate a new vote email.

Are there any user-facing changes?

No

@raulcd raulcd requested review from amoeba and kou and removed request for assignUser, jonkeane and kou April 16, 2026 09:51
@github-actions
Copy link
Copy Markdown

⚠️ GitHub issue #49743 has been automatically assigned in GitHub to PR creator.

@kou
Copy link
Copy Markdown
Member

kou commented Apr 16, 2026

Can I update the existing tests?

@raulcd
Copy link
Copy Markdown
Member Author

raulcd commented Apr 16, 2026

Can I update the existing tests?

oops, sorry I completely forgot about the tests :P, please yes do update them!
Thanks @kou

Comment thread dev/release/09-vote-email.sh Outdated
Comment on lines +23 to +26
: ${SOURCE_DEFAULT:=1}
: ${SOURCE_CLEANUP:=${SOURCE_DEFAULT}}
: ${SOURCE_DOWNLOAD:=${SOURCE_DEFAULT}}
: ${SOURCE_VOTE:=${SOURCE_DEFAULT}}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's use VOTE_ (or VOTE_EMAIL_) as the prefix.

Comment thread dev/release/09-vote-email.sh Outdated
Comment on lines +53 to +61
echo "Downloading tarball and checksums for ${tag}"
# Wait for the release candidate workflow to finish before attempting
# to download the tarball from the GitHub Release.
. $SOURCE_DIR/utils-watch-gh-workflow.sh ${tag} "release_candidate.yml"
rm -rf artifacts
gh release download ${tag} \
--dir artifacts \
--repo "${GITHUB_REPOSITORY}" \
--pattern "${tarball}.*"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We need only the tarball checksum.

Comment thread dev/release/09-vote-email.sh Outdated
Comment on lines +54 to +56
# Wait for the release candidate workflow to finish before attempting
# to download the tarball from the GitHub Release.
. $SOURCE_DIR/utils-watch-gh-workflow.sh ${tag} "release_candidate.yml"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We don't need to wait for the workflow. This must be finished when we use this script.

@github-actions github-actions Bot added awaiting changes Awaiting changes and removed awaiting committer review Awaiting committer review labels Apr 17, 2026
@kou
Copy link
Copy Markdown
Member

kou commented Apr 17, 2026

I've pushed my suggestions.

Copy link
Copy Markdown
Member Author

@raulcd raulcd left a comment

Choose a reason for hiding this comment

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

👍

@raulcd raulcd merged commit 8595105 into apache:main Apr 17, 2026
12 checks passed
@raulcd raulcd removed the awaiting changes Awaiting changes label Apr 17, 2026
@raulcd raulcd deleted the GH-49743 branch April 17, 2026 07:47
@raulcd
Copy link
Copy Markdown
Member Author

raulcd commented Apr 17, 2026

Thanks @kou for the improvements!

@conbench-apache-arrow
Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit 8595105.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 1 possible false positive for unstable benchmarks that are known to sometimes produce them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants