Repository navigation
Refactor interfaces, fix context propagation, and reduce delays - #666
Conversation
Co-authored-by: Eden Reich <[email protected]>
|
@claude Can you review this? |
|
Claude finished @edenreich's task in 6m 17s —— View job Code ReviewI read the full diff against
✅ Strengths
🔍 Findings1. Stale doc comment in 2. 3. The context-propagation fix is correct hygiene but currently behaviorally inert (FYI, not a bug) 4. 3 of the 5 reduced timing constants are unused (pre-existing dead code) 5. Notes
VerificationNice incremental refactor - the interface split and error logging are clear wins. My only substantive ask is to eyeball the |
…ay, dead timing constants - Fix stale doc comment in completing.go: update '100ms' to '20ms' to match the actual sleep duration in the code - Bump activate_app.go delay from 50ms to 150ms: the macOS window server focus switch is async and less predictable than internal goroutine settle windows; 50ms risked degrading the confirmation signal to the weaker 'Attempted to activate' result instead of confirmed 'is now in focus' - Remove 3 unused timing constants from timing.go: AgentParallelToolsDelay, AgentConversationSaveDelay, and CompletionCheckDelay had zero references anywhere in the codebase
|
Addressed review findings from @inference-gateway-maintainer[bot]: 1. Stale doc comment in 2. 3. Dead timing constants (Finding #4) ✅ Fixed 4. Context propagation (Finding #3) — No action needed (FYI) 5. All tests pass, pre-commit hooks pass (lint, format, mocks, etc.). Ready for re-review. |
|
@claude Check the changes. Is it ready for merge? |
|
Claude finished @edenreich's task in 6m 25s —— View job Merge Readiness Check
✅ Ready for mergeI re-checked the latest state of the branch (HEAD Review findings - all resolved
Findings #3 (context propagation - correct hygiene, behaviorally inert today) and #5 ( Interface segregation - verified pure refactorI went beyond a visual diff and compared the flattened, reflection-derived method sets of the composed interfaces on this branch vs. No method added, dropped, renamed, or signature-changed - so all existing implementations and the committed counterfeiter fakes ( Extra safety checks
VerificationOne non-blocking noteThe Verdict: No blocking issues. This is a clean, well-scoped, behavior-preserving refactor with real observability and responsiveness wins. 👍 Ready to merge. |
## [0.125.0](v0.124.1...v0.125.0) (2026-06-28) ### 🚀 Features * **reminders:** configurable reminders on a shared hook-point catalog ([#675](#675)) ([179cad1](179cad1)), closes [#270](#270) [#669](#669) [#270](#270) [#525](#525) [#270](#270) * **channels:** retain inbound voice/audio recordings with bounded cleanup ([#671](#671)) ([8fd29ce](8fd29ce)) * **hooks:** run configured shell commands at agent hook points ([#676](#676)) ([990f2c0](990f2c0)), closes [#270](#270) [#675](#675) [#675](#675) [#270](#270) [#675](#675) [#675](#675) [#669](#669) [#270](#270) ### 🐛 Bug Fixes * **agent:** keep the internal completion check out of channel replies ([#672](#672)) ([96b166c](96b166c)) * **docs:** replace em dashes with hyphens for consistency in SKILL.md and configuration-reference.md ([1c9196d](1c9196d)) ### ♻️ Code Refactoring * dead-code cleanup, Go 1.26 modernization, width-aware truncation, race testing ([#667](#667)) ([7a97f3b](7a97f3b)) * interfaces, fix context propagation, and reduce delays ([#666](#666)) ([1a93ff8](1a93ff8)) ### 📚 Documentation * **skills:** add charm v2 skills (bubbletea, lipgloss, bubbles) ([#664](#664)) ([c7242c7](c7242c7)), closes [#657](#657) [#663](#663) * **skills:** add Go skills adapted from spf13/go-skills ([#665](#665)) ([971ac23](971ac23)) * **skills:** add go-concurrency skill ([#663](#663)) ([c77ac33](c77ac33)), closes [#657](#657) ### ✅ Tests * relax TestSessionID_Age_Recent upper bound to tolerate slow CI ([#673](#673)) ([9cfe203](9cfe203)), closes [#671](#671)
|
🎉 This PR is included in version 0.125.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Segregates ConversationRepository and StateManager into focused sub-interfaces (MessageRepository, TokenUsageRepository, ViewManager, etc.) for better dependency management. Fixes context propagation in agent tool calls by passing the request-scoped context instead of context.Background(), adds error logging for state machine transitions, and reduces agent processing delays from 100ms to 20ms for improved responsiveness. Cleans up unused migration count variables in storage backends.