Skip to content

Conversation

@bajtos
Copy link
Contributor

@bajtos bajtos commented Nov 5, 2025

See the discussion in #312

This PR introduces a new monorepo package (/retrieval) and moves several files from piece-retrievals to this new package, with as few changes as necessary.

Links:

Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
@bajtos bajtos mentioned this pull request Nov 5, 2025
11 tasks
Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
Comment on lines -19 to -22
export async function findInBadBits(env, cid) {
const badBitsEntry = await getBadBitsEntry(cid)

const result = await env.DB.prepare('SELECT * FROM bad_bits WHERE hash = ?')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An unused function that we forgot to remove during the bad-bits DB->KV refactor.

@bajtos bajtos enabled auto-merge (squash) November 6, 2025 11:18
@bajtos bajtos merged commit f3fe88f into main Nov 6, 2025
8 checks passed
@bajtos bajtos deleted the refactor/extract-retrieval-helpers branch November 6, 2025 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants