Repository navigation
Conversation
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
There was a problem hiding this comment.
All reported issues were addressed across 4 files
Heads up: you’re close to your flex budget. Increase your flex budget so reviews don’t pause.
View guided diff | Re-trigger cubic
There was a problem hiding this comment.
All reported issues were addressed across 2 files (changes from recent commits).
Heads up: you’re close to your flex budget. Increase your flex budget so reviews don’t pause.
View guided diff | Re-trigger cubic
|
Following up on this fix for download directories being created before they are needed. Is there anything else needed to help review it? |
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 39893883 | Triggered | Generic Password | 208dfff | browser_use/telemetry/stats.py | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Why
The 1.0 rewrite removed
BrowserProfileand the download watchdog changed by this PR. In 1.0, a never-run agent already avoids creating a temporary workspace. This PR extends that existing regression check to cover constructing local and CDP-attached browser objects without starting them, protecting against the same unused-directory problem reported in #5422.Related to #5422. This is a test-only update against 1.0; it does not address the separate user-data-directory cleanup from the issue or alter download behavior after startup.
Verification
test_an_agent_that_never_runs_leaves_no_temp_workspacepassed on Windows. It checks unused agents, local browsers and CDP-attached browsers without launching Chrome.