LTS-3295: make browserstack-load.yml runnable via browserstack-cli load run#16
Open
amitsi-bs wants to merge 2 commits into
Open
LTS-3295: make browserstack-load.yml runnable via browserstack-cli load run#16amitsi-bs wants to merge 2 commits into
amitsi-bs wants to merge 2 commits into
Conversation
…oad run`
The shipped browserstack-load.yml left `language` commented out, so
`browserstack-cli load run` rejects it ("Missing required configuration
'language'" / "Validation error") and the sample cannot run a load test out of
the box.
Replace it with a clean, minimal config the CLI accepts: active `language`,
required `duration`, repo-relative file paths, and `headless`. Credentials still
come from the BROWSERSTACK_USERNAME / BROWSERSTACK_ACCESS_KEY env vars.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Preserve the full explanatory browserstack-load.yml template (comments intact) and just activate `language: nodejs` (it was commented out, which made `browserstack-cli load run` reject the config). Reverts the earlier over- aggressive comment stripping. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
What
The shipped
browserstack-load.ymlleftlanguagecommented out, sonpx browserstack-cli load runrejects it ("Missing required configuration 'language'" / "Validation error") — the sample could not run a load test out of the box.Replaced it with a clean, minimal config the CLI accepts:
language: nodejsduration: 1mheadless: falseCredentials still come from
BROWSERSTACK_USERNAME/BROWSERSTACK_ACCESS_KEYenv vars.Validation
This exact config structure ran green on the prod BLU pod today (Test 455475fa — WebdriverIO add-to-cart passed, metrics + report generated). Follow-up to the LTS-3295 .npmrc hardening, which is already merged.
🤖 Generated with Claude Code