Repository navigation
fix(ai): show the newest index time in rag status - #6801
Merged
Merged
Conversation
Owner
Author
|
Build notes for #6774 (not part of the squash message). Evidence of the cause (read-only, 2026-11-22, Qdrant server 1.20.2, qdrant-client 1.20.0):
Fail-to-pass: Owner review points:
|
Last Indexed of devops ai rag status comes from a scroll of one point that Qdrant orders by indexed_at, the newest first. Each collection gets a datetime payload index of indexed_at, the range index that the order needs.
dan-petty
force-pushed
the
fix/6774-rag-status-newest-index
branch
from
November 22, 2026 22:39
ecc843b to
a1fe58b
Compare
dan-petty
marked this pull request as ready for review
November 22, 2026 22:53
dan-petty
pushed a commit
that referenced
this pull request
Nov 22, 2026
🤖 I have created a release *beep* *boop* --- ## [0.195.4](v0.195.3...v0.195.4) (2026-11-22) ### Bug Fixes * **ai:** show the newest index time in rag status ([#6801](#6801)) ([1193d4c](1193d4c)) * **pr:** judge the branch and path filters of pull request workflows ([#6803](#6803)) ([24cc5fe](24cc5fe)), closes [#5408](#5408) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
1 task
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.
The "Last Indexed" column of
devops ai rag statusnow shows theindexed_attime of the newest point of each collection. Before, itshowed the time of the first point of a scroll with no order. Qdrant
returns those points in the order of their IDs, and an index run writes
only the chunks that changed, so the first point could come from any
older run.
Status reads the time from a scroll of one point that Qdrant orders by
indexed_at, the newest first.scroll_pointsofQdrantProtocol,QdrantClientand the test fake takesorder_byanddescending.Qdrant refuses an order on a field with no range index, so
CONST_RAG_PAYLOAD_INDEXESgets adatetimeindex ofindexed_at, and_ensure_payload_indexescreates each index with thefield_schemaofits entry. Each
devops ai rag indexrun creates the new index on acollection that does not have it, and embeds no file again for it. Until
that run, "Last Indexed" shows
—. Status writes nothing to the store.Closes #6774
Change:
openspec/changes/archive/2026-11-22-6774-rag-status-newest-index/