Skip to content

[publish] fix test fixtures, last_redefined RFC 1123 GMT in payload, APINotFound - #78

Merged
sadsfae merged 2 commits into
latestfrom
development
Oct 11, 2026
Merged

sadsfae merged 2 commits into
latestfrom
development

Conversation

@sadsfae

@sadsfae sadsfae commented Oct 11, 2026

Copy link
Copy Markdown
Contributor
  • Canonical since the first release: get_free_clouds ships in the PyPI 0.1.0 sdist (verified by download); the issue's "since
    0.1.9" claim was quads-client's dependency floor, not the introduction. Docstring says 0.1.0.
  • Server boundary: /clouds/free/ exists since quads v2.1.0 (commit b63e2f1), not v3; only 1.x/2.0.x 404. Both my initial
    "pre-3.x" claims were caught by the refute team and corrected after independent verification against tags v2.0.5 (lacks) /
    v2.1.0-v2.2.6 (has).
  • Semantics are deliberate: quads commit 06fd44f ([BUG] [SSM] Cloud auto assignment without schedules quads#577) replaced schedule-window detection with
    assignment-active detection; PR #194's client-side current+future fold reintroduces the exact logic that commit removed. The
    terminate_assignment edge (future schedules surviving active=False) is a server-side gap, noted in the PR body as tracked in
    quads.
  • Reservation-lock: last_redefined already flows through; cloud_reservation_lock is not exposed by any API (version endpoint
    returns only a version string), so the recipe documents it as client-side config.

Document get_free_clouds as the canonical free-cloud API: server-side
semantics (no active assignment, future-scheduled clouds excluded via
their active assignment, spare pool excluded via server config), the
response contract including the last_redefined reservation-lock field,
and APINotFound on servers older than 2.1 lacking /clouds/free/. Pin
the contract in tests (full payload passthrough, 404 handling) and add
a usage docs section with the reservation-lock hint recipe. Version
bump to 0.1.18.

   fixes: #76
docs: make free-cloud detection canonical in get_free_clouds
@codecov

codecov Bot commented Oct 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/quads_lib/__init__.py 100.00% <100.00%> (ø)
src/quads_lib/quads.py 99.67% <ø> (ø)
tests/test_quads.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sadsfae
sadsfae merged commit 5e3535d into latest Oct 11, 2026
15 checks 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