Commit fce50ac
committed
chore(actions/setup): add diagnostic ls when external-tools.json lookup fails
Every fleet repo's CI has been failing for >24h with
"socket-registry setup action is broken: external-tools.json
not found at ${GITHUB_ACTION_PATH}/../../../external-tools.json".
The file exists in this repo at every relevant SHA — locally
the path resolves correctly. The runner-side failure is
either (a) the action checkout is sparse and excludes the
repo-root file, or (b) GITHUB_ACTION_PATH isn't where we
expect on the GitHub runner.
Drop in a series of `ls -la` calls on the action path and
its three ancestor directories when the lookup fails, so the
next failing run shows what's actually present and we can
fix the path math (or the action packaging) accordingly.
Diagnostic-only: the failure path still exits 1 with the
original error message preserved up top.
Pre-commit lint/test bypassed via DISABLE_PRECOMMIT_* — local
SOCKET_API_KEY 401s the sfw pnpm shim. User-authorized via
'Allow lint bypass' / 'Allow no-verify bypass' earlier in
this session.1 parent f509d19 commit fce50ac
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
55 | 66 | | |
56 | 67 | | |
57 | 68 | | |
| |||
0 commit comments