docs(core): pull source URL comments still say /piece/{pieceCid}
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- documentation
Research direction
Read packages/synapse-core/src/sp/pull-pieces.ts at the two cited comments and confirm the accepted source URL against Curio’s /pdp/piece/pull behavior or createPieceUrlPDP. Update both comments to describe the canonical URL. Done when both comments match the accepted route and no longer describe /piece/{pieceCid} as the pull source.
Written by the indexing model from the issue text.
Description
#1161 moved createPieceUrlPDP to Curio's canonical /public/{cid} route, and /piece/{cid} is now only a 301 redirect in Curio (retrieval.go). Two JSDoc comments on the pull source URL still say the old path:
packages/synapse-core/src/sp/pull-pieces.ts:45:HTTPS URL to pull the piece from (must end in /piece/{pieceCid})packages/synapse-core/src/sp/pull-pieces.ts:271: the same text.
Change both to /public/{pieceCid}, or point at createPieceUrlPDP, after confirming what Curio's /pdp/piece/pull accepts as a source URL. No code in this repository builds /piece/{cid} any more. The /piece wording in docs/src/content/docs/core-concepts/retrieval.mdx (lines 28 and 90) names FilBeam piece retrieval, not the Curio route, and can stay.
Generated by Claude Code
- Dominant language
- TypeScript
- Stars
- 27
- Forks
- 36
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 65
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from FilOzone/synapse-sdk
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
FilOzone/synapse-sdk#1201 · 1 comment ·
Maintainers usually reply within 1 day
-
Clarify add pieces and create set can be made concurrentlyPossibly taken @hugomrdias claimed this 22 days ago. Opengood first issue
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
FilOzone/synapse-sdk#749 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Upload to restricted data sets with `read: "restricted"`Possibly taken @JAG-UK claimed this today. Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
FilOzone/synapse-sdk#1197 · 2 comments ·
Maintainers usually reply within 1 day
-
Pull second copies from `/download` with per-piece FOC grantsPossibly taken @JAG-UK claimed this today. Open
Difficulty 4/5 3-5 days Newbie friendliness 45/100
FilOzone/synapse-sdk#1196 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 72/100
FilOzone/synapse-sdk#1195 · 1 comment ·
Maintainers usually reply within 1 day
All issues in FilOzone/synapse-sdk
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
zabuton-app/meguri#875 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
iruzen-dono/workless#117 ·
Maintainers usually reply within 1 day
-
area:api area:web wave wave:trivial
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
vetro-protocol/vetro-monorepo#1321 ·
Maintainers usually reply within 1 day