You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by sb...@apache.org on 2026/06/23 13:21:27 UTC
(tooling-trusted-releases) branch sbp updated: Support resolving votes on expedited releases
This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch sbp
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
The following commit(s) were added to refs/heads/sbp by this push:
new a9d9a49d Support resolving votes on expedited releases
a9d9a49d is described below
commit a9d9a49d7bbc976a1dd8188ada876de20cd858c7
Author: Sean B. Palmer <se...@miscoranda.com>
AuthorDate: Tue Jun 23 14:16:17 2026 +0100
Support resolving votes on expedited releases
---
atr/get/resolve.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/atr/get/resolve.py b/atr/get/resolve.py
index 23f8a560..b9180a85 100644
--- a/atr/get/resolve.py
+++ b/atr/get/resolve.py
@@ -111,7 +111,7 @@ async def selected( # noqa: C901
fetch_error = None
latest_vote_task = await interaction.release_current_vote_task(release)
- if latest_vote_task is not None:
+ if (latest_vote_task is not None) and (not release.expedited):
task_mid = interaction.task_mid_get(latest_vote_task)
task_recipient = interaction.task_recipient_get(latest_vote_task)
if task_mid:
@@ -141,7 +141,7 @@ async def selected( # noqa: C901
fetch_error = _tabulation_error(e)
else:
fetch_error = "The vote thread could not yet be found."
- elif fetch_error is None:
+ elif (fetch_error is None) and (not release.expedited):
fetch_error = "The vote thread could not yet be found."
pass_fail_allowed = interaction.vote_pass_fail_allowed(latest_vote_task)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org