Skip to content

The agent that grows with you

test(e2e/desktop): stop the installer's nested lazy-fetch chain on CI

teknium17b4211eee280
diff --git a/.github/workflows/e2e-desktop-update.yml b/.github/workflows/e2e-desktop-update.yml
index d419c172ad5..a81b297bb0c 100644
--- a/.github/workflows/e2e-desktop-update.yml
+++ b/.github/workflows/e2e-desktop-update.yml
@@ -77,6 +77,7 @@ jobs:
- name: Run the update suite under xvfb
working-directory: apps/desktop
run: |
+ git --version
# Resource trail in the log, so a runner that dies mid-run leaves its last state behind.
( while sleep 10; do
echo "::group::resources $(date -u +%T)"
diff --git a/apps/desktop/e2e/update/seed.py b/apps/desktop/e2e/update/seed.py
index 8d48a5eeead..a0e398ffd7e 100644
--- a/apps/desktop/e2e/update/seed.py
+++ b/apps/desktop/e2e/update/seed.py
@@ -63,7 +63,11 @@ def install(root: Path) -> None:
# installed checkout, not a treeless one.
I.git("config", "uploadpack.allowFilter", "false", cwd=origin)
sb = I.new_sandbox(p["sb"], origin)
- cp = I.run_installer(sb)
+ # The installer's treeless clone still marks the checkout as a promisor, and on the CI
+ # runner's git every missing-object probe then starts a lazy fetch whose own probe starts
+ # another one (a chain of 78+ nested `fetch --filter=blob:none --stdin`). The clone is full, so
+ # there is nothing to lazily fetch; stop the chain for the installer run only.
+ cp = I.run_installer(I.Sandbox(root=sb.root, env={**sb.env, "GIT_NO_LAZY_FETCH": "1"}))
if cp.returncode != 0:
_fail("scripts/install.sh --non-interactive", cp)
# The real way a CLI install gets the Desktop app on Linux: build + package into