Skip to content

Preserve ranking cadence through Coordinator lease replacement - #405

Merged
CountableNewt merged 3 commits into
mainfrom
codex/tsw-114-ranking-production
Sep 13, 2026
Merged

CountableNewt merged 3 commits into
mainfrom
codex/tsw-114-ranking-production

Conversation

@CountableNewt

Copy link
Copy Markdown
Collaborator

Coordinator lease replacement recreates the Wire host and previously reset ranking timing. Keep the scheduler outside the lease closure so complete cycles retain their ten-minute cadence and failed or cancelled attempts wait 60 seconds before retrying. Processing time remains part of the interval, without overlap or catch-up bursts.

Reservations remain held until awaited work exits. Success requires every language and plan to complete; a single generation timestamp is insufficient. Readiness retains the original monotonic age of that completed cycle, clears it on failure, and does not fabricate new telemetry when the host is recreated. A full process restart may still run immediately.

Validation: 11 focused scheduler/runtime/readiness tests and all 11 IndexingWorker tests passed. Production promotion follows Development PR #404 and its required CI/deployment checks. This PR follows the spill/maintenance remediation in #403. Keep memory limits, durability, backups and replicas unchanged while checking lease stability, all-language generation freshness, ingestion age and latency. The rejected worker/Redis prototype is excluded.

Refs TSW-92, TSW-114.

@linear-code

linear-code Bot commented Sep 13, 2026

Copy link
Copy Markdown

TSW-92

TSW-114

@CountableNewt
CountableNewt marked this pull request as ready for review September 13, 2026 18:43
@CountableNewt
CountableNewt merged commit a4aeaff into main Sep 13, 2026
20 checks passed
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