Repository navigation
Version Packages - #292
Merged
Merged
Version Packages#292
Conversation
github-actions
Bot
requested review from
AdityaHirapara and
harshit-browserstack
and removed request for
a team
October 15, 2026 15:42
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
AakashHotchandani
approved these changes
Oct 15, 2026
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to v8, this PR will be updated.
Releases
@wdio/browserstack-service@8.53.2
Patch Changes
ccb370d: - SDK-6948:
*.bsstag.comhubs are now recognised as BrowserStack on named internal staging envs (BROWSERSTACK_STAGING_ENV/BROWSERSTACK_ENV), so with the CLI flow (default) session marking and TRA linking work there. The classic (non-CLI) flow on a named staging env is not supported; its session update is skipped at debug.update_clifailures fall back toBROWSERSTACK_BINARY_URL. A failed fallback download uses the cached binary._printSessionURLand_updatelog a failed session lookup or update (HTTP error) at debug instead of throwing.25529d2: fix(cli): fall back to
BROWSERSTACK_BINARY_URLwhenupdate_clifails (SDK-6948)update_cliruns during bootstrap — before the binary is spawned and before GRR localizes the API hosts — so it always targets productionapi.browserstack.com. On an internal staging run (BROWSERSTACK_STAGING_ENV) the staging credentials are rejected there (401), which left the CLI binary path empty and crashed the launcher withspawn('') … ERR_INVALID_ARG_VALUE: 'file' cannot be empty. Whenupdate_clifails andBROWSERSTACK_BINARY_URLis set, download the binary from that URL instead so the run can proceed; the same applies when a 2xx reply carries no download URL and no binary is cached. If that download fails, the cached binary is used when there is one, and both errors are logged. Opt-in only — with the variable unset the original error propagates exactly as before. Ports main/v9 fix(cli): fall back to BROWSERSTACK_BINARY_URL when update_cli fails (SDK-6948) #224 to the v8 line.7ef36e1: fix(util): recognize
*.bsstag.comhosts as BrowserStack on internal staging envs (SDK-6948)getCloudProviderandisBrowserstackInfraonly matchedbrowserstack.com, so a session pointed at an internal staging env (*.bsstag.com) was classified as non-BrowserStack: session marking and Automate <-> TRA session linking did not work there.*.bsstag.comhosts are now treated as BrowserStack whenBROWSERSTACK_STAGING_ENVis a bare env name (e.g.k8s, trimmed; blank means unset) orBROWSERSTACK_ENVisstaging/stag/preprod/pre-prod. Hosts are matched case-insensitively. Production behaviour is unchanged. With the CLI flow (the default), session marking and Automate <-> TRA session linking now work on those envs, because the binary supplies the staging session REST host. The classic (non-CLI) flow on a named staging env is not supported: it has no staging session REST host, so the session name/status update is skipped at debug instead of failing the hook._printSessionURLand_updatelog a failed session lookup or update (HTTP error reply) at debug instead of throwing. Ports main/v9 fix: recognize bsstag hosts and localize session REST host on named staging envs (SDK-6948) #275 to the v8 line.