Skip to content

Lts wdio rengg lts - #162

Open
MihirR-BS wants to merge 5 commits into
browserstack:mainfrom
MihirR-BS:lts-wdio-rengg-lts
Open

Lts wdio rengg lts#162
MihirR-BS wants to merge 5 commits into
browserstack:mainfrom
MihirR-BS:lts-wdio-rengg-lts

Conversation

@MihirR-BS

Copy link
Copy Markdown

What is this about?

Related Jira task/s

Release (mandatory for every PR — required for the ready-for-review label)

Version bump: (required — tick exactly one)

  • minor (backwards-compatible feature)
  • patch (bug fix or other small change)

Release notes type: (optional)

  • New Feature
  • Bug Fix
  • Other Improvement

Release notes (customer-facing): (optional but encouraged)

Release notes (internal): (required — engineer-facing; what actually changed / why)

Checklist

  • Ready to review
  • Has it been tested locally?

PR Validations

Run Tests: Comment RUN_TESTS to trigger sanity tests.

MihirR-BS and others added 4 commits July 27, 2026 20:28
…rengg-lts.bsstag.com

Mirror of browserstack-node-agent PR #1920 (Gen 2 daily-reg pattern,
rengg-lts.bsstag.com family). Supersedes the earlier Gen 1 -k8s.bsstag.com
branch on the MihirR-BS webdriverio fork — that source location no longer
holds the service (see webdriverio/webdriverio#15404 removing it from
the monorepo; @wdio/browserstack-service is now published from this repo,
browserstack/wdio-browserstack-service).

Swaps every production browserstack.com endpoint over to the LTS
daily-reg cluster, aligning with Node PR #1920 URL family exactly so a
single Redis flip on the reg-env cluster enables Node/WDIO/Nightwatch
pods together.

Files: launcher.ts, cleanup.ts, constants.ts, util.ts, service.ts,
cli/apiUtils.ts

Endpoint mapping (matches Node PR #1920 Gen 2 pattern):
  api.browserstack.com                     -> apirengg-lts.bsstag.com
  api-cloud.browserstack.com               -> api-cloud-rengg-lts.bsstag.com
  collector-observability.browserstack.com -> collector-observability-rengg-lts.bsstag.com
  upload-observability.browserstack.com    -> upload-observability-rengg-lts-ssi.bsstag.com
  automate.browserstack.com                -> automate-rengg-lts.bsstag.com
  app-automate.browserstack.com            -> app-automate-rengg-lts.bsstag.com
  app-accessibility.browserstack.com       -> app-accessibility-rengg-lts.bsstag.com
  tcg.browserstack.com                     -> tcg.bsstag.com (shared staging)
  eds.browserstack.com                     -> edsstaging.bsstag.com (shared staging)

Revert before merging to upstream main.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Mirrors browserstack-javaagent LTS-daily-reg-javaagent, browserstack-node-agent
PR #1920, and browserstack-python-sdk reg patch (0e183e25). Early-return in
checkAndUpdateCli when the env override is set — skips update_cli (which 503's
on reg) and downloads directly. Prod path (env unset) unchanged.
@MihirR-BS
MihirR-BS requested a review from a team as a code owner August 23, 2026 21:02
Reg CLI binary (browserstack-binary LTS-daily-reg-binary) StartBinSession
response doesn't include the full apis schema — dereferencing apis.automate
throws and bootstrap fails downstream of the CLI subprocess starting.
Guard each field; fall back to baked-in reg URLs when a subtree is missing.

Also swap DATA_ENDPOINT's baked-in default from the NXDOMAIN
collector-observability-rengg-lts.bsstag.com to the working
collector-testhub-rengg-lts-external.bsstag.com (same DNS gap fix
already applied to constants.ts in f5404fd; apiUtils.ts had its
own copy).

Prod's CLI binary returns the full schema so every guard falls through
to the assignment — no prod behavior change.
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