Skip to content

feat: dump requests the capped cost stage left unproven - #155

Merged
andig merged 1 commit into
rollup/two-stage-plus-130from
feat/dump-on-gap
Sep 14, 2026
Merged

andig merged 1 commit into
rollup/two-stage-plus-130from
feat/dump-on-gap

Conversation

@andig

@andig andig commented Sep 14, 2026

Copy link
Copy Markdown
Member

Follows #154. The cost stage cap keeps requests short of the time limit, so OPTIMIZER_DUMP_SLOW_REQUESTS stopped collecting anything, and the first 45 minutes of the gap log showed the requests worth replaying are the ones the cap left a gap on.

  • A request is dumped when it exhausts the time limit or when cost_stage_gap is above DUMP_GAP, one currency unit.
  • The dump line carries the gap next to the elapsed time, so a replay can be ranked by it.

🤖 Generated with Claude Code

With the cost stage capped nothing exhausts the time limit any more, so the slow request
dump stopped filling. A request now also lands in it when the cost stage gap is above one
currency unit, and the dump line carries that gap, so the replay corpus holds exactly the
requests where a longer clock might have bought money.
@andig
andig merged commit 1024dfa into rollup/two-stage-plus-130 Sep 14, 2026
@andig
andig deleted the feat/dump-on-gap branch September 14, 2026 14:26
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