Skip to content

Avoid blocking on active Upwork pages - #14

Merged
roperi merged 1 commit into
mainfrom
fix/avoid-best-matches-reload
Sep 2, 2026
Merged

roperi merged 1 commit into
mainfrom
fix/avoid-best-matches-reload

Conversation

@roperi

@roperi roperi commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Summary

Follow-up to #12 and closes #13.

The previous authentication fix still reloaded Best Matches even when it was already active, which could leave Selenium waiting on Upwork’s dynamic page load. This change avoids unnecessary target-page reloads and uses eager browser navigation so authentication state can be evaluated without waiting for every page resource.

It also adds an explicit Upwork authentication ready log entry and regression coverage for active-page reuse and authenticated redirects.

Validation

  • make check passed
  • 23 tests passed
  • Ruff, formatting, and mypy passed
  • Gitleaks passed
  • Pre-commit hooks passed
  • Live uv run upwork-scraper --validate-login passed in approximately 24 seconds

No credentials, cookies, browser profiles, databases, or runtime logs are included.

@roperi
roperi merged commit ef96ff0 into main Sep 2, 2026
2 checks passed
@roperi
roperi deleted the fix/avoid-best-matches-reload branch September 2, 2026 21:34
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.

Avoid blocking on active Best Matches navigation

1 participant