Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

sauravpanda
Copy link
Collaborator

@sauravpanda sauravpanda commented Sep 14, 2025

Summary by cubic

Suppress cloud sync when BROWSER_USE_CLOUD_SYNC=false so runs stay local and quiet. No auth prompts or cloud links are shown, and no cloud events are sent.

  • Bug Fixes
    • Do not initialize CloudSync and skip CreateAgentSession/Task/Step/Update events when disabled.
    • Add CloudSync.enabled to ignore events and skip background auth and authenticate().
    • Only print terminal auth instructions and URLs when cloud sync is enabled.
    • Guard auth wait with cloud_sync is not None to avoid stray logs.

Copy link

Agent Task Evaluation Results: 2/2 (100%)

View detailed results
Task Result Reason
amazon_laptop ✅ Pass The agent successfully navigated to amazon.com, performed a search for 'laptop', and returned detailed information about the first laptop result, including the title, price, rating, number of reviews, and a link. This meets all the criteria for success.
browser_use_pip ✅ Pass The agent correctly provided the pip installation command 'pip install browser-use' as requested, fulfilling the task requirements.

Check the evaluate-tasks job for detailed task execution logs.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 3 files

Prompt for AI agents (all 1 issues)

Understand the root cause of the following 1 issues and fix them.


<file name="browser_use/agent/service.py">

<violation number="1" location="browser_use/agent/service.py:841">
Event dispatch is gated only by enable_cloud_sync, ignoring an explicitly provided cloud_sync instance, which breaks the override and prevents cloud sync from functioning when passed in.</violation>
</file>

React with 👍 or 👎 to teach cubic. Mention @cubic-dev-ai to give feedback, ask questions, or re-run the review.

@sauravpanda sauravpanda merged commit b372bb7 into main Sep 14, 2025
59 checks passed
@sauravpanda sauravpanda deleted the fix-cloud-sync-url-suppression branch September 14, 2025 17:58
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