Lts wdio rengg lts - #162
Open
MihirR-BS wants to merge 5 commits into
Open
Conversation
…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>
… gap fix; mirrors python-sdk change)
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.
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.
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.
What is this about?
Related Jira task/s
Release (mandatory for every PR — required for the
ready-for-reviewlabel)Version bump: (required — tick exactly one)
Release notes type: (optional)
Release notes (customer-facing): (optional but encouraged)
Release notes (internal): (required — engineer-facing; what actually changed / why)
Checklist
PR Validations
Run Tests: Comment RUN_TESTS to trigger sanity tests.