Skip to content

fix(omp): honor execution turn duration#34

Merged
cooper (czxtm) merged 1 commit into
mainfrom
fix/omp-rpc-turn-duration
Jul 24, 2026
Merged

fix(omp): honor execution turn duration#34
cooper (czxtm) merged 1 commit into
mainfrom
fix/omp-rpc-turn-duration

Conversation

@czxtm

Copy link
Copy Markdown
Member

Summary

  • forward validated execution max_duration_ms through trusted harness metadata
  • use the execution duration plus a five-second grace for the OMP RPC safety deadline
  • retain the historical 300-second fallback when metadata is absent or invalid

Verification

  • cargo test --manifest-path crates/harness-server/Cargo.toml (133 passed, 5 ignored)
  • cargo test --manifest-path services/api-rs/Cargo.toml -p centaur-session-runtime (139 passed)
  • built centaur-api-rs:latest and centaur-agent:latest from the rebased commit
  • rustfmt --edition 2024 --check on both changed files

@czxtm
cooper (czxtm) merged commit d9b5ad9 into main Jul 24, 2026
18 checks passed
@czxtm
cooper (czxtm) deleted the fix/omp-rpc-turn-duration branch July 24, 2026 17:17
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