Skip to content

Commit dce88aa

Browse files
committed
ci(temp): cmdline fetch forensics on macos-14 (adaptive mirror suspect)
1 parent 9fdb222 commit dce88aa

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/ci-fresh-install.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,26 @@ jobs:
153153
cd hello_mac
154154
mcpp run
155155
156+
# TEMPORARY forensics — mcpplibs.cmdline fetch dies at 0 B on
157+
# macos-14 (R5/R6) while linux passes the same step. Hypothesis:
158+
# the xlings 0.4.50 adaptive mirror (sha256-pinned URLs may try a
159+
# third-party mirror BEFORE the author URL) picks a dead mirror
160+
# host on this runner. Probe A = raw connectivity control,
161+
# B = exact failing flow (control), C = adaptive mirror off.
162+
- name: "Debug: cmdline fetch forensics (temporary)"
163+
run: |
164+
echo "=== probe A: direct curl of the author URL ==="
165+
curl -fsSL -o /tmp/c.tgz https://github.com/mcpplibs/cmdline/archive/refs/tags/0.0.1.tar.gz \
166+
&& shasum -a 256 /tmp/c.tgz || echo "A: curl FAILED"
167+
echo "=== probe B: control — exact failing flow ==="
168+
mcpp clean
169+
mcpp run && echo "B: PASSED (flake?)" || echo "B: failed (expected)"
170+
echo "=== probe C: XLINGS_ADAPTIVE_MIRROR=off ==="
171+
mcpp clean
172+
XLINGS_ADAPTIVE_MIRROR=off mcpp run \
173+
&& echo "C: PASSED — adaptive mirror is the culprit" \
174+
|| echo "C: failed — culprit elsewhere"
175+
156176
- name: "LLVM: build mcpp"
157177
run: |
158178
mcpp clean

0 commit comments

Comments
 (0)