brizental pushed to branch main at The Tor Project / Applications / 
tor-browser-bundle-testsuite


Commits:
d4edf031 by Beatriz Rizental at 2026-05-18T11:58:17-03:00
Bug 40091: Fix minidump-stackwalk extraction for Windows

- - - - -
3aac8b9d by Beatriz Rizental at 2026-05-18T12:08:46-03:00
Bug 40091: Drop architecture from MacOS installer URL

- - - - -
39ccc1b3 by Beatriz Rizental at 2026-05-18T12:16:21-03:00
Bug 40091: Skip mullvad pipelines, for now

- - - - -


2 changed files:

- .gitlab/scripts/before_script.py
- tools/trigger-test-pipeline.py


Changes:

=====================================
.gitlab/scripts/before_script.py
=====================================
@@ -76,11 +76,19 @@ def download_minidump_stackwalk(
 ) -> None:
     dest_dir = Path(moz_fetches_dir) / "minidump-stackwalk"
     dest_dir.mkdir(parents=True, exist_ok=True)
-
-    tar_path = Path("minidump-stackwalk.tar.xz")
-    download_file(minidump_stackwalk_url, tar_path, sha256)
-    extract_tar(tar_path, dest_dir)
-    print(f"Extracted minidump-stackwalk -> {dest_dir}")
+    print(f"Downloading minidump-stackwalk from {minidump_stackwalk_url}")
+
+    is_zip = minidump_stackwalk_url.endswith(".zip")
+    archive_path = Path("minidump-stackwalk.zip" if is_zip else 
"minidump-stackwalk.tar.xz")
+    download_file(minidump_stackwalk_url, archive_path, sha256)
+
+    print(f"Extracting {archive_path} -> {dest_dir}")
+    if is_zip:
+        with zipfile.ZipFile(archive_path) as zf:
+            zf.extractall(dest_dir)
+    else:
+        extract_tar(archive_path, dest_dir)
+    print(f"minidump-stackwalk ready at {dest_dir}")
 
 
 def get_android_sdk_repack_url():


=====================================
tools/trigger-test-pipeline.py
=====================================
@@ -70,6 +70,9 @@ def build_inputs(step_name: str, publish_url: str, 
publish_dir: str) -> dict[str
     # Add the architecture as padding, to address the macos case which doesn't
     # have architecture in the step name since it is a universal build.
     browser, channel, platform, architecture = (step_name.split("-") + 
["x86_64"])[:4]
+    if browser != "torbrowser":
+        logger.info("Only tor borwser tests are currently supported. 
Skipping.")
+        return None
     if channel != "nightly":
         logger.info("This script only knows how to handle nightly builds. 
Skipping.")
         return None
@@ -90,7 +93,7 @@ def build_inputs(step_name: str, publish_url: str, 
publish_dir: str) -> dict[str
         case "windows":
             installer = 
f"{hyphenated_browser}-{platform}-{architecture}-portable-tbb-{channel}.{date}.exe"
         case "macos":
-            installer = 
f"{hyphenated_browser}-{platform}-{architecture}-tbb-{channel}.{date}.dmg"
+            installer = 
f"{hyphenated_browser}-{platform}-tbb-{channel}.{date}.dmg"
         case "android":
             installer = 
f"{hyphenated_browser}-qa-{platform}-{architecture}-tbb-{channel}.{date}.apk"
         case _:



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-bundle-testsuite/-/compare/300fc8dbb7c29963613bd5ee9c3ef3e7ae4fd91c...39ccc1b333ef271c952c8955f56dbb35c247d9ae

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-bundle-testsuite/-/compare/300fc8dbb7c29963613bd5ee9c3ef3e7ae4fd91c...39ccc1b333ef271c952c8955f56dbb35c247d9ae
You're receiving this email because of your account on gitlab.torproject.org. 
Manage all notifications: https://gitlab.torproject.org/-/profile/notifications 
| Help: https://gitlab.torproject.org/help


_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to