Skip to content

Reset source inactivity history on new admissions - #30

Merged
tonywangcn merged 1 commit into
mainfrom
fix/reset-source-novelty-on-admission
Oct 13, 2026
Merged

tonywangcn merged 1 commit into
mainfrom
fix/reset-source-novelty-on-admission

Conversation

@tonywangcn

Copy link
Copy Markdown
Member

A later partial or capped source pass can admit new candidates while being excluded from completed-observation history. Previously, an older zero-admission streak remained intact and could incorrectly cool that active feed.

Clear the streak atomically on each positive candidate insertion, preserving completed-refresh counts and timestamps. Keep candidate imports independent of malformed or full telemetry counters, and leave duplicate or tombstone-blocked batches unchanged.

Validation: make check, Staticcheck, focused store/planner regressions, and updated configuration and Redis-schema docs.

Reset zero-admission history atomically when a source inserts a new candidate, even if its later pass is censored. Preserve full-observation fields and fail-open telemetry handling.
@tonywangcn
tonywangcn merged commit 68b6bfc into main Oct 13, 2026
2 checks passed
@tonywangcn
tonywangcn deleted the fix/reset-source-novelty-on-admission branch October 13, 2026 19:42
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.

1 participant