Skip to content

Conversation

@lidel
Copy link
Member

@lidel lidel commented Jul 21, 2025

This PR dispatches one-time extra announce of the root CID when sharing, copying CIDs, pinning, or publishing to IPNS.

Rationale

Providing this CID costs us virtually nothing, but will improve performance when content is accessed by others shortly after these operations by ensuring we are as close to the desired number of Amino DHT peers with provider records as possible, and also that there ARE provider records for the root CID in the DHT in the first place.

The latter especially helps desktop users, who may share a CID that has not been provided yet due to the node being offline for a while and starting IPFS Desktop recently, with Kubo having many CIDs to announce.

dispatches one-time extra announce of the root CID
when sharing, copying CIDs, pinning, or publishing to IPNS.

improves performance when content is accessed
by others shortly after these operations
by ensuring we are as close to max number of DHT peers
with provider record as possible
@lidel lidel requested review from 2color and SgtPooki July 21, 2025 17:17
@lidel lidel requested a review from a team as a code owner July 21, 2025 17:17
@lidel lidel mentioned this pull request Jul 15, 2025
51 tasks
Copy link
Member

@SgtPooki SgtPooki left a comment

Choose a reason for hiding this comment

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

lgtm but a few minor changes requested

@lidel lidel requested a review from SgtPooki July 24, 2025 18:29
@lidel
Copy link
Member Author

lidel commented Jul 24, 2025

@SgtPooki applied suggested changes – ok to merge?

@SgtPooki SgtPooki merged commit cfea7d4 into main Jul 28, 2025
21 checks passed
@SgtPooki SgtPooki deleted the feat-extra-provide-on-sharing branch July 28, 2025 19:26
ipfs-gui-bot pushed a commit that referenced this pull request Aug 7, 2025
## [4.8.0](v4.7.0...v4.8.0) (2025-08-07)

 CID `bafybeifplj2s3yegn7ko7tdnwpoxa4c5uaqnk2ajnw5geqm34slcj6b6mu`

 ---

### Features

* add async provide on share/copy/pin/ipns ([#2387](#2387)) ([cfea7d4](cfea7d4))

### Bug Fixes

* eslint doesnt check build folder ([#2389](#2389)) ([2a6c64a](2a6c64a))
* refresh stale multiaddrs on the Status page ([#2385](#2385)) ([6c361c4](6c361c4))
* stop sending requests to defunct countly ([#2395](#2395)) ([fb9c981](fb9c981)), closes [#2334](#2334)

### Trivial Changes

* fix all eslint warnings in root ([#2378](#2378)) ([0e9fe55](0e9fe55))
* Pull transifex translations ([#2364](#2364)) ([424c8a8](424c8a8))
* Pull transifex translations ([#2384](#2384)) ([575da08](575da08))
* Pull transifex translations ([#2386](#2386)) ([9a78d5f](9a78d5f))
@ipfs-gui-bot
Copy link
Collaborator

🎉 This PR is included in version 4.8.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants