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 4612487  Fix a task archive URL caching bug
4612487 is described below

commit 46124870b363496a8aca612bbdd7be321bdbac00
Author: Sean B. Palmer <[email protected]>
AuthorDate: Fri Sep 12 14:36:14 2025 +0100

    Fix a task archive URL caching bug
---
 atr/db/interaction.py | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/atr/db/interaction.py b/atr/db/interaction.py
index cc1b424..5ef3ed8 100644
--- a/atr/db/interaction.py
+++ b/atr/db/interaction.py
@@ -297,13 +297,13 @@ async def task_archive_url_cached(task_mid: str | None) 
-> str | None:
         if url is not None:
             return url
 
-    url = await util.task_archive_url(task_mid)
-    if url is not None:
-        await data.ns_text_set(
-            "mid-url-cache",
-            task_mid,
-            url,
-        )
+        url = await util.task_archive_url(task_mid)
+        if url is not None:
+            await data.ns_text_set(
+                "mid-url-cache",
+                task_mid,
+                url,
+            )
 
     return url
 


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

Reply via email to