Skip to content

Conversation

@mrubens
Copy link
Collaborator

@mrubens mrubens commented Dec 26, 2024

An attempt to fix #166 by adding a configurable delay after auto-writes (defaulting to 1 second).

Screenshot 2024-12-26 at 9 50 40 AM

Important

Adds a configurable delay after auto-writes to allow diagnostics to catch up, with a default of 1000ms, configurable via settings.

  • Behavior:
    • Adds a configurable delay after auto-writes, defaulting to 1000ms, to allow diagnostics to catch up.
    • Implemented in ClineProvider and ChatView.
  • State Management:
    • Introduces writeDelayMs in ExtensionState and WebviewMessage.
    • Updates ClineProvider to handle writeDelayMs messages and state.
  • UI Changes:
    • Adds a slider in SettingsView to configure writeDelayMs.
    • Displays delay setting only when alwaysAllowWrite is enabled.
  • Tests:
    • Adds tests in ClineProvider.test.ts for default writeDelayMs and message handling.

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

@changeset-bot
Copy link

changeset-bot bot commented Dec 26, 2024

🦋 Changeset detected

Latest commit: 03707d5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
roo-cline Patch

Not sure what this means? Click here to learn what changesets are.

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

@mrubens mrubens merged commit e0eb024 into main Dec 26, 2024
6 checks passed
@mrubens mrubens deleted the diagnostics_delay branch December 26, 2024 18:16
roomote pushed a commit that referenced this pull request Jul 8, 2025
* Add missing jobId to general.task

Should maybe just pass the whole job through...

* Fix roo code production name
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.

API request sent too quickly after previous save operation with auto-approve write operations using diffs enabled

3 participants