Skip to content

LlamaIndex harness: drop only this run's indexes, and correct the report - #341

Merged
murtazayusuf merged 1 commit into
kividbio:masterfrom
matheussilvano:harness-cleanup-followup
Nov 4, 2026
Merged

murtazayusuf merged 1 commit into
kividbio:masterfrom
matheussilvano:harness-cleanup-followup

Conversation

@matheussilvano

Copy link
Copy Markdown
Contributor

Follow-up to #334: the review there was merged before these changes were applied.

  • cleanup() now drops only the indexes whose name holds one of this run's random names, so an index another client made on the same server during the run is left alone (the change suggested in the review).
  • The two sentences that said the indexes are found by comparing FT._LIST before and after (the module docstring and "Reproduce" in REPORT.md) now say what the code does.
  • REPORT.md: "(release 1.2.0)" is now "1.2.0 plus two unrelated fixes", as 2ed7df2 is.
  • REPORT.md: the Reproduce step uses port 6390, as results-redis8.json does.

I could not run the whole harness here (it needs LlamaIndex and both servers), so I checked cleanup() on its own against a stub server that has an index from another client: the old code dropped it, the new code keeps it and still drops this run's index and keys. The LangGraph harness has the same cleanup problem; its indexes have fixed names, so I will send that as a separate PR.

@murtazayusuf
murtazayusuf merged commit e962eba into kividbio:master Nov 4, 2026
@murtazayusuf

Copy link
Copy Markdown
Contributor

Merged, thanks @matheussilvano! This is exactly the fix: only this run's indexes go, and the report now names the build exactly and uses one port.

murtazayusuf pushed a commit that referenced this pull request Nov 6, 2026
The harness, docs page and compatibility line landed in #334 and #341
against master at 2ed7df2. Search scoring has changed since then.
The same 54 checks, run again on master at 03b7f7c and on Redis 8.10.3,
still pass on both, and no check differs.

Signed-off-by: ZYZ666-RGB <1991039819@qq.com>
Co-authored-by: yuzhou <1991039819@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants