fix(bootstrap): stream patchright install output in real-time#565
Open
ibtisam-12 wants to merge 2 commits into
Open
fix(bootstrap): stream patchright install output in real-time#565ibtisam-12 wants to merge 2 commits into
ibtisam-12 wants to merge 2 commits into
Conversation
Instead of silently capturing subprocess output and discarding it, patchright install progress is now streamed line-by-line to logger.debug. This lets users see download progress (MB downloaded, percentage) when running with --log-level DEBUG. CLI modes (--login, --status, --import-from-browser) additionally get live output via print() so the user is never left staring at a blank line. The background task completion handler (_refresh_background_task_state) now logs the elapsed time, giving operators a clear signal that setup finished. Fixes stickerdaniel#533
Contributor
Greptile SummaryThis PR makes Patchright browser setup output visible while installs are running. The main changes are:
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (2): Last reviewed commit: "fix(bootstrap): use +00:00 instead of st..." | Re-trigger Greptile |
…parsing utcnow_iso() returns a Z-suffixed timestamp. Stripping Z makes fromisooutput() return a naive datetime, which raises TypeError when subtracted from datetime.now(timezone.utc). Replacing Z with +00:00 preserves timezone awareness so elapsed time is computed correctly. Fixes Greptile review finding on PR stickerdaniel#565.
alexeynesteruk
pushed a commit
to alexeynesteruk/linkedin-mcp-server
that referenced
this pull request
Jul 13, 2026
- Expand collapsed job descriptions via main "See more" (stickerdaniel#559; EN locale) - search_people: geo_urn facet, string list coercion, max_pages (stickerdaniel#568/stickerdaniel#517/stickerdaniel#527) - Stream patchright install output and log setup elapsed time (stickerdaniel#565)
alexeynesteruk
pushed a commit
to alexeynesteruk/linkedin-mcp-server
that referenced
this pull request
Jul 13, 2026
- Expand collapsed job descriptions via main "See more" (stickerdaniel#559; EN locale) - search_people: geo_urn facet, string list coercion, max_pages (stickerdaniel#568/stickerdaniel#517/stickerdaniel#527) - Stream patchright install output and log setup elapsed time (stickerdaniel#565)
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Instead of silently capturing subprocess output and discarding it, patchright install progress is now streamed line-by-line to logger.debug. This lets users see download progress (MB downloaded, percentage) when running with --log-level DEBUG.
CLI modes (--login, --status, --import-from-browser) additionally get live output via print() so the user is never left staring at a blank line.
The background task completion handler (_refresh_background_task_state) now logs the elapsed time, giving operators a clear signal that setup finished.
Fixes #533