Skip to content

Change Binary Download Distribution #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 19, 2025

Conversation

amaanbs
Copy link
Collaborator

@amaanbs amaanbs commented Jun 13, 2025

No description provided.

@amaanbs amaanbs requested a review from a team as a code owner June 13, 2025 06:03
@kamal-kaur04 kamal-kaur04 requested a review from Copilot June 17, 2025 07:47
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the binary download distribution by adding fallback mechanisms and supporting a user agent parameter for enhanced control during downloads. Key changes include:

  • Adding new properties (userAgent, isFallbackEnabled, downloadFailureException) and refactoring the Local.start method to handle fallback downloads in Local.cs.
  • Modifying BrowserStackTunnel.addBinaryPath to accept additional parameters and adjusting downloadBinary to use a dynamic sourceUrl in BrowserStackTunnel.cs.
  • Updating unit tests to match the new method signatures in both LocalTests.cs and BrowserStackTunnelTests.cs.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
BrowserStackLocal/BrowserStackLocal/Local.cs Refactored start method and added fallback binary download logic
BrowserStackLocal/BrowserStackLocal/BrowserStackTunnel.cs Updated addBinaryPath method signature and refactored download binary logic
BrowserStackLocal/BrowserStackLocal Unit Tests/LocalTests.cs Adjusted mocks to accommodate new addBinaryPath parameters
BrowserStackLocal/BrowserStackLocal Unit Tests/BrowserStackTunnelTests.cs Updated tests to reflect changes in method parameters

kamal-kaur04
kamal-kaur04 previously approved these changes Jun 17, 2025
Copy link
Collaborator

@kamal-kaur04 kamal-kaur04 left a comment

Choose a reason for hiding this comment

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

Please test all failure and passing conditions thoroughly.

@amaanbs amaanbs mentioned this pull request Jun 19, 2025
@amaanbs amaanbs changed the base branch from master to release_v3_0_0 June 19, 2025 07:52
@yashdsaraf yashdsaraf merged commit c05fd7d into release_v3_0_0 Jun 19, 2025
5 checks passed
@yashdsaraf yashdsaraf deleted the Change_Binary_Download_Distribution branch June 19, 2025 15:29
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.

4 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy