Skip to content

feat(vehicles): request holder_count and order_winner_count in the default vehicle shapes - #9

Draft
makegov-mark[bot] wants to merge 2 commits into
mainfrom
feat/vehicle-company-counts
Draft

makegov-mark[bot] wants to merge 2 commits into
mainfrom
feat/vehicle-company-counts

Conversation

@makegov-mark

@makegov-mark makegov-mark Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

What

  • SHAPE_VEHICLES_MINIMAL (default for list_vehicles) and SHAPE_VEHICLES_COMPREHENSIVE (default for get_vehicle) now request holder_count and order_winner_count, right after awardee_count.
  • New unit test shapes::tests::vehicle_shapes_carry_company_counts asserts both default vehicle shapes carry awardee_count, holder_count and order_winner_count.
  • CHANGELOG.md (Unreleased, makegov-tango: Added + Deprecated).

Why

Tango API 5.8.0 adds two company counts to vehicles, both in the API's default list and detail shapes:

  • holder_count: distinct companies holding one of the vehicle's IDVs.
  • order_winner_count: distinct companies that have won a task order under the vehicle.

awardee_count is now a deprecated alias of order_winner_count and will be removed at the API's next major version. The SDK keeps requesting it so existing readers don't break; new code should read order_winner_count.

Vehicles return untyped records in this SDK, so there is no struct to extend.

Merge timing

Merge only after the Tango API 5.8.0 deploy is live. Before then the API rejects the two new field names in a shape, so list_vehicles / get_vehicle with the default shapes would fail.

Testing

  • cargo test --workspace: all pass (263 unit tests in makegov-tango, plus the integration-style and doc suites).
  • cargo clippy --workspace --all-features -- -D warnings: clean.
  • cargo fmt --all -- --check: clean.
  • No vehicle fixtures or cassettes exist in this repo, so nothing needed re-recording.

🤖 Generated with Claude Code

vdavez and others added 2 commits October 2, 2026 17:11
…fault vehicle shapes

Tango API 5.8.0 adds two company counts to vehicles: holder_count (distinct companies holding one of the vehicle's IDVs) and order_winner_count (distinct companies that have won a task order under it).
awardee_count is now a deprecated alias of order_winner_count and stays in the shapes so existing readers keep working.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…go crate

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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