Throttle failed schema freshness checks#143
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (7)
📝 WalkthroughWalkthroughSchema freshness checks now cache both successful and failed introspection attempts for 24 hours. The cache is pessimistically written as "failed" before the check runs, then upgraded to "success" if drift detection completes. This prevents repeated expensive schema introspection queries when the network probe times out or aborts. ChangesSchema Freshness Failure Caching
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Summary
Fixes #135
lastAttemptStatus: "success"only after a live schema comparison succeeds.Breaking changes
None.
Verification
bun test tests/core/schema/freshness.test.tsbun run typecheck && bun run test && bun run build && bun run build:binarySummary by CodeRabbit
Bug Fixes
Documentation
Tests