Commit 85da80a
fix(ci): the release workflow already knew this; the new one did not. 發版流程早就知道這件事,新建的那支不知道。
Twelve tests still failed after the timeout work, all of them the three
commands backed by ryugraph's ALGO extension — `god-nodes`,
`communities`, `related`. That extension is downloaded from
extension.ryugraph.io on first use, and it is the only part of egr that
touches the network at all. On CI the download hangs: no error, no
message, just each test burning its 120s budget until the run gives up.
`publish.yml` has built that extension from source for a long time, with
the comment "fetched from an unreliable host". The knowledge existed and
was correct; it simply never reached the CI workflow added yesterday.
The same steps now run here, pinned to the same version and platform
path — change one, change both.
Third time this session the answer was already sitting in the repository
as a working control rather than something to be deduced: `doctor.test.ts`
for how to spawn the CLI, `publish.yml` for this. Cheaper to look for the
version that works than to reason about why the other one does not.
`npm run build` is now explicit rather than relying on `prepare` firing,
matching publish.yml — and the CLI tests refuse to run against a stale
`dist/`, so that reliance would have surfaced as a confusing refusal.
逾時那一輪之後仍有 12 支測試失敗,而它們全部是靠 ryugraph ALGO 擴充的那三個指令
——god-nodes、communities、related。那個擴充在第一次使用時會從
extension.ryugraph.io 下載,而它是 egr 唯一會碰到網路的部分。
在 CI 上那個下載會掛住:沒有錯誤、沒有訊息,只是每一支測試把 120 秒的預算燒完。
publish.yml 從很久以前就在從原始碼建那個擴充,註解寫著「從一個不可靠的主機取得」。
那份知識存在而且是對的,只是從來沒有到達昨天新增的那支 CI。
同樣的步驟現在也在這裡跑,版本與平台路徑與那邊一致——要改就兩處一起改。
這是本次第三次「答案本來就以一個能動的對照組躺在 repo 裡」,
而不是需要推論出來的東西:啟動 CLI 的寫法看 doctor.test.ts,這件事看 publish.yml。
**去找那個能動的版本,比推論另一個為什麼不能動便宜。**
npm run build 現在是明確的一步,不倚賴 prepare 有沒有觸發,與 publish.yml 一致——
而且 CLI 測試會拒絕對過期的 dist/ 執行,所以那個倚賴會以一個令人困惑的拒絕現形。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ssm8NLdJ2qiQttGdfvXhnS1 parent 9b32d57 commit 85da80a
1 file changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
28 | 50 | | |
29 | 51 | | |
30 | 52 | | |
| |||
0 commit comments