Repository navigation
feat: --corpus downloads the smaller, faster messages pack - #108
Merged
Merged
Conversation
Corpus releases now carry a messages pack next to the full archive: synthetic-email-corpus-<version>.messages.zst, the messages, mutations and their manifests in one zstd stream (347 MB instead of 422 MB). --corpus downloads it when the runtime has zstd (Node.js 22.15 and newer, Bun, Deno) and reads it in about 1 second instead of 2 for the full corpus, with the same mailboxes, UIDs and dates as the archive. Older Node.js versions keep using the archive, and an archive that is already cached is used as it is; imapkit corpus pull fetches the pack then. imapkit corpus list shows the format of each cached file. The archive and pack readers now reject a missing file instead of failing with an unhandled stream error, and the pack reader checks that the files are where its index says. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
synthetic-email-corpus-v1.0.2.messages.zst, 347 MB, one zstd stream of messages, mutations and manifests, built by the corpus builder).--corpusdownloads and reads it when the runtime has zstd (Node.js 22.15+, Bun, Deno), the.tar.gzotherwise.imapkit corpus pullfetches the pack,imapkit corpus listshows the format.🤖 Generated with Claude Code