Skip to content

[Scout] Raise server.maxPayload to 50MB in evals_security_persona_matrix config set - #286201

Closed
patrykkopycinski wants to merge 3 commits into
elastic:mainfrom
patrykkopycinski:fix/persona-matrix-maxpayload
Closed

[Scout] Raise server.maxPayload to 50MB in evals_security_persona_matrix config set#286201
patrykkopycinski wants to merge 3 commits into
elastic:mainfrom
patrykkopycinski:fix/persona-matrix-maxpayload

Conversation

@patrykkopycinski

Copy link
Copy Markdown
Contributor

Summary

The judge's /internal/inference/prompt requests carry the full agent trajectory and exceed the Scout default 1.6MB payload cap on long multi-step persona-matrix examples — observed as a 413 on gemini-3.1-flash-lite during the 2026-08-20 Azure sweep (EVAL_EXIT=1; all other 12 models passed the same suite).

The inherited --server.maxPayload=1679958 arg from the default stateful base config is filtered out and re-set deterministically in this config set (50MB), so CLI arg ordering cannot reintroduce the cap.

Test plan

  • node scripts/type_check --project src/platform/packages/shared/kbn-scout/tsconfig.json — green
  • node scripts/eslint on the changed file — clean
  • E2E: rerun eis-google-gemini-3-1-flash-lite persona-matrix on Azure with this config (in flight)

…rix config set

The judge's /internal/inference/prompt requests carry the full agent
trajectory and exceed the Scout default 1.6MB payload cap on long
multi-step persona-matrix examples (observed 413 on gemini-3.1-flash-lite).
Filter the inherited --server.maxPayload arg and re-set it deterministically
in this config set so arg ordering cannot reintroduce the cap.
@infra-vault-gh-plugin-prod

Copy link
Copy Markdown
🤖 Jobs for this PR can be triggered through checkboxes. 🚧

ℹ️ To trigger the CI, please tick the checkbox below 👇

  • Click to trigger kibana-pull-request for this PR!
  • Click to trigger kibana-deploy-project-from-pr for this PR!
  • Click to trigger kibana-deploy-cloud-from-pr for this PR!
  • Click to trigger kibana-entity-store-performance-from-pr for this PR!
  • Click to trigger kibana-storybooks-from-pr for this PR!

@patrykkopycinski

Copy link
Copy Markdown
Contributor Author

/ci

@kibanamachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

@patrykkopycinski

Copy link
Copy Markdown
Contributor Author

Folded into #285833 (commit cada90b) so the persona-matrix suite merges as one working unit.

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