chore(healing): remove EOL AI self-healing integration - #184
Open
yash-atwal wants to merge 2 commits into
Open
Conversation
Removes the AI self-healing feature from the service. It relied on the @browserstack/ai-sdk-node BrowserstackHealing helpers, which have been removed upstream, and the integration is end-of-life. Self-heal is therefore removed rather than maintained. Removed: - src/ai-handler.ts (the whole AiHandler: init/setToken/initializeCapabilities, firefox extension install, findElement healing wrap, selfHeal/setup entry points) and the @browserstack/ai-sdk-node dependency. - The public `selfHeal` option (BrowserstackOptions / BrowserstackConfig) — see the changeset; this is the breaking change. - Healing-only constants, the AI perf events, isValidCapsForHealing, and the healing-instrumentation funnel subsystem (kept fireFunnelTestEvent / sendStart / sendFinish). Removed the ai-handler tests and the healing block in the funnel-instrumentation tests. Out of scope (left intact): the proto/gRPC AISelfHeal* generated types. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited), Workspace UI (inherited) Review profile: ASSERTIVE Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
asambstack
approved these changes
Sep 8, 2026
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.
Removes the AI self-healing feature from
@wdio/browserstack-service. It relied on@browserstack/ai-sdk-node's healing helpers, which havebeen removed upstream, and the integration is end-of-life. Removes
src/ai-handler.ts, the publicselfHealoption (breaking — see changeset),healing-only constants/perf-events/instrumentation, the dependency, and the ai-handler tests. Out of scope: the proto/gRPC
AISelfHeal*generated types.Validated: install/lint/build/tsc clean; tests pass (full suite green with --no-file-parallelism).