Repository navigation
List the index dumps at /api/v1/search/dumps - #571
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
daoudclarke
force-pushed
the
claude/epic-johnson-ppm1oz
branch
from
October 31, 2026 09:01
6722bc6 to
a49d0ff
Compare
daoudclarke
force-pushed
the
claude/epic-johnson-ppm1oz
branch
from
October 31, 2026 11:20
a49d0ff to
98c4374
Compare
Adds list_dumps, which lists the finished dumps (those with a manifest) newest first with their public URLs from MWMBL_DUMP_PUBLIC_URL, and a cached, unauthenticated endpoint that serves it. The listing uses its own B2 client with short timeouts, since it runs inside a web request. No functional changes to the crawler. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DTbu4mh9Ywh6ya17exUSDV
daoudclarke
force-pushed
the
claude/sharp-sagan-87oq8f
branch
from
October 31, 2026 14:40
02b8edb to
85e4036
Compare
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.
Stacked on #537. Merge that first; this PR then retargets to
main.What changed
GET /api/v1/search/dumps(no auth): lists the finished index dumps, newest first.MWMBL_DUMP_PUBLIC_URL: B2's friendly URL for the bucket, or a CDN's in front of it.list_dumps(mwmbl/indexer/dump.py): a dump counts as finished only once its manifest exists, so uploads that failed part-way are left out.docs/index-dumps.mdcovers the new variable and the endpoint.Why
So the front end can publish the dumps for download, as part of releasing the index under an open licence.
How it was verified
make checkpasses.make testpasses: 1689 passed, 10 skipped (run before the timeout change). After the timeout change, the dump, page API and OpenAPI tests pass.Generated by Claude Code