Skip to content

feat(v8): port missing monorepo parity commits (test-plan, grpc-size, exit-signal, log-redaction)#58

Open
AakashHotchandani wants to merge 2 commits into
v8from
port/wdio-v8-missing-commits
Open

feat(v8): port missing monorepo parity commits (test-plan, grpc-size, exit-signal, log-redaction)#58
AakashHotchandani wants to merge 2 commits into
v8from
port/wdio-v8-missing-commits

Conversation

@AakashHotchandani

Copy link
Copy Markdown
Collaborator

The v8 extraction dropped several wdio-browserstack-service commits that exist in the monorepo v8 line (and in this repo's main/v9). This ports the 4 missing ones so the standalone v8 is at parity before the 8.49.0 release.

Found via a per-commit audit of monorepo-v8 wdio-browserstack-service vs standalone v8 (verified by reading each diff, not marker-greps).

Ported (each matches the upstream diff)

Upstream Feature Files
#15231 (867819cdb) Test Plan Id (SDK-5540) constants.ts, types.ts, util.ts, cli/cliUtils.ts, cli/index.ts, launcher.ts, service.ts
#15217 (cdbd52ebd) gRPC message size limits (20 MB) cli/grpcClient.ts
#15146 (13e4c92c6) CLI exit signal SIGKILL→SIGINT (Unix) exitHandler.ts
#15200 (bbb4cb495) username/accesskey redaction in logs cli/cliLogger.ts

Why this matters

The regression suite's test_test_plan_id_log (6 cells) was failing because the v8 service had no test-plan code — it never emitted "Test Plan Id sent in request:" into bstack-wdio-service.log. #15231 restores getTestPlanId() + that log line, which fixes those failures.

Already present (audited, no port needed)

#15330 (screenshot), #15134 (isCLIEnabled), #15036 (instrumentation), #14989 (pid — end-state already true), #14920 (multiRemote + session name/status).

Verification

  • Every ported hunk mapped cleanly to the standalone (only deviation: skipped a purely cosmetic import re-sort in util.ts).
  • Build passes: npm ci + npm run build (buf generate && tsc -p tsconfig.prod.json) → exit 0, no TS errors.
  • Changeset: @wdio/browserstack-service patch.

🤖 Generated with Claude Code

…exit-signal/log-redaction

Ports 4 upstream webdriverio/webdriverio v8 commits to the standalone v8 line:
- #15231 test management (testPlanId) support + CLI-only caps stripping + build-start errors
- #15217 raise gRPC send/receive message size limit to 20 MB
- #15146 terminate CLI process with SIGINT (not SIGKILL) on Unix
- #15200 redact credentials from CLI log output

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@AakashHotchandani
AakashHotchandani requested a review from a team as a code owner July 17, 2026 08:46
@AakashHotchandani
AakashHotchandani requested review from 07souravkunda and pranay-v29 and removed request for a team July 17, 2026 08:46
Co-Authored-By: Claude Opus 4.8 (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