Repository navigation
test(providers): restore and mount codex inventory integration tests - #7082
Merged
Merged
Conversation
Restore the five Codex inventory and discovery integration tests removed in #7069 (originally orphaned when #6713 deleted codex/mod.rs) and mount them from tests/integration/main.rs with a minimal DiscoveryTransport harness. Covers serverSideCompaction opt-in, comp_hash preservation/validation, ChatGPT-Account-ID mismatch rejection during discovery, and Responses wire encoding. Generated-by: Maka
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.
Summary
Restores and mounts the five Codex inventory and discovery integration tests that were deleted in #7069 (after #6713 removed
codex/mod.rsandmod codex;fromplugins/agent/providers/tests/integration/main.rs).Instead of restoring the full deleted harness, this adds a minimal
DiscoveryTransportinplugins/agent/providers/tests/integration/codex.rsand mountsmod codex;inmain.rs, restoring behavioral coverage inmaka-providersfor:serverSideCompactionopt-in gatingcapabilities.native_compactiondecode_model_inventory+Codex::resolvepreservingcomp_hashand knownmax_output_tokensCodex::discoveraccount-ID mismatch rejection and Responses wire encodingcomp_hashrejection and >128-charcomp_hashpreservationVerification
cargo fmt -p maka-providers -- --checkcargo test --locked -p maka-providers(17 unit + 14 integration passed, including all 5codex::*tests)cargo clippy --locked -p maka-providers --all-targets --no-deps -- -D warnings