Skip to content

Conversation

@wkordalski
Copy link
Contributor

@wkordalski wkordalski commented Mar 21, 2025

Context

RooCodeAPI.clearCurrentTask() does not post state to webview at the end of RooCodeAPI.clearCurrentTask().
Therefore webview become out-of-sync with ClineProvider. The webview still presents a question to the user, but the related Cline is already aborted.

Implementation

Trivial.

Screenshots

None.

How to Test

Create a task, possibly with subtask, call RooCodeAPI.clearCurrentTask() and observe the sidebar.

Get in Touch

Discord handle: wkordalski


Important

Adds postStateToWebview() call in clearCurrentTask() to sync webview with ClineProvider after task clearance.

  • Behavior:
    • Adds postStateToWebview() call in clearCurrentTask() in api.ts to update webview state after clearing a task.
    • Ensures webview syncs with ClineProvider when a task is cleared.

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

@changeset-bot
Copy link

changeset-bot bot commented Mar 21, 2025

⚠️ No Changeset found

Latest commit: 505389f

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:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Mar 21, 2025
@hannesrudolph hannesrudolph moved this from New to PR [Pre Approval Review] in Roo Code Roadmap Mar 21, 2025
teddyOOXX pushed a commit to teddyOOXX/Roo-Code that referenced this pull request Mar 28, 2025
…dentials

fix: make AWS Bedrock authentication predictable
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Apr 1, 2025
@mrubens mrubens merged commit 5d99384 into RooCodeInc:main Apr 1, 2025
17 checks passed
@github-project-automation github-project-automation bot moved this from PR [Pre Approval Review] to Done in Roo Code Roadmap Apr 1, 2025
Smartsheet-JB-Brown added a commit to Smartsheet-JB-Brown/Roo-Code that referenced this pull request Apr 1, 2025
* main: (21 commits)
  Update contributors list (RooCodeInc#2137)
  Tree-sitter Enhancements: TSX, TypeScript, JSON, and Markdown Support (RooCodeInc#2169)
  Fix Tests to run properly on Windows (RooCodeInc#1963)
  We should post state to webview at the end of `RooCodeAPI.clearCurrentTask()` (RooCodeInc#1874)
  Update app icon (RooCodeInc#2166)
  Changeset version bump (RooCodeInc#2163)
  Revert "feat @-mention window path style & file with space (RooCodeInc#1924)" (RooCodeInc#2162)
  Changeset version bump (RooCodeInc#2154)
  Include inference-profile in Bedrock arnRegex (RooCodeInc#2156)
  Add requesty to connect-src (RooCodeInc#2155)
  Update the webview when changing settings via the API (RooCodeInc#2143)
  Split webviewMessageHandler out of ClineProvider.ts (RooCodeInc#2149)
  Changeset version bump (RooCodeInc#2141)
  Relax provider profiles schema and log parse error to PostHog (RooCodeInc#2139)
  Changeset version bump (RooCodeInc#1992)
  v3.11.0 (RooCodeInc#2136)
  Update contributors list (RooCodeInc#2090)
  Preserve existing provider profiles when importing (RooCodeInc#2052)
  feat: Add shift-click to append suggestions to text area (RooCodeInc#2081)
  Remove hard-coded o3-mini model when streaming is enabled, allowing custom o3-mini-<reasoning> model (RooCodeInc#2134)
  ...
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:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants