Skip to content

feat(loadtesting): ship the Load Testing capability index on main - #458

Open
sourabhd-cbu wants to merge 1 commit into
mainfrom
feat/loadtesting-capability-index-main
Open

sourabhd-cbu wants to merge 1 commit into
mainfrom
feat/loadtesting-capability-index-main

Conversation

@sourabhd-cbu

Copy link
Copy Markdown
Collaborator

Why

The Load Testing capability index has only ever lived on feat/capability-registry (developed and reviewed there: #449, #450, #451). main already carries the registry loader that discovers per-product indexes — and its code already anticipates a loadtesting index — but has no capability/loadtesting.capability-index.json. So releases cut from main (e.g. v2.1.0) expose no Load Testing capabilities; they only reach users through manual beta builds of the feature branch.

What

Only the loadtesting files, taken as-is from feat/capability-registry:

  • capability/loadtesting.capability-index.json — 21 capabilities with typed <Cap>Data response schemas, the same-test compareLoadTestRuns contract (matches load-testing-backend#3135, merged), 'API' testType labels, duration-in-minutes report guidance
  • tests/tools/loadtestingCapabilityIndex.test.ts
  • scripts/contract-baseline/loadtesting.json (0 capabilities / 0 unbacked fields)
  • package.json: a loadtesting step in npm run check:contract, so the 0-unbacked state is enforced on main

No other feat/capability-registry changes (live tests, loader changes, tm edits) are included — main's registry code is newer than the feature branch's.

Testing

  • Full suite on main + this change: 1127/1127 (73 files)
  • npm run check:contract: tm 16/60 vs baseline 16/60 OK; loadtesting 0/0 vs baseline 0/0 OK

Impact

Merging means the next published release exposes the Load Testing tools to all users, not only beta builds.

Brings the loadtesting capability index from feat/capability-registry
(where it has been developed and reviewed: #449, #450, #451) onto main so
it ships in the published package — main already carries the registry
loader that discovers it, but no loadtesting index, so releases cut from
main (e.g. v2.1.0) expose no Load Testing capabilities.

- capability/loadtesting.capability-index.json — 21 capabilities, typed
  <Cap>Data response schemas, same-test compareLoadTestRuns contract,
  'API' testType labels, duration-in-minutes report guidance
- tests/tools/loadtestingCapabilityIndex.test.ts
- scripts/contract-baseline/loadtesting.json (0 / 0) and a loadtesting
  step in npm run check:contract, so the 0-unbacked state is enforced

Only loadtesting files; the rest of feat/capability-registry is not
included. Full suite 1127/1127; check:contract OK for tm and loadtesting.
@coderabbitai

coderabbitai Bot commented Oct 5, 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: ad4befd6-1a6b-4065-985c-a323bc901e34

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
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

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