Skip to content

Remove inactive pytest xdist option - #5480

Closed
aryansk wants to merge 1 commit into
browser-use:mainfrom
aryansk:codex/browser-use-5427-7060f994
Closed

aryansk wants to merge 1 commit into
browser-use:mainfrom
aryansk:codex/browser-use-5427-7060f994

Conversation

@aryansk

@aryansk aryansk commented Aug 16, 2026 •

Copy link
Copy Markdown

Fixes #5427

Summary

  • remove the inactive --dist=loadscope option from global pytest addopts
  • preserve the current serial test execution unless callers explicitly enable xdist with -n

Testing

Not run locally; configuration-only change and draft PR for CI validation.


Summary by cubic

Removes the inactive --dist=loadscope flag from global pytest addopts because pytest-xdist is not enabled by default. Default runs stay serial; when using -n, pytest-xdist uses its default distribution.

Rollout/Migration

  • No change for runs without -n; CI remains serial.
  • If you require loadscope when running in parallel, pass --dist=loadscope with -n or set it in a local pytest config.
  • Only pyproject.toml changed.

Written for commit 5fb5651. Summary will update on new commits.

Review in cubic

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


pr-relay seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@aryansk
aryansk marked this pull request as ready for review August 18, 2026 09:17

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 1 file

Re-trigger cubic

@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown

👋 This PR has been automatically marked as stale because it hasn't had activity for 45 days.

To keep this PR open:

  • Rebase against the latest main branch
  • Address any review feedback or merge conflicts
  • Add a comment explaining the current status
  • Add the work-in-progress label if you're still actively working on this

This will be automatically closed in 14 days if no further activity occurs.

Thanks for contributing to browser-use! 🤖

@github-actions github-actions Bot added the stale label Oct 3, 2026
@github-actions

Copy link
Copy Markdown

🔒 This PR was automatically closed because it was stale for 14 days with no activity.

Don't worry! If you'd like to continue this work:

  • Reopen this PR and rebase against main
  • Create a fresh PR with updated changes
  • Join our Discord if you need help

Thanks for contributing to browser-use! 🤖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: --dist=loadscope in addopts is a silent no-op — pytest-xdist never activates without -n

2 participants