Skip to content

test: 验证 quality-gate 敏感字段与质量问题阻断(勿合并) - #11

Closed
lyt-ghub wants to merge 1 commit into
HYGON-AI:mainfrom
lyt-ghub:test/quality-gate-blocking-20260917
Closed

lyt-ghub wants to merge 1 commit into
HYGON-AI:mainfrom
lyt-ghub:test/quality-gate-blocking-20260917

Conversation

@lyt-ghub

@lyt-ghub lyt-ghub commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

此 PR 仅用于验证 quality-gate 在真实 Runner 上能否发现并阻断不合规增量,请勿合并,验证完成后关闭。

基于上游 main 7866f59026abbd9d47faed7b50decfecf6b648f3,保留现有门禁引用 0983098c334900cf848e4eabf79483b28abf0253 和默认 quality Runner 标签,不修改 CI 策略。

本地内置预检实际发现 7 项阻断、0 项提示。远程预期 Identity, license & wording 和 Repository & code quality 失败,All required checks 阻断;Code Security 可能因告警仅为提示而通过,这是既有策略。

仅新增三个独立测试文件;Python 测试内容位于函数中,没有顶层调用,不运行测试中的命令。测试源码带 MIT SPDX 和 Hygon 文件头,避免无关许可证提示。

@hygon-ai-reviewer hygon-ai-reviewer Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI Review

🟢 未发现有明确证据的问题

在已提供并完成审查的 diff 范围内未形成可确认问题。

变更概览

本次变更主要包含:

  • 新增 ci_gate_fixtures 下三个质量门禁验证夹具:Python 文件集中包含违规词打印、Ruff F823 前向引用与 shell=True 常量子进程调用(均封装在函数内、无顶层执行),另含 YAML 重复键与 shell 未定义变量文件,用于触发并验证门禁的阻断与提示行为。
文件审查摘要
文件 变更 审查结果
ci_gate_fixtures/dcu_output.py 新增 · +25/-0 —
ci_gate_fixtures/shell_warning.sh 新增 · +7/-0 —
ci_gate_fixtures/duplicate_keys.yml 新增 · +5/-0 —
审查信息
  • 变更统计:3 个文件,+37/-0。
  • 覆盖情况:共 3 个文件,已完整审查 3 个。
  • 候选问题:0 项;证据复核过滤:0 项;发布前敏感信息保护:0 项。
  • 本服务以 GitHub 提供的 PR diff 为审查主体,PR 描述与按相关性选取的仓库片段仅用于核验;未执行代码或重跑测试,结论仍需维护者核验。
CI 结果:质量门禁未通过

质量门禁检测到需处理的问题;敏感命中原文、字段值、路径和日志引用不在评论中展示,请由有权限的维护者查看原始报告并处理。

@lyt-ghub lyt-ghub closed this Sep 17, 2026
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