Skip to content

🐛 test(ci): 移除聚合门禁后同步后端工作流断言 - #1572

Merged
Syngnat merged 1 commit into
devfrom
fix/ci-workflow-test-gate-removal
Oct 22, 2026
Merged

Syngnat merged 1 commit into
devfrom
fix/ci-workflow-test-gate-removal

Conversation

@Syngnat

@Syngnat Syngnat commented Oct 22, 2026

Copy link
Copy Markdown
Owner

问题

dev 最新提交 4c8d8c87e 🔧 chore(ci): 移除聚合CI门禁 删除了 .github/workflows/backend-tests.yml 的 gate: 聚合任务,但 tools/backend-workflow.test.py 仍在两处断言 gate: 存在:

gate = workflow.split("  gate:", 1)[1]
IndexError: list index out of range

结果 Full backend suite 对任何 PR/推送都失败(在干净的 origin/dev 上可复现),与具体改动无关。

修复

  • 去掉两处已不存在的 gate: 断言
  • 保留 frontend 与 marketplace-contract 任务本身的配置断言(node 版本、webkit tag、postgres 服务、race 测试命令等)
  • 测试改名为 ..._job_is_configured,与新工作流结构一致

验证

  • 在 origin/dev(4c8d8c87e)上运行 python3 tools/backend-workflow.test.py:5/5 通过
  • 未改动任何工作流或业务代码

- dev 4c8d8c8 移除了 backend-tests.yml 的 gate 聚合任务
- tools/backend-workflow.test.py 仍在断言 gate 存在,导致 Full backend suite 对任何 PR/推送都报 IndexError
- 保留 frontend / marketplace-contract 任务本身的检查,去掉已不存在的 gate 断言
@Syngnat
Syngnat merged commit 249d25d into dev Oct 22, 2026
4 of 5 checks passed
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