docs(devlog): make CI completion check fail closed (carry #3532) - #3865
Conversation
(cherry picked from commit e5bbd79) Co-authored-by: Ingwannu <186453546+Ingwannu@users.noreply.github.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Team Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe post-merge audit now validates all expected check runs with paginated Checks API data. The outcome document distinguishes runtime findings and CI lessons from other cleanup notes. ChangesPost-merge audit documentation
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This change strengthens post-merge CI audit documentation to reject missing, pending, or unsuccessful expected checks and clarifies the recorded findings. It introduces no runtime behavior changes and is ready to merge. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
리뷰 · 우선순위 48 / 80이 PR은 런타임 코드를 고치는 게 아니라, 이미 끝난 작업 기록( 왜 이게 중요한가. 예전 문서 규칙은 “check-runs를 보고 conclusion이 null이 아닌지만 세자”에 가까웠다. 그런데 #3523을 머지할 때 현재 이 PR은 6층 릴리스 트레인( 라인 70-71 - 옛 규칙(“null conclusion만 없애면 됨”)을 지우고, 기대 게이트 이름 + non-terminal 0개 + 메인테이너의 판단이 필요한 지점
너의 추천 이 댓글은 grok-bot이 작성했습니다 |
|
✅ Deterministic PR hygiene checks passed. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f1604c6b26
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| | ($expected - [ | ||
| $runs[] | ||
| | select(.status == "completed" and .conclusion == "success") | ||
| | .name | ||
| ]) as $missing |
There was a problem hiding this comment.
Require the newest result for each expected check
When a gate reruns without changing the head SHA, this can report ready: true after the newest run fails: .github/workflows/enforce-pr-target.yml routinely reruns enforce-target for edits, labels, and CodeRabbit status events, but $missing is satisfied by any older successful run with that name, while the completed failure is excluded from $pending. Select the newest run for each required name—ideally scoped to the expected app/workflow—and require that specific run to have completed successfully before emitting readiness. Repository policy requires exact-head CI evidence, so a stale success from an earlier attempt cannot authorize integration.
AGENTS.md reference: AGENTS.md:L335-L338
Useful? React with 👍 / 👎.
Summary
Carries #3532 by @Ingwannu onto current dev: the devlog CI-completion audit instruction now requires complete paginated check evidence and fails closed on partial results. Docs only.
(carried/reimplemented from #3532; Co-authored-by trailer in the commit)
Verification
Checklist
Manual review chain (integrate bottom-up; stack: null, no native stack)
codex/rt-m1-3532devcodex/rt-m2-3840codex/rt-m3-3837codex/rt-m4-3843codex/rt-m5-3845codex/rt-m6-2033Verification policy (maintainer instruction, this train): local test suite / typecheck / build were NOT RUN; branches pushed with
--no-verify. Lower layers carry[skip ci]; the full Cross-platform CI (lane=all, Windows shards included) runs once at the chain top head and is the exact-head evidence for the cumulative tree.Layer 1 of 6. Review this PR's diff only.
Summary by CodeRabbit
Maintainer integration decision (MAINTAINERS.md, dev-only admin integration): @lidge-jun integrates this manual chain into
devbottom-up. Exact chain-top evidence: Cross-platform CI run 34106345180 at head6eadb1658(lane=all: Linux 4/4, macOS 2/2 + control, Windows 6/6, gates, storage policy, api usage, keyring ×3, npm-global ×3, docker smoke, aggregateci= success). Tested tree7621cac89equals the prospective merge tree oforigin/dev@ece556a6e+ chain top. Independent chain review PASS; #3845 security review PASS (see #3869). Local suites NOT RUN by maintainer instruction. This is maintainer integration, not self-approval. Lower-layer PR runs are skipped/cancelled by design ([skip ci]); they are not passing evidence on their own.