Skip to content

fix: fetch http(s) type: file vector sources, reject other schemes#149

Draft
tellet-q wants to merge 1 commit into
devfrom
fix/file-source-remote-paths
Draft

fix: fetch http(s) type: file vector sources, reject other schemes#149
tellet-q wants to merge 1 commit into
devfrom
fix/file-source-remote-paths

Conversation

@tellet-q

@tellet-q tellet-q commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Allow https:// url only, reject s3://.

All Submissions:

  • Contributions should target the dev branch. Did you create your branch from dev?
  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Validation accepted `s3://` and `http(s)://` paths, but `FBinReader::new`
only opened local paths and unwrapped, so a URL panicked at upload time.

Now http(s) paths download through the dataset downloader (cached under
`$BFB_DATASETS_DIR/files/`), other schemes are rejected up front, and
`FBinReader::new` returns `Result`.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@tellet-q tellet-q requested a review from generall July 10, 2026 08:44
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