Skip to content

Conversation

@samhvw8
Copy link
Contributor

@samhvw8 samhvw8 commented Mar 6, 2025

Context

Fix reset all state context proxy

Implementation

Screenshots

before after

How to Test

Get in Touch


Important

Adds resetAllState() to ContextProxy to clear caches and reset state and secrets, updating ClineProvider to use this method.

  • Behavior:
    • Adds resetAllState() to ContextProxy to clear caches and reset global state and secrets to undefined.
    • Updates ClineProvider to use resetAllState() for resetting state.
  • Tests:
    • Adds tests for resetAllState() in contextProxy.test.ts to verify clearing of caches and resetting of state and secrets.
  • Misc:
    • Removes redundant state and secret reset logic in ClineProvider.

This description was created by Ellipsis for e21953e. It will automatically update as commits are pushed.

@changeset-bot
Copy link

changeset-bot bot commented Mar 6, 2025

⚠️ No Changeset found

Latest commit: e21953e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. bug Something isn't working labels Mar 6, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Mar 6, 2025
@cte cte merged commit 2a2ba74 into RooCodeInc:main Mar 6, 2025
18 checks passed
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Mar 6, 2025
@samhvw8 samhvw8 deleted the fix/reset-all-state-context-proxy branch March 6, 2025 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants