This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-release.git


The following commit(s) were added to refs/heads/main by this push:
     new 31bc8ba  Measure performance on all routes
31bc8ba is described below

commit 31bc8baf3bb3f8d7ab35c66edbda1623887b75fb
Author: Sean B. Palmer <[email protected]>
AuthorDate: Thu Jun 26 20:01:22 2025 +0100

    Measure performance on all routes
---
 atr/routes/keys.py    | 2 +-
 atr/routes/resolve.py | 2 +-
 atr/routes/vote.py    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/atr/routes/keys.py b/atr/routes/keys.py
index c875f86..dc54309 100644
--- a/atr/routes/keys.py
+++ b/atr/routes/keys.py
@@ -494,7 +494,7 @@ async def update_committee_keys(session: 
routes.CommitterSession, committee_name
     return await session.redirect(keys)
 
 
[email protected]("/keys/upload", methods=["GET", "POST"], 
measure_performance=False)
[email protected]("/keys/upload", methods=["GET", "POST"])
 async def upload(session: routes.CommitterSession) -> str:
     """Upload a KEYS file containing multiple OpenPGP keys."""
     # Get committees for all projects the user is a member of
diff --git a/atr/routes/resolve.py b/atr/routes/resolve.py
index ad4adfe..e003389 100644
--- a/atr/routes/resolve.py
+++ b/atr/routes/resolve.py
@@ -71,7 +71,7 @@ async def release_latest_vote_task(release: models.Release) 
-> models.Task | Non
         return task
 
 
[email protected]("/resolve/<project_name>/<version_name>", methods=["POST"], 
measure_performance=False)
[email protected]("/resolve/<project_name>/<version_name>", methods=["POST"])
 async def selected_post(
     session: routes.CommitterSession, project_name: str, version_name: str
 ) -> response.Response | str:
diff --git a/atr/routes/vote.py b/atr/routes/vote.py
index f23fc15..f019319 100644
--- a/atr/routes/vote.py
+++ b/atr/routes/vote.py
@@ -45,7 +45,7 @@ class CastVoteForm(util.QuartFormTyped):
     submit = wtforms.SubmitField("Submit vote")
 
 
[email protected]("/vote/<project_name>/<version_name>", 
measure_performance=False)
[email protected]("/vote/<project_name>/<version_name>")
 async def selected(session: routes.CommitterSession, project_name: str, 
version_name: str) -> response.Response | str:
     """Show the contents of the release candidate draft."""
     await session.check_access(project_name)


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

Reply via email to