Skip to content

42#43

Merged
RAprogramm merged 1 commit into
mainfrom
42
Jul 5, 2026
Merged

42#43
RAprogramm merged 1 commit into
mainfrom
42

Conversation

@RAprogramm

Copy link
Copy Markdown
Owner

Context: #42

The live API returns deploy started_at/ended_at without a UTC offset (e.g. 2026-07-04T05:43:00) while the spec declares format: date-time, so the generated chrono fields failed deserialization with "premature end of input" on GET /api/v1/apps/{app_id}/deploys.

  • normalize_spec.py gains a naive_deploy_datetimes pass that drops the format from deploy.started_at/ended_at; the regenerated Deploy model types them as String/Option, which survives both the naive live shape and the documented RFC 3339 shape (ISO strings still sort chronologically).
  • src/models/deploy.rs is replaced with the regenerated output (formatted with nightly rustfmt like the rest of the tree).
  • Regression test pins both shapes plus ended_at: null.

Caught while wiring apps deploy commands into twc-rs against the live API.

@codecov

codecov Bot commented Jul 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@RAprogramm RAprogramm merged commit f90bff3 into main Jul 5, 2026
12 checks passed
@RAprogramm RAprogramm deleted the 42 branch July 5, 2026 07:24
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