Repository navigation
fix(server): grant woken snoozed threads a fresh auto-settle window - #12525
maria-rcks wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: pingdotgg/t3code/.coderabbit.yaml Review profile: CHILL Plan: Advanced 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 auto-settlement policy now uses an expired snooze’s wake time as activity. Future snoozes remain excluded. Tests verify the three-day inactivity window after wake. ChangesSnooze-aware auto-settlement
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Medium Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This narrowly scoped server bug fix adjusts auto-settlement timing for expired snoozes and includes focused coverage for the changed behavior. Existing future-snooze and explicit wake paths remain unchanged, with no schema, deployment, security, billing, or static-analysis changes. You can add or adjust custom eligibility rules. Learn more. |
…uto-settle window From pingdotgg#12525 by @maria-rcks. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
Thanks for the PR. We're not taking changes to the orchestration and provider layers right now: that part of the server is being rewritten for V2, and merging into the current code would either conflict with or be thrown away by that work. Closing for now. If this is still an issue once V2 lands, please reopen (or open a fresh PR against the new code) and we'll take a proper look. |
Expired snoozes could auto-settle on the next sweep because inactivity was measured from before the snooze. The inactivity window now starts at the later of the snooze expiry and the latest user or turn activity.
Fixes #11788.
Blacksmith: 19 policy tests and 57 reactor tests passed, along with server typecheck and scoped lint. The regression test fails before the fix. Provider/client wake behavior remains unverified.
Implemented with
opencode/muse-spark-1.3-contributor-freethrough OpenCode.Summary by CodeRabbit