Skip to content

Version Packages - #292

Merged
AakashHotchandani merged 1 commit into
v8from
changeset-release/v8
Oct 15, 2026
Merged

AakashHotchandani merged 1 commit into
v8from
changeset-release/v8

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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.com hubs 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.

    • SDK-6948: update_cli failures fall back to BROWSERSTACK_BINARY_URL. A failed fallback download uses the cached binary.
    • SDK-6948: _printSessionURL and _update log a failed session lookup or update (HTTP error) at debug instead of throwing.
  • 25529d2: fix(cli): fall back to BROWSERSTACK_BINARY_URL when update_cli fails (SDK-6948)

    update_cli runs during bootstrap — before the binary is spawned and before GRR localizes the API hosts — so it always targets production api.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 with spawn('') … ERR_INVALID_ARG_VALUE: 'file' cannot be empty. When update_cli fails and BROWSERSTACK_BINARY_URL is 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.com hosts as BrowserStack on internal staging envs (SDK-6948)

    getCloudProvider and isBrowserstackInfra only matched browserstack.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.com hosts are now treated as BrowserStack when BROWSERSTACK_STAGING_ENV is a bare env name (e.g. k8s, trimmed; blank means unset) or BROWSERSTACK_ENV is staging/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. _printSessionURL and _update log 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.

@github-actions
github-actions Bot requested a review from a team as a code owner October 15, 2026 15:42
@github-actions
github-actions Bot requested review from AdityaHirapara and harshit-browserstack and removed request for a team October 15, 2026 15:42
@coderabbitai

coderabbitai Bot commented Oct 15, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Central YAML (base), Organization UI (inherited), Workspace UI (inherited)
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 7316b0bc-0b07-4574-a91f-239659449689

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@AakashHotchandani
AakashHotchandani merged commit 1a7420c into v8 Oct 15, 2026
5 checks passed
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.

1 participant