Skip to content

fix(loadtesting): scrub 'protocol' from plu descriptions so the agent shows 'API' - #451

Merged
sourabhd-cbu merged 1 commit into
feat/capability-registryfrom
fix/loadtesting-scrub-protocol-label
Sep 28, 2026
Merged

sourabhd-cbu merged 1 commit into
feat/capability-registryfrom
fix/loadtesting-scrub-protocol-label

Conversation

@sourabhd-cbu

Copy link
Copy Markdown
Collaborator

Why

After #449 changed the user-facing testType label for plu to 'API', the agent was still presenting it to users as "API/Protocol". Root cause: #449 deliberately kept the internal descriptions that pair plu with the word protocol — and the model reads those and renders "API/Protocol" back, defeating the label change. There is no literal "API / Protocol" string left in any index; the leak comes from these glosses.

Six residual mentions, all now changed to "API":

Field Before After
testType desc plu = protocol/API load plu = API load (server-side, non-browser)
create guidance plu (protocol / API load) plu (API load)
estimate guidance A protocol (plu) run is billed… An API (plu) run is billed…
estimate guidance …10x a protocol (plu) run… …10x an API (plu) run…
framework desc PLU (protocol) frameworks… PLU (API) frameworks…
children desc one PLU (protocol) leg… one PLU (API) leg…

After this, grep -i protocol capability/loadtesting.capability-index.json returns 0.

Scope / safety

Note on why you may still see it in your client

This targets feat/capability-registry. The running MCP reads the hosted per-env (prod/reg) registry, and #449's label change hasn't been propagated to those deploy branches yet — so both this scrub and #449 need to reach the prod/reg index before the change shows up in the client.

… shows 'API'

#449 changed the user-facing testType LABEL to 'API', but left the internal
glosses that pair plu with 'protocol' — e.g. 'plu = protocol/API load' and
'plu (protocol / API load)'. The agent reads those and renders the option back
to the user as 'API/Protocol', defeating the label change. Replace every
plu-associated 'protocol' mention with 'API' (6 spots) so nothing pairs plu with
'protocol' anywhere the model can echo. Text-only; returns/schemas unchanged.
@coderabbitai

coderabbitai Bot commented Sep 28, 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: 4fb09bf7-a4ca-4628-abbb-e3bb88702c7a

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.

@sourabhd-cbu
sourabhd-cbu merged commit 87044a1 into feat/capability-registry Sep 28, 2026
1 check 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.

1 participant