Repository navigation
Conversation
Contributor
✔️ Code generated!
📊 Benchmark resultsBenchmarks performed on the method using a mock server, the results might not reflect the real-world performance.
|
…onal Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
Fluf22
force-pushed
the
cursor/fetched-index-optional-fields-fb33
branch
from
November 6, 2026 12:58
a96adb7 to
817e255
Compare
This branch has not been deployed
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 and Why
JIRA: CR-12396
GET /1/indexeson Metis does not returnlastBuildTimeS,numberOfPendingTasksandpendingTask, so strict generated models (e.g. Python pydanticFetchedIndex) fail with aValidationErroronlist_indices().Changes included
lastBuildTimeS,numberOfPendingTasks,pendingTaskfromrequiredinfetchedIndex.numberOfPendingTasksandpendingTaskasdeprecated: trueand drop theirdefaultvalues (defaults are handled by the engine).lastBuildTimeSthat it is not returned by all infrastructures.BREAKING CHANGES
*int32/*boolwithomitempty. TheNewFetchedIndexconstructor loses three parameters.WithFetchedIndex…options are added.NewFetchedIndex(...)fail to compile because of the shorter signature.Int?/Bool?. Initializer parameters become= nil, and the properties are marked deprecated.Int?/Boolean?with= null, and the two pending-task fields are marked deprecated.Option[Int]/Option[Boolean]with= None.int?/bool?and the constructor loses three parameters. The two pending-task properties get[Obsolete].FetchedIndex(...)callers.[Obsolete]also adds compiler warnings.lastBuildTimeS?: number | undefined, and the same for the other two fields.Test
No CTS fixtures reference these fields. Generated clients and CTS are left to CI.