feat(loadtesting): add runId to updateLoadTest for run-level tagging - #402
Merged
sourabhd-cbu merged 1 commit intoSep 8, 2026
Conversation
Backend now supports tagging a specific run via updateLoadTest with a `runId` (config.tags applied to the run, test definition untouched). Expose the optional `runId` body field + guidance: run vs test tag semantics, override-and-inherit, and that only config.tags may accompany runId.
|
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 |
sourabhd-cbu
merged commit Sep 8, 2026
5732f78
into
browserstack:feat/capability-registry
1 check passed
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.
Index-only. Exposes an optional
runIdon theupdateLoadTestcapability so the agent can tag a specific run instead of the test definition.Why it's needed
The backend (load-testing-backend PR #2845) now accepts
runIdonupdateLoadTest— when set,config.tagsis applied to that run's own tags (job.meta.labels) and the test is untouched. But the genericinvokeEndpointstrictly rejects any body field not declared in the capability (bind.ts: "unknown arguments are an error"), so without declaringrunIdhere the MCP would throwunknown body: runIdbefore the request reached the backend. This index change is what lets the MCP passrunIdthrough.Change
updateLoadTestbody gains optionalrunId(string): "Tag a specific RUN instead of the test definition; onlyconfig.tagsmay accompany it; omit to edit the test."Follow-up to the merged #400. Backend counterpart: browserstack/load-testing-backend #2845.