fix(integrations): reconcile journal deletion cleanup (carry of #3484) - #3540
Conversation
Co-authored-by: Ingwannu <186453546+Ingwannu@users.noreply.github.com>
|
✅ Deterministic PR hygiene checks passed. |
|
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 (14)
Included review availability: Your plan provides up to 10 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe change improves client integration journal deletion handling. Successful snapshot pruning clears stale maintenance markers. The GUI reconciles entries deleted by another tab. Management API references document journal listing and deletion behavior in eight languages. ChangesClient integration journal
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to Journal deletion now clears stale successful-cleanup failure state and treats an already-deleted journal entry as reconciled across both integration views. The supplied coverage supports the intended behavior, with no remaining merge-blocking risk identified. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 33.33% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 6 functions across 6 files. (8 skipped: 8 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 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 |
리뷰 · 우선순위 66 / 80설명 이 PR은 기여자 Ingwannu의 #3484를 현재 고치는 버그는 두 겹입니다. 첫째, 서버 쪽입니다. 지금 둘째, GUI 쪽입니다. 다른 탭이 이미 같은 저널 행을 지운 뒤 이 탭에서 삭제하면 서버가 문서 8개 로케일 라인 379 근처 ( 메인테이너의 판단이 필요한 지점
너의 추천 이 댓글은 grok-bot이 작성했습니다 |
Summary
A successful journal prune left the stale failure marker in place (
src/server/management/integration-routes.ts:379, where two sibling call sites already pair the clear), and the GUI did not reconcile a 404 on delete. This carry pairs the clear with the prune and lets the integrations pages reconcile a 404. GUI change is limited to state reconciliation on the existing integrations pages (original PR labelledgui-screenshot-waived).Supersedes #3484 (maintainer carry: GitHub reports the original CONFLICTING after the
tests/<domain>/migration, whilegit merge-treeis clean; the carry is the PR head merged withorigin/dev, no source edits).Stack (wp1 merge train, independent layers — each targets
dev):Unit:
devlog/_plan/260905_open_work_closeout/(010, 011).Verification
bun run typecheck— exit 0 on the carry head.bun test tests/server/management-integration-journal-delete.test.ts— tests/server/management-integration-journal-delete.test.ts — 13 pass / 0 fail.3484's exact head was full-matrix green; exact-head CI on this branch is the merge gate.Checklist
devCo-authored-bytrailerCo-authored-by: Ingwannu 186453546+Ingwannu@users.noreply.github.com
Summary by CodeRabbit
New Features
Bug Fixes
Tests