Skip to content

pdpv0: panic in processIndexingAndIPNICleanup when creating IPNI removal advertisement #814

@TippyFlitsUK

Description

@TippyFlitsUK

Checklist

  • This is not a question or a support request. If you have any Curio related questions, please ask in the discussion forum.
  • This is not a new feature request. If it is, please file a feature request instead.
  • This is not an enhancement request. If it is, please file a improvement suggestion instead.
  • I have searched on the issue tracker and the discussion forum, and there is no existing related issue or discussion.
  • I am running the Latest release, or the most recent RC(release candidate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.
  • I did not make any code changes to curio.

Curio component

  • PoRep Pipeline
  • Snap Deals
  • Market
  • IPNI provider
  • Curio UI
  • Other

Curio Version

curio version 1.27.0+calibnet+git_6814fede_2025-11-20T11:57:49+04:00

Describe the Bug

processIndexingAndIPNICleanup panics when creating an IPNI removal advertisement because the Entries field is nil.

panic: interface conversion: datamodel.Link is nil, not cidlink.Link

github.com/ipni/go-libipni/ingest/schema.signaturePayload
    go-libipni@v0.7.1/ingest/schema/envelope.go:89
github.com/filecoin-project/curio/tasks/pdp.processIndexingAndIPNICleanup.func1
    tasks/pdp/watch_piece_delete.go:333

The schema.Advertisement is created without Entries at watch_piece_delete.go:294-299, but Sign() requires it.

Workaround

Comment out processIndexingAndIPNICleanup call at watch_piece_delete.go:47-50.

Logging Information

panic: interface conversion: datamodel.Link is nil, not cidlink.Link

github.com/ipni/go-libipni/ingest/schema.signaturePayload
    go-libipni@v0.7.1/ingest/schema/envelope.go:89
github.com/filecoin-project/curio/tasks/pdp.processIndexingAndIPNICleanup.func1
    tasks/pdp/watch_piece_delete.go:333

Repo Steps

https://filecoinproject.slack.com/archives/C095WFA0QK1/p1764087444250079

Metadata

Metadata

Assignees

No one assigned

    Labels

    team/fs-wgItems being worked on or tracked by the "FS Working Group". See FilOzone/github-mgmt #10

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions