Repository navigation
feat(contract-appeals): add the contract appeals resource - #5
Merged
Merged
Conversation
`list_contract_appeals`, `get_contract_appeal` and `iterate_contract_appeals` cover `/api/contract_appeals/`, the Contract Disputes Act decisions of the civilian and defense boards of contract appeals. `ListContractAppealsOptions` carries all ten filters, `ContractAppealRecord` types the 21 response fields, and `SHAPE_CONTRACT_APPEALS_MINIMAL` withholds the Enterprise-gated decision text the way the other paid-leaf shapes do. Tango API 4.26.0.
vdavez
force-pushed
the
feat/contract-appeals
branch
from
September 23, 2026 13:52
323e978 to
7162d81
Compare
vdavez
marked this pull request as ready for review
September 23, 2026 13:53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds the
contract_appealsresource, new in Tango API 4.26.0: Contract Disputes Act appeal decisions from the Civilian Board of Contract Appeals (CBCA, 2007–present) and the Armed Services Board of Contract Appeals (ASBCA, 2010–present). These are contract disputes under an existing award, not bid protests — those stay on the protests resource.Client::list_contract_appeals(opts),Client::get_contract_appeal(uuid, opts),Client::iterate_contract_appeals(opts).ListContractAppealsOptions(bon-derived,#[non_exhaustive]) names all ten filters —search,board,docket,appellant,judge,decision_type,decision_date_after/_before,listed,document_id— plusorderingand the shared pagination and shape options.listedisOption<bool>, solisted(false)reaches the server as a filter instead of collapsing into the default.models::ContractAppealRecordtypes all 21 response fields. Every field isOption<...>withskip_serializing_if, matchingProtestRecord: an unshaped list response carries only a core subset, so an unrequested field is absent rather than null. Unknown fields fall through toextra.SHAPE_CONTRACT_APPEALS_MINIMALdeliberately omitsdecision_text, which is Enterprise-gated, the way the SLED shapes withhold their paid leaf. A test pins that.Testing
cargo test --workspace: 204 passed in the main crate, 12 of them new, plus the transport, webhooks and doctest targets. Green.cargo clippy --workspace --all-features -- -D warningsandcargo fmt --all -- --check: clean.just cigreen end to end.listed(false)emits rather than vanishing; a decode withdecision_text; a decode without it that assertsNone, that the key did not leak intoextra, and thattext_status/text_char_countstill report the text exists; and a serialize round-trip proving absent keys are not reintroduced.#[ignore]d and was not run.Notes
## [Unreleased]entry, which is the precedent the SLED resource set.query_typeandevent_typesare free-form strings with no roster — socontract_appeal/alerts.contract_appeal.matchis documented indocs/WEBHOOKS.mdrather than added as a constant. Typing them would be its own change across all four SDKs.README.md,docs/SHAPES.mdanddocs/API_REFERENCE.mdwas already stale before this branch (the SLED resource added five constants without updating it). Fixing it is catching the SDK up, not adding this endpoint.🤖 Generated with Claude Code