Skip to content

[codex] Add quiet target leases for benchmarks#75

Merged
nathanwhit merged 1 commit into
mainfrom
codex/quiet-target-leases
Jul 7, 2026
Merged

[codex] Add quiet target leases for benchmarks#75
nathanwhit merged 1 commit into
mainfrom
codex/quiet-target-leases

Conversation

@nathanwhit

Copy link
Copy Markdown
Owner

Summary

Adds benchmark quiet-mode support for worker sessions:

  • adds target-scoped quiet leases backed by target_quiet locks
  • makes scheduler placement skip quiet-reserved targets, including pinned requests
  • exposes request_quiet_target / release_quiet_target MCP tools to workers and follow-ups
  • sweeps stale quiet locks during recovery and periodic maintenance
  • documents the timed-section workflow in worker prompts

Why

Benchmark work sometimes needs a genuinely quiet machine for accurate timing, but the fleet should still run multiple sessions per target outside those measurement windows. This makes quiet mode temporary and explicit instead of lowering target capacity permanently.

Validation

  • go test ./internal/orch -run 'TestQuietTarget|TestMCPSurfaces' -count=1\n- go test ./internal/orch ./internal/store ./internal/model ./internal/api

@nathanwhit nathanwhit marked this pull request as ready for review July 7, 2026 19:53
@nathanwhit nathanwhit merged commit d28c795 into main Jul 7, 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