-
Notifications
You must be signed in to change notification settings - Fork 12
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
Change Binary Download Distribution #54
Conversation
There was a problem hiding this 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 |
There was a problem hiding this 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.
No description provided.