Skip to content

feat: enhance context management with telemetry and approval improvem…#60

Merged
cnjack merged 2 commits into
mainfrom
feat/enhancement-context-management
May 14, 2026
Merged

feat: enhance context management with telemetry and approval improvem…#60
cnjack merged 2 commits into
mainfrom
feat/enhancement-context-management

Conversation

@cnjack
Copy link
Copy Markdown
Owner

@cnjack cnjack commented May 14, 2026

…ents

  • Added telemetry support for approval processes, enabling tracing of approval and execution spans.
  • Implemented pruning of old tool outputs to maintain context during session resumes.
  • Improved session state management by recording system prompts and environment snapshots.
  • Enhanced approval handling in the TUI to support queued requests and auto-approval modes.
  • Introduced truncation for tool outputs to manage large data sizes effectively.

cnjack added 2 commits April 30, 2026 02:24
…ents

- Added telemetry support for approval processes, enabling tracing of approval and execution spans.
- Implemented pruning of old tool outputs to maintain context during session resumes.
- Improved session state management by recording system prompts and environment snapshots.
- Enhanced approval handling in the TUI to support queued requests and auto-approval modes.
- Introduced truncation for tool outputs to manage large data sizes effectively.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 14, 2026

Warning

Rate limit exceeded

@cnjack has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 58 minutes and 21 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: ea392674-fa07-4814-a31e-c97ab48f721e

📥 Commits

Reviewing files that changed from the base of the PR and between bad44f1 and 0152a6d.

📒 Files selected for processing (13)
  • internal/agent/middleware.go
  • internal/command/acp.go
  • internal/command/interactive.go
  • internal/handler/notifying.go
  • internal/handler/tui.go
  • internal/prompts/prompts.go
  • internal/runner/approval.go
  • internal/session/history.go
  • internal/session/session.go
  • internal/session/truncate.go
  • internal/telemetry/langfuse.go
  • internal/tools/subagent.go
  • internal/tui/tui.go
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/enhancement-context-management

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@cnjack cnjack merged commit 7bfb7aa into main May 14, 2026
1 check was pending
@cnjack cnjack deleted the feat/enhancement-context-management branch May 14, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant