发布

  • feat(cua-sandbox): expose creation TTL for pools and claims (0.4.2) (#3256)

    frostbyte_neo 发布于 2026-08-19 16:59:59 +00:00 | 169 次提交 在此版本后已推送到 main

    • feat(cua-sandbox): expose creation TTL for pools and claims (0.4.2)

    Bump cua-fleet to 0.1.14 (first wheel set carrying
    ttl_seconds_after_created on OSGymSandboxWarmPoolSpec and ClaimSpec)
    and surface the field through the sandbox SDK:

    • Pool.apply(ttl_seconds_after_created=) reaps the pool by creation age
    • pool.claim()/create_claim(ttl_seconds_after_created=) derive a claim
      spec from the pool's template ref; combining it with an explicit
      spec= raises ValueError
    • sync facade forwards both; values validated to the schema's u32 range
    • document both in the create-pool-with-python guide, including the
      reconcile-does-not-reset-age and pool-expiry-drains-sandboxes caveats
    • test(cua-sandbox): update stale fleet version pins in packaging tests

    test_fleet_sdk_packaging and test_fleet_sdk_distribution still asserted
    cua-fleet 0.1.11 (stale since the 0.1.12 train); pin them to the 0.1.14
    bundle this branch ships.

    下载附件