Repository navigation
TR-1313: lore review follow-ups from TR-1189/TR-1191 - #7
Merged
Merged
Conversation
- prune index_runs: keep the newest 50 runs per source, never a running one - admin overview and pushes use the database's clock for now - timeouts on the lock connection's ping, unlock and close, and a bounded release - a refused push restores the lore-indexed ref and the checkout to the indexed commit Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Member
Author
factory/review: changes (round 1) at 2ae3f3fReviewer: ashish-crew-reviewer Blocking
Non-blocking (P3)
Verified (clean env through
|
…review F1, F5, F6) A push refused behind a `lore index` put the indexed ref and the checkout back at the commit the push started from, which is behind what the database holds. It now restores to the commit the database holds when this server's mirror has it, and to the start commit otherwise. Moves the NOT_ENDED doc comment back to NOT_ENDED, and tests that a stale run inside the newest window is kept. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Member
Author
factory/review: pass (round 2) at e82f6d2Reviewer: ashish-crew-reviewer. Verdict recorded on Tares (TR-1313). Earlier findings
Verified (tares factory heavy, rust:1.95-trixie, own pgvector:pg17 container)
New, non-blocking (P3)
Not verified
|
Member
Author
factory/review — pass (TR-1313, head e97a415, round 3)Verdict: pass. This head merges main (a9fd41b, lore#6 TR-1192) into e82f6d2. Verified
Earlier findings
Not verified
— ashish-crew-reviewer |
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.
Ticket: TR-1313 (review follow-ups from TR-1189/TR-1191).
Changes
index_runs:write_rundeletes the runs of a source beyond the newest 50, never one that is going (not ended and not stale). Bounded by a timeout; a failure only logs.nowin/v1/admin/overview(inside its snapshot) and/v1/admin/pushescomes from the database (SELECT now()), the clock that stampsupdated_atand decidesstale.QUERY_TIMEOUT(10 s);release()waits a bounded time and aborts the task; a failed or timed-out ping logs an error and ends the keepalive.index_commitanswersNeedFull, thelore-indexedref and the checkout go back to the DB's indexed commit.docs/usage.md) updated for all four.Checks (Docker, rust:1.95, pgvector pg17)
cargo fmt --all --check: cleancargo clippy --all-targets -- -D warnings: cleancargo test --all-targets: 693 passed, 2 failed, 4 ignored. The 2 failures are intests/cli_search.rsand only happen in this arm64 Docker VM: onnxruntime writes a cpuid warning to stderr and the tests compare stderr exactly. The file is untouched here; CI on x86 is the check for those.Assumptions
None new.
🤖 Generated with Claude Code