Skip to content

Commit d9aac1f

Browse files
committed
ci(temp): verbose forensics + macos-15 control matrix
1 parent dce88aa commit d9aac1f

1 file changed

Lines changed: 18 additions & 11 deletions

File tree

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

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,13 @@ jobs:
119119
# macos-14: the support floor (mcpp ≥0.0.50 / xlings ≥0.4.50 ship
120120
# minos=14.0 static-libc++ binaries). A fresh install passing here
121121
# is the continuous proof of the macOS 14 floor.
122-
runs-on: macos-14
122+
# TEMP: macos-15 added to isolate whether the cmdline fetch failure
123+
# is macos-14-specific or affects the new stack on any macOS.
124+
strategy:
125+
fail-fast: false
126+
matrix:
127+
os: [macos-14, macos-15]
128+
runs-on: ${{ matrix.os }}
123129
timeout-minutes: 30
124130
steps:
125131
- uses: actions/checkout@v4
@@ -161,17 +167,18 @@ jobs:
161167
# B = exact failing flow (control), C = adaptive mirror off.
162168
- name: "Debug: cmdline fetch forensics (temporary)"
163169
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 ==="
170+
echo "=== probe D: failing flow, mcpp --verbose ==="
168171
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"
172+
mcpp run --verbose 2>&1 | tail -60 || true
173+
echo "=== probe E: xlings direct install from the mcpp sandbox ==="
174+
SANDBOX_XLINGS=$(find "$HOME/.mcpp" -name xlings -type f 2>/dev/null | head -1)
175+
echo "sandbox xlings: $SANDBOX_XLINGS"
176+
env XLINGS_HOME="$HOME/.mcpp/registry" "$SANDBOX_XLINGS" \
177+
install mcpplibs.cmdline@0.0.1 -y --verbose 2>&1 | tail -40 || true
178+
echo "=== probe F: any xlings/mcpp logs ==="
179+
find "$HOME/.mcpp" -name '*.log' -newer /tmp -mmin -10 2>/dev/null | head -5
180+
for f in $(find "$HOME/.mcpp" "$HOME/.xlings" -name '*.log' -mmin -10 2>/dev/null | head -3); do
181+
echo "--- $f"; tail -30 "$f"; done
175182
176183
- name: "LLVM: build mcpp"
177184
run: |

0 commit comments

Comments
 (0)