chore(tester): drop HX_TEST_HOST alias

HOST is the only accepted test-service address from env, local.yaml, or catalog vars.
This commit is contained in:
2026-10-15 09:44:23 +08:00
parent 5fef8247fc
commit 0c9a530390
4 changed files with 3 additions and 8 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ python3 <skill-dir>/scripts/catalog.py select --root <root> \
## 2. 运行前闸
- `HOST` 未设(环境变量 / `HX_TEST_HOST` / `local.yaml` 都没有):全部停,environment-fail。
- `HOST` 未设(环境变量 / `local.yaml` 都没有):全部停,environment-fail。
- 命中条的 `risk` 在 catalog `authorize` 里有对应变量:变量不是 `true` 则该条 `skipped`。有 `gate` 时还要 `catalog.gates` 对应变量为 `true`;`assume` 不成立同样 `skipped`。即使用户点了 id 也不执行。
- 授权/假设不成立是**主动不跑**(`skipped`),不是 `not-run`:这是我们决定不跑,不是没轮到。
- `status_probe` 是**分类级前置条件**(业界对应 pytest 的 session fixture / Robot 的 Suite Setup)。用 `select` 返回的 `status_probe` 解析生效值,不要自己读 catalog 猜。返回的 `probe.url` 已用 `vars` 展开,直接请求即可;`select` 同批返回 `vars`: