No actionable comments were generated in the recent review.
Walkthrough
-
Valid token resolution no longer refreshes the credential’s liveness timestamp. The expiration test checks that the token resolves after 99 ms and expires after 101 ms.
Changes: MCP credential liveness
Layer / File(s) Summary Credential resolution and expiration test
apps/server/src/mcp/McpSessionRegistry.ts,apps/server/src/mcp/McpSessionRegistry.test.tsValid token resolution returns the recorded scope without updating lastAlive. The test checks resolution before the liveness window expires and expiration after it.Estimated code review effort: 2 (Simple) | ~8 minutes
Change: Bug fix
Suggested reviewers:
maria-rcks,juliusmarminge
Merge Risk: External image Minimal · up to 6a71a
-
MCP credentials no longer stay alive just because they are used for requests; only trusted lifecycle events refresh them. The change is narrow and tested, and no merge-blocking risk was identified.
Pre-merge checks: Passed 4
-
Check name Status Explanation Title check Passed The title states the main change: credential refresh is restricted to trusted lifecycle events. The raw summary confirms that resolve no longer refreshes lastAlive and only touch refreshes liveness, w… Description check Passed The description follows the template. It has Problem, Change, Scope, and Verification sections with substantive content. The Problem and Change sections state the bug and the fix. The Scope section sa… Linked Issues check Passed Check skipped because no linked issues were found for this pull request. Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request. Full details: Title check
-
Explanation
The title states the main change: credential refresh is restricted to trusted lifecycle events. The raw summary confirms that resolve no longer refreshes lastAlive and only touch refreshes liveness, which matches the title. The title uses the conventional commit form and is specific.
Full details: Description check
-
Explanation
The description follows the template. It has Problem, Change, Scope, and Verification sections with substantive content. The Problem and Change sections state the bug and the fix. The Scope section says it is a bug fix and states that no prior maintainer approval is claimed. The Verification section gives a specific regression result and the checks that ran. It also states what was not checked. The template's optional trailer about the agent model is present. The description does not link an issue, and the Scope section does not explain why no issue is needed. That gap is minor, so the description is mostly complete.
-
Finishing Touches
-
Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
External image Recent review info
-
External image Run configuration
-
- Source mode: Auto
- Repository: pingdotgg/t3code
- Branch: main
- File: .coderabbit.config.ts
- Commit: a5d21a3
- Layers: Repository TS config
- Review profile: CHILL
- Plan: Advanced
- Run ID:
75d3af1a-925c-40b3-9747-6cd2c00654c4
External image Commits
-
Reviewing files that changed from the base of the PR and between bade789580b108fa9f3a7f680fd4d64a4fc589a4 and 6a71acecb0c732302c4fc561943c936132346e76.
External image Files selected for processing: 2
-
apps/server/src/mcp/McpSessionRegistry.test.tsapps/server/src/mcp/McpSessionRegistry.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
External image Recent review info
-
External image Run configuration
-
- Source mode: Auto
- Repository: pingdotgg/t3code
- Branch: main
- File: .coderabbit.config.ts
- Commit: a5d21a3
- Layers: Repository TS config
- Review profile: CHILL
- Plan: Advanced
- Run ID:
75d3af1a-925c-40b3-9747-6cd2c00654c4
External image Commits
-
Reviewing files that changed from the base of the PR and between bade789580b108fa9f3a7f680fd4d64a4fc589a4 and 6a71acecb0c732302c4fc561943c936132346e76.
External image Files selected for processing: 2
-
apps/server/src/mcp/McpSessionRegistry.test.tsapps/server/src/mcp/McpSessionRegistry.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
-