Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add SessionExchange support and optimize blocking checks#50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
lidel wants to merge5 commits intomaster
base:master
Choose a base branch
Loading
fromfix-blockservice-getters

Conversation

@lidel
Copy link
Member

@lidellidel commentedAug 31, 2025
edited
Loading

Warning

This wip experimentation, not ready for review yet.

This PR aims to address problem from#34 and also..

  • to unblockfix(gateway): prevent blocked CIDs in CAR responses ipfs/boxo#1019:
    • implementBlockedBlockstore wrapper for blockstore operations
    • implementBlockedExchange withSessionExchange support
    • addBlockedFetcher for session-level blocking
    • optimizeBlockService to delegate checks to wrapped components
    • add compile-time type assertions for all interfaces

I'm mainly depending on e2e tests in Kubo (go test -v ./test/cli -run "TestContentBlocking") in PR that integrates this PR andipfs/boxo#1019

- implement BlockedBlockstore wrapper for blockstore operations- implement BlockedExchange with SessionExchange support- add BlockedFetcher for session-level blocking- optimize BlockService to delegate checks to wrapped components- add compile-time type assertions for all interfacesfixes#34
lidel added a commit to ipfs/boxo that referenced this pull requestAug 31, 2025
- use blockservice.NewSession for automatic session reuse- properly enforce denylist checks via wrapped blockstore/exchange- improve performance with request-level session batchingrequiresipfs-shipyard/nopfs#50fixes#458fixesipfs/kubo#10361
lidel added a commit to ipfs/kubo that referenced this pull requestAug 31, 2025
- nopfs: SessionExchange support and optimized blocking checksipfs-shipyard/nopfs#50- boxo: restored session usage in CAR streaming with proper blockingipfs/boxo#1019fixes#10361
- test blockstore, exchange, and blockservice wrappers- add test helpers and mocks
plugin is now built into kubo v0.24.0+
- include ipfs/ tests in CI workflow- update to go 1.24 for compatibility
@lidellidelforce-pushed thefix-blockservice-getters branch fromc8da810 to16ea529CompareSeptember 1, 2025 02:22
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@lidel

[8]ページ先頭

©2009-2025 Movatter.jp