Skip to content

fix(tools): record telemetry for setupBrowserStackAppAutomateTests and createTestCasesFromFile - #425

Merged
gaurav-singh-9227 merged 1 commit into
browserstack:mainfrom
SavioBS629:fix/tool-telemetry-gaps
Sep 17, 2026
Merged

gaurav-singh-9227 merged 1 commit into
browserstack:mainfrom
SavioBS629:fix/tool-telemetry-gaps

Conversation

@SavioBS629

Copy link
Copy Markdown
Collaborator

Two tools were invisible in MCPInstrumentation:

  • setupBrowserStackAppAutomateTests never called trackMCP on either path. Add the standard entry (success) and catch (failure) calls.
  • createTestCasesFromFile called trackMCP without config, so the event went out with no Authorization header and Rails dropped it. Pass config on both paths.

Tests assert both paths call trackMCP with the tool name, client info, error slot, and config, so a regression to the config-in-error-slot shape (PR #424) is caught.

…d createTestCasesFromFile

Two tools were invisible in MCPInstrumentation:

- setupBrowserStackAppAutomateTests never called trackMCP on either path.
  Add the standard entry (success) and catch (failure) calls.
- createTestCasesFromFile called trackMCP without config, so the event
  went out with no Authorization header and Rails dropped it. Pass config
  on both paths.

Tests assert both paths call trackMCP with the tool name, client info,
error slot, and config, so a regression to the config-in-error-slot
shape (PR browserstack#424) is caught.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Central YAML (base), Organization UI (inherited), Workspace UI (inherited)

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: 439b4636-c10d-4230-bb84-81a19c9e7b2e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@gaurav-singh-9227
gaurav-singh-9227 merged commit 1f057e6 into browserstack:main Sep 17, 2026
2 checks passed
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.

2 participants