Skip to content

LTS reg-env: redirect wdio-browserstack-service endpoints to bsstag.com - #2

Open
MihirR-BS wants to merge 1 commit into
mainfrom
LTS-tra-wdio-reg-env
Open

LTS reg-env: redirect wdio-browserstack-service endpoints to bsstag.com#2
MihirR-BS wants to merge 1 commit into
mainfrom
LTS-tra-wdio-reg-env

Conversation

@MihirR-BS

Copy link
Copy Markdown
Owner

What

Mirror of browserstack-python-sdk PR #977 and browserstack-javaagent branch LTS-SDK-changes-for-reg-env, applied on top of latest upstream webdriverio/webdriverio main.

Swaps every production browserstack.com endpoint the wdio-browserstack-service talks to over to the LTS regression environment on bsstag.com, so the WDIO service can be exercised end-to-end against reg-env alongside the Java agent and Python SDK.

Endpoint mapping

All target hosts DNS-resolve and respond over HTTPS (verified locally before commit):

Prod URL Reg-env
api.browserstack.com apik8s.bsstag.com
api-cloud.browserstack.com api-cloud-k8s.bsstag.com
collector-observability.browserstack.com collector-observability-k8s.bsstag.com
eds.browserstack.com edsstaging.bsstag.com (eds-k8s has no DNS)
tcg.browserstack.com tcg-k8s.bsstag.com
upload-observability.browserstack.com upload-observability-k8s.bsstag.com
app-accessibility.browserstack.com app-accessibility-k8s.bsstag.com
automation.browserstack.com automation-k8s.bsstag.com

Files touched (all under packages/wdio-browserstack-service/src/)

  • constants.tsDATA_ENDPOINT, APP_ALLY_ENDPOINT, UPLOAD_LOGS_ADDRESS, FUNNEL_INSTRUMENTATION_URL, EDS_URL, TCG_URL
  • service.ts — three _sessionBaseUrl assignments (automate, app-automate, automate-turboscale)
  • cli/apiUtils.ts — 10 static endpoint constants used by the CLI layer
  • launcher.ts — build report display URL + app-automate upload endpoint
  • cleanup.ts — build report display URL

Related

Note on eds-k8s.bsstag.com

Both the Python SDK PR webdriverio#977 and the Java agent's LTS-SDK-changes-for-reg-env branch use eds-k8s.bsstag.com for the EDS endpoint. That hostname has no DNS. This branch uses edsstaging.bsstag.com (matching the working approach in browserstack-node-agent PR webdriverio#2143). The Python/Java branches may need a similar correction.

Not for merge

Reg-env branch only. Revert (or don't merge upstream) before shipping to production.

🤖 Generated with Claude Code

Mirror of browserstack-python-sdk PR webdriverio#977 (Lts tra python reg-env) and
browserstack-javaagent LTS-SDK-changes-for-reg-env, applied on top of
latest upstream webdriverio/webdriverio main.

Swaps every production browserstack.com endpoint the wdio-browserstack-service
talks to over to the LTS regression environment on bsstag.com. All target
hosts DNS-resolve and respond over HTTPS (verified).

Files:
- constants.ts: DATA_ENDPOINT, APP_ALLY_ENDPOINT, UPLOAD_LOGS_ADDRESS,
  FUNNEL_INSTRUMENTATION_URL, EDS_URL, TCG_URL
- service.ts: three _sessionBaseUrl assignments (automate,
  app-automate, automate-turboscale)
- cli/apiUtils.ts: 10 static endpoint constants used by the CLI layer
- launcher.ts: build report display URL + app-automate upload endpoint
- cleanup.ts: build report display URL

Endpoint mapping (all DNS-verified against the reg-env cluster):
  api.browserstack.com                     -> apik8s.bsstag.com
  api-cloud.browserstack.com               -> api-cloud-k8s.bsstag.com
  collector-observability.browserstack.com -> collector-observability-k8s.bsstag.com
  eds.browserstack.com                     -> edsstaging.bsstag.com (eds-k8s has no DNS)
  tcg.browserstack.com                     -> tcg-k8s.bsstag.com
  upload-observability.browserstack.com    -> upload-observability-k8s.bsstag.com
  app-accessibility.browserstack.com       -> app-accessibility-k8s.bsstag.com
  automation.browserstack.com              -> automation-k8s.bsstag.com

Revert before merging to main.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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