chore(upstream-sync): merge v7.2.109 (928478e4b91533cec05a763bfac3edad9c3e76cf) - #157
Open
github-actions[bot] wants to merge 9 commits into
Open
Conversation
…models-only fix(codex-api): stop force-injecting built-in model IDs
- Replaced boolean parameters with a `jsonSchemaCleanOptions` struct in `cleanJSONSchema` to improve readability and scalability. - Updated `CleanJSONSchemaForAntigravity` and related methods to utilize the new options struct. - Enhanced flexibility for schema transformations with fine-grained control over operations like union flattening, enum type enforcement, and metadata removal. - Added comprehensive tests to verify correct handling of unions and enum types in schemas. Closes: #4666
- Added safeguards against repository corruption with improved recovery mechanisms, including remote re-cloning and worktree restoration. - Introduced fine-grained repository integrity checks and missing file restoration logic. - Centralized repository locking with `ensureRepositoryLocked` to standardize synchronization. - Enhanced conflict resolution during pulls with automated reconciliation of remote and local changes. - Improved worktree and index reset workflows to handle dirty and missing paths gracefully. - Increased robustness for garbage collection with extended grace period and recovery paths. Closes: #4629
…response formats - Adjusted `responseSchema` logic to only set schema for `json_schema` type while ensuring it is excluded for `json_object`. - Updated tests to reflect changes in `responseSchema` handling, ensuring correct validation for both response formats. - Renamed test function for better clarity regarding `json_object` behavior. Closes: #4667
- Adjusted `resolveConfigCodexStyleKey` to include `validateIndexCredentials` for stricter credential checks. - Enhanced logic in `buildCodexConfigModels` to handle empty model lists more effectively. - Standardized credential matching with helper functions for improved maintainability.
- Updated `buildCodexConfigModels` to default to `CodexProModels` when no models are explicitly configured, ensuring consistent behavior. - Refined logic in `resolveConfigCodexKey` to streamline model selection and exclusion handling. - Added comprehensive tests for default, explicit, and exclusion-based model configurations. - Introduced `TestRegisterConfigAPIKeyAuthsCodexModelModes` to validate runtime model registration scenarios. - Enhanced test utility functions for improved readability and reuse.
…-sync/v7.2.109-928478e4b91533cec05a763bfac3edad9c3e76cf
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.
Pinned upstream reconciliation
v7.2.109928478e4b91533cec05a763bfac3edad9c3e76cf