Skip to content

Restore arXiv cooldown tests and scheduled discovery policy - #123

Merged
basicmi merged 1 commit into
masterfrom
repair-arxiv-cooldown-followthrough
Nov 17, 2026
Merged

basicmi merged 1 commit into
masterfrom
repair-arxiv-cooldown-followthrough

Conversation

@basicmi

@basicmi basicmi commented Nov 17, 2026

Copy link
Copy Markdown
Owner

Context

PR #122 merged the arXiv Retry-After handling, but a follow-up commit was built from the pre-PR base tree and unintentionally dropped the accompanying workflow, test and documentation changes. The production Python implementation is present; this PR restores the missing follow-through without changing the rate-limit algorithm.

Changes

  • Remove push-triggered live Discovery so routine merges do not launch another full 27-source external scan. Keep weekly schedule and manual dispatch.
  • Restore deterministic tests for Retry-After delta seconds and HTTP-date, server-directed wait, 429 fallback, bounded long waits, shared cross-shard cooldown and deferral.
  • Document the operational cadence and rate-limit behavior.

Validation

The existing CI workflow already runs tests/test_intelligence_arxiv_pagination.py. The added tests exercise the merged implementation with synthetic HTTP responses and fake clocks/sleep functions; no live arXiv calls are made.

Scope

No production source queries, retrieval labels, data registries, hardware compatibility claims or benchmark results are changed.

@basicmi
basicmi merged commit acd5697 into master Nov 17, 2026
2 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