Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

MagMueller
Copy link
Collaborator

@MagMueller MagMueller commented Oct 12, 2025

Auto-generated PR for branch: start-time-improvement


Note

Eliminates the 200ms sleep after CreateAgentSessionEvent so CreateAgentTaskEvent is dispatched immediately, improving startup time.

Written by Cursor Bugbot for commit fb9e192. This will update automatically on new commits. Configure here.

cursor[bot]

This comment was marked as outdated.

Copy link

github-actions bot commented Oct 12, 2025

Agent Task Evaluation Results: 1/2 (50%)

View detailed results
Task Result Reason
amazon_laptop ✅ Pass The agent successfully navigated to amazon.com, performed a search for 'laptop', and returned the name of the first laptop product result along with additional details. This meets all the criteria for success.
browser_use_pip ❌ Fail The agent failed to find the pip installation command 'pip install browser-use' as required. Despite searching multiple sources, it did not locate the official repository or installation instructions. Therefore, the task is incomplete and unsuccessful.

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.

2 issues found across 2 files

Prompt for AI agents (all 2 issues)

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


<file name="browser_use/browser/session.py">

<violation number="1" location="browser_use/browser/session.py:460">
`start()` now returns before the browser is connected, so callers awaiting it will see an uninitialized session. This breaks existing expectations and leaves `_cdp_client_root` unset when tests and runtime code resume.</violation>

<violation number="2" location="browser_use/browser/session.py:521">
Avoid hardcoded 10-second sleep here; it introduces unnecessary startup delay. If a wait is required, use a readiness check or make the delay configurable instead of blocking.</violation>
</file>

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

browser_use/browser/session.py Outdated Show resolved Hide resolved
browser_use/browser/session.py Outdated Show resolved Hide resolved
cursor[bot]

This comment was marked as outdated.

This reverts commit f6c091f.
…will be awaited in downstream actions"

This reverts commit 96d17f3.
@MagMueller MagMueller merged commit 997256d into main Oct 12, 2025
56 checks passed
@MagMueller MagMueller deleted the start-time-improvement branch October 12, 2025 07:46
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.