Repository navigation
Merge feat/driver-init-failure-event-v10 - #416
Merged
bsautomation merged 13 commits intoDec 4, 2026
Merged
Conversation
When the WebDriver new-session request fails or hits connectionRetryTimeout, the WDIO runner calls the service's `after` hook without ever calling `before`. Detect that in the worker (same path for the CLI and direct flows, since only the client sees the outcome) and send one `DriverInitFailure` sdk_events record to EDS, keyed by the TestHub build uuid, with the same payload shape as the Node SDK. The send is bounded, resent only when EDS sheds it with 429/503, and never throws into the run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…_day formatter The awaited send in the worker after hook could hold teardown for about 29s (4 attempts x 5s timeout plus backoff). All attempts now share a 10s deadline: each attempt's timeout is capped at the time remaining, a backoff that would overrun it is skipped, and sending stops once it is spent. Resends stay limited to 429/503 and at most 4 attempts. formatCreatedDay moves to its own module so performance-tester can use it without an import cycle through funnelInstrumentation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…runcation within the byte cap Truncation now backs off to the last whole code point so the message stays valid UTF-8 and never exceeds 8000 bytes. URL userinfo and the access key and username values are masked before the message is logged or sent, and a failed send logs only the error message. The uploadEventsData test restores fsPromises.access. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… coverage Cap the message before scrubbing and anchor the userinfo pass on the scheme delimiter so a long input cannot stall the failure path. Also mask Basic/Bearer values, key-style parameters, the base64 and URL-encoded credential forms, and match the username only as a whole token. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…DriverInitFailure
wdio exposes the session creation error only on runner:end, after the service's after() hook, so a small always-on reporter now sends the event from onRunnerEnd and holds the reporter sync until it settles. The request webdriver appends to the error, whose capabilities carry the credentials, is cut before the existing scrub. The send deadline follows reporterSyncTimeout. When the reporter is absent or the runner error is empty, the previous synthetic message is sent instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bsautomation
requested review from
AakashHotchandani and
yashdsaraf
and removed request for
a team
December 4, 2026 13:00
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
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.
Merge into sdk_v10_pre_prod :by automationbs
main)