增强 PR 审查队列的等待与责任信号 #430
Loading…
Reference in New Issue
No description provided.
Delete Branch "Mengz/gitlink-cli:mengz/review-queue-delta-v2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
本 PR 替代已关闭的 #427,保留队列快照差异能力,并把维护者最需要的等待与责任信号纳入排序结果。
改动重点:
--as-of固定报告时间点,新增--stale-after-hours配置 SLA 阈值,默认 72 小时。changes_requested、approved或 review 请求状态时才推断责任方;未知状态保持空值,避免误催维护者或 reviewer。验证结果:
go test ./shortcuts/workflow -run TestAnalyzeReviewQueue|TestCompareReviewQueue|TestReadReviewQueue|TestFetchReviewQueue|TestRenderReviewQueue -count=1通过go build ./...通过git diff --check通过这是对已关闭 #427 的质量增强版,不执行远程写操作,不把 SLA 信号冒充代码缺陷或合并结论。
Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.