The best way to control Claude Code, Codex and more from any computer or phone
ci: browser secret helper apt step fetches fewer indexes (#33966)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Theo Browne committed
Nov 10, 2026 at 18:40 UTC
768f17c5187db6e3559856dc867ac5e5f988ed11
1 file changed
+16
-4
.github/workflows/ci.yml
+16
-4
@@ -140,10 +140,16 @@ jobs:
140
- name: Start installing browser secret helper build libraries
141
if: needs.changes.outputs.build != 'false'
142
run: |
143
- sudo sed -i 's|http://|https://|g' /etc/apt/blacksmith-ubuntu-mirrors.txt /etc/apt/sources.list.d/ubuntu.sources
143
+ # Fetch only the indexes these main and universe packages need. The full set is ~42 MB,
144
+ # which a slow mirror can stretch past the wait below.
145
+ sudo sed -i -e 's|http://|https://|g' -e 's/^Components: .*/Components: main universe/' \
146
+ /etc/apt/blacksmith-ubuntu-mirrors.txt /etc/apt/sources.list.d/ubuntu.sources
147
(
148
set +e
146
- sudo apt-get update && sudo apt-get install -y libsecret-1-dev pkg-config xvfb
149
+ sudo apt-get update -o Acquire::Languages=none \
150
+ -o Acquire::IndexTargets::deb::DEP-11::DefaultEnabled=false \
151
+ -o Acquire::IndexTargets::deb::CNF::DefaultEnabled=false &&
152
+ sudo apt-get install -y libsecret-1-dev pkg-config xvfb
153
echo "$?" > "$RUNNER_TEMP/apt-status"
154
) > "$RUNNER_TEMP/apt.log" 2>&1 < /dev/null &
155
@@ -287,10 +293,16 @@ jobs:
293
# the background while Vite+ installs; the step before the tests waits for it.
294
- name: Start installing browser secret helper build libraries
295
run: |
290
- sudo sed -i 's|http://|https://|g' /etc/apt/blacksmith-ubuntu-mirrors.txt /etc/apt/sources.list.d/ubuntu.sources
296
+ # Fetch only the indexes these main and universe packages need. The full set is ~42 MB,
297
+ # which a slow mirror can stretch past the wait below.
298
+ sudo sed -i -e 's|http://|https://|g' -e 's/^Components: .*/Components: main universe/' \
299
+ /etc/apt/blacksmith-ubuntu-mirrors.txt /etc/apt/sources.list.d/ubuntu.sources
300
(
301
set +e
293
- sudo apt-get update && sudo apt-get install -y libsecret-1-dev pkg-config
302
+ sudo apt-get update -o Acquire::Languages=none \
303
+ -o Acquire::IndexTargets::deb::DEP-11::DefaultEnabled=false \
304
+ -o Acquire::IndexTargets::deb::CNF::DefaultEnabled=false &&
305
+ sudo apt-get install -y libsecret-1-dev pkg-config
306
echo "$?" > "$RUNNER_TEMP/apt-status"
307
) > "$RUNNER_TEMP/apt.log" 2>&1 < /dev/null &
308