Skip to content

fix(ops): matrix check names contain commas - #29

Merged
wangzhizhou merged 1 commit into
mainfrom
fix/ai-gate-matrix-contexts
Nov 10, 2026
Merged

wangzhizhou merged 1 commit into
mainfrom
fix/ai-gate-matrix-contexts

Conversation

@wangzhizhou

Copy link
Copy Markdown
Contributor

实测发现:enable-ai-gate.sh 用逗号拼接/拆分检查名,而 matrix 检查名本身就带逗号:

build (platform=macOS, macos, OrzMC-local)

结果 OrzMCApp 的 ai-gate 被写入了 5 个永远不会上报的检查名(永久阻塞)。已在线修复 OrzMCApp(改为 split)与 OrzPythonMC(改为正确的 3 个名字),并:

  • 内部改用换行分隔;
  • 新增 --contexts-file(每行一个检查名);
  • --contexts 仅用于不含逗号的简单名字。

Matrix check names contain commas, e.g.
`build (platform=macOS, macos, OrzMC-local)`. enable-ai-gate.sh joined the
derived contexts with commas and split them again for the JSON body, so
OrzMCApp ended up requiring five bogus checks (`build (platform=macOS`,
`macos`, ...) that can never report — a permanent merge block.

- carry contexts as newline-separated internally
- add --contexts-file for names with commas
- document the limitation of --contexts
@wangzhizhou
wangzhizhou merged commit 611b0b2 into main Nov 10, 2026
2 checks passed
@wangzhizhou
wangzhizhou deleted the fix/ai-gate-matrix-contexts branch November 10, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant