-
Notifications
You must be signed in to change notification settings - Fork 0
fix(governance): CI-Workflows 破玻璃直推回填登记 + apply 跳过 retired 仓(ADR-0088/0085) #367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -118,7 +118,8 @@ while :; do | |
| fi | ||
| N=$(jq 'length' <<<"$CHUNK") | ||
| [[ "$N" -eq 0 ]] && break | ||
| jq -r '.[].name' <<<"$CHUNK" >>"$REPOS_TMP" | ||
| # archived(retired,ADR-0085)仓只读——写操作恒 403,跳过而非计 FAIL | ||
| jq -r '.[] | select(.archived == false) | .name' <<<"$CHUNK" >>"$REPOS_TMP" | ||
|
Comment on lines
+121
to
+122
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 1. Missing card: metadata line The PR description/body does not include the required single Card: <owner>/<repo>#<n> metadata line, which can break downstream parsing/traceability automation. Add exactly one correctly formatted Card: line (not in a code block). Agent Prompt
Comment on lines
+121
to
+122
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 2. Apply/drift 仓集合不一致 apply.sh 现在从 org repo 列表中过滤掉 archived 仓,但 drift-check.sh 仍对所有 org 仓做基线与标签漂移检测,并在漂移提示中指向 apply.sh 作为修复手段,导致 archived 仓出现漂移时会变成“检测可报、修复不可达”的闭环断裂。该不一致会造成长期噪音漂移与误导性的修复指引(尤其是 §16 标签漂移提示)。 Agent Prompt
|
||
| [[ "$N" -lt 100 ]] && break | ||
| PAGE=$((PAGE+1)) | ||
| done | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: Cloudbird-Software/.github
Length of output: 24320
🏁 Script executed:
Repository: Cloudbird-Software/.github
Length of output: 19884
🏁 Script executed:
Repository: Cloudbird-Software/.github
Length of output: 12110
统一归档仓库的治理策略。
expected-state.json将 ADR-0085 定义为“GitHub 归档只读”。apply.sh跳过所有已归档仓库,但drift-check.sh仍检查所有仓库。已归档仓库发生基线漂移时,apply.sh不会修复该漂移,漂移检查可能使门禁失败。请明确归档仓库是否同时豁免漂移检查;如果是,请同步过滤逻辑并增加回归测试。🤖 Prompt for AI Agents