Skip to content

feat(load): one set of level settings and a stop reason for capacity searches - #5122

Merged
shepilov merged 1 commit into
masterfrom
feat/load-step-ramp
Oct 29, 2026
Merged

shepilov merged 1 commit into
masterfrom
feat/load-step-ramp

Conversation

@shepilov

Copy link
Copy Markdown
Member

Part of #5103 (first of two PRs).

  • Every capacity runner reads the same level settings: it starts at CAPACITY_START, multiplies by CAPACITY_GROWTH and ends at CAPACITY_MAX. The ramp and the mixed workload hold each level for CAPACITY_HOLD. These replace RAMP_LEVELS, RAMP_STEP_DURATION, FANOUT_LEVELS and MIXED_RATES.
  • The upload search discovers on the same levels, and CAPACITY_MAX can cap it below its budgets.
  • The result envelope records capacity.stop: the first failing level and why, the budget reached, or that every level passed.
  • The summary and the dashboard's "Why the run stopped" show that reason. The dashboard shows only its category, so no report text reaches the exporter.
  • The campaign presets and docs use the new settings.

The next PR stops the ramp at its first failed level, and gives a lower bound when a budget ends a search while its levels still pass.

Test plan

  • make node-checks (657 tests, typecheck)
  • Load VM: local smoke campaign, outcome 0; each report records its stop, and the exporter shows "Every level passed"

…searches

Every capacity runner steps from CAPACITY_START, by CAPACITY_GROWTH, up
to CAPACITY_MAX, and the ramp and mixed workload hold each level for
CAPACITY_HOLD. The result envelope records why each search stopped, and
the dashboard shows its category.
@shepilov
shepilov requested a review from taratatach as a code owner October 28, 2026 17:08
@shepilov
shepilov removed the request for review from taratatach October 28, 2026 17:08
@shepilov
shepilov merged commit fc31359 into master Oct 29, 2026
4 checks passed
@shepilov
shepilov deleted the feat/load-step-ramp branch October 29, 2026 13:06
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