Skip to content

feat: add shared resource limits - #18

Merged
loonghao merged 1 commit into
mainfrom
codex/issue-8-resource-limits
May 27, 2026
Merged

feat: add shared resource limits#18
loonghao merged 1 commit into
mainfrom
codex/issue-8-resource-limits

Conversation

@loonghao

Copy link
Copy Markdown
Owner

Summary

  • Add shared resource/license limit definitions and snapshots through /v1/limits.
  • Let tasks declare required named limits while keeping older payloads compatible.
  • Gate scheduler leases by active limit usage and derive release from completion, failure, cancellation, or lease expiry.

Closes #8

Validation

  • cargo fmt --all -- --check
  • cargo test --workspace
  • cargo clippy --workspace --all-targets -- -D warnings

@loonghao
loonghao force-pushed the codex/issue-8-resource-limits branch from 65a8f2e to e30ea03 Compare May 27, 2026 18:17
@loonghao
loonghao marked this pull request as ready for review May 27, 2026 18:17
@loonghao
loonghao force-pushed the codex/issue-8-resource-limits branch from e30ea03 to 23c6b0e Compare May 27, 2026 18:21
@loonghao
loonghao merged commit 1bee69a into main May 27, 2026
8 checks passed
@loonghao
loonghao deleted the codex/issue-8-resource-limits branch May 27, 2026 18:25
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.

Add shared resource and license limits

1 participant