Commit Graph

4398 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
dfc5d2c9ee Identify root cause: SweepingProvider config issues with test harness
Co-authored-by: guillaumemichel <15075495+guillaumemichel@users.noreply.github.com>
2025-08-27 10:25:22 +00:00
copilot-swe-agent[bot]
ac061162d6 Add file-based debug logging to investigate SweepingProvider issue
Co-authored-by: guillaumemichel <15075495+guillaumemichel@users.noreply.github.com>
2025-08-27 10:16:55 +00:00
copilot-swe-agent[bot]
f5d4eb1d50 Add debug logging infrastructure to core/node/provider.go
Co-authored-by: guillaumemichel <15075495+guillaumemichel@users.noreply.github.com>
2025-08-27 10:08:44 +00:00
guillaumemichel
0c09e67314
address linter 2025-08-27 11:51:32 +02:00
guillaumemichel
4aadf792ea
don't start provider before it is online 2025-08-27 11:30:27 +02:00
guillaumemichel
0dbf157919
restore dual dht provider 2025-08-23 00:02:18 +02:00
guillaumemichel
812f7fcf6d
docs 2025-08-22 22:40:26 +02:00
guillaumemichel
79038738aa
don't provide LAN DHT 2025-08-22 13:34:36 +02:00
Guillaume Michel
814085f76c
Merge branch 'master' into reprovide-sweep 2025-08-22 12:00:34 +02:00
Hector Sanjuan
846e219ead
feat: Reprovider.Strategy: rename "flat" to "all" (#10928)
* Reprovider strategy: rename "flat" to "all".

Value "flat" now parses to "all". Behaviour from "all" removed.

Fixes #10864 which has detailed explanation.

* core/node/provider.go: remove unused function mfsRootProvider

It was used in the "all" strategy.

* docs: improve reprovider.strategy=all changelog framing

- highlight memory efficiency improvements
- clarify this removes v0.28 workaround
- update config.md memory requirements
- fix announce-on profile typo

* feat: deprecate Reprovider.Strategy=flat

- add deprecation warning in daemon.go when flat strategy is detected
- document that flat is deprecated in ParseReproviderStrategy comment
- add explicit test case for flat -> all mapping
- flat continues to work but users are warned to migrate to all

---------

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2025-08-21 19:02:29 +02:00
guillaumemichel
dc2bb67d22
extended tests 2025-08-21 16:30:45 +02:00
Marcin Rataj
426477ef78
docs: improve ipfs add --help (#10926)
Some checks are pending
CodeQL / codeql (push) Waiting to run
Docker Build / docker-build (push) Waiting to run
Gateway Conformance / gateway-conformance (push) Waiting to run
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Waiting to run
Go Build / go-build (push) Waiting to run
Go Check / go-check (push) Waiting to run
Go Lint / go-lint (push) Waiting to run
Go Test / go-test (push) Waiting to run
Interop / interop-prep (push) Waiting to run
Interop / helia-interop (push) Blocked by required conditions
Interop / ipfs-webui (push) Blocked by required conditions
Sharness / sharness-test (push) Waiting to run
Spell Check / spellcheck (push) Waiting to run
* fix(cmds): improve ipfs add --help clarity and organization

- clarify --raw-leaves behavior with CIDv0/v1 defaults
- add Import.* config references to all relevant options
- replace deprecated 'ipfs object links' with 'ipfs ls' in examples
- add section headers for better navigation (BASIC EXAMPLES, MFS INTEGRATION, etc.)
- group related options logically (output control, CID & hashing, experimental features)
- standardize experimental warnings format
- add MerkleDAG docs link and clarify chunking behavior
- fix incorrect Import.UnixFSHAMTThreshold reference

addresses confusion from #10918 where --raw-leaves appeared to have no effect
because CIDv1 automatically enables it by default

* docs: fix typos in Import.* configuration documentation

- fix 'chilcren' → 'children'
- fix 'HAMT directory have' → 'HAMT directories have'
- fix 'A HAMT is an structure' → 'A HAMT is a structure'

* Update core/commands/add.go

Co-authored-by: Daniel Norman <1992255+2color@users.noreply.github.com>

---------

Co-authored-by: Daniel Norman <1992255+2color@users.noreply.github.com>
2025-08-21 14:57:30 +02:00
guillaumemichel
c9fbe62069
fix merge issues 2025-08-20 15:15:08 +02:00
guillaumemichel
07189277e2
fx cyclic deps 2025-08-20 14:08:31 +02:00
guillaumemichel
a44d3f57e5
fix fx 2025-08-20 10:42:57 +02:00
guillaumemichel
55df2329e4
Merge branch 'master' into reprovide-sweep 2025-08-20 10:26:25 +02:00
guillaumemichel
c571318428
using latest kad-dht commit 2025-08-20 10:07:59 +02:00
Marcin Rataj
ccb49de852
feat(config): AutoConf with "auto" placeholders (#10883)
Some checks failed
CodeQL / codeql (push) Has been cancelled
Docker Build / docker-build (push) Has been cancelled
Gateway Conformance / gateway-conformance (push) Has been cancelled
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Has been cancelled
Go Build / go-build (push) Has been cancelled
Go Check / go-check (push) Has been cancelled
Go Lint / go-lint (push) Has been cancelled
Go Test / go-test (push) Has been cancelled
Interop / interop-prep (push) Has been cancelled
Sharness / sharness-test (push) Has been cancelled
Spell Check / spellcheck (push) Has been cancelled
Interop / helia-interop (push) Has been cancelled
Interop / ipfs-webui (push) Has been cancelled
https://github.com/ipfs/kubo/pull/10883
https://github.com/ipshipyard/config.ipfs-mainnet.org/issues/3

---------

Co-authored-by: gammazero <gammazero@users.noreply.github.com>
2025-08-20 05:59:11 +02:00
Marcin Rataj
a81cc29282
fix: resolve TestAddMultipleGCLive race condition (#10916)
test was expecting immediate GC lock acquisition after pipe close,
but timing wasn't guaranteed. replaced blocking wait with 5-second
timeout to handle timing variations while still detecting deadlocks.
2025-08-18 20:49:26 +02:00
Andrew Gillis
7109534464
Upgrade to Boxo v0.34.0 (#10917)
Some checks failed
CodeQL / codeql (push) Has been cancelled
Docker Build / docker-build (push) Has been cancelled
Gateway Conformance / gateway-conformance (push) Has been cancelled
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Has been cancelled
Go Build / go-build (push) Has been cancelled
Go Check / go-check (push) Has been cancelled
Go Lint / go-lint (push) Has been cancelled
Go Test / go-test (push) Has been cancelled
Interop / interop-prep (push) Has been cancelled
Sharness / sharness-test (push) Has been cancelled
Spell Check / spellcheck (push) Has been cancelled
Interop / helia-interop (push) Has been cancelled
Interop / ipfs-webui (push) Has been cancelled
* Use ValidatingBlockstore when HashOnRead is configured
* fix ValidatingBlockstore creation
* upgrade to boxo v0.34.0
* Use tagged boxo release
2025-08-15 14:43:26 -07:00
Marcin Rataj
64c47c374a
feat(config): Gateway.RetrievalTimeout|MaxConcurrentRequests (#10905)
* feat(gateway): concurrency and timeout limits

Depends on https://github.com/ipfs/boxo/pull/994

* chore: boxo master with final boxo#994

this includes race-condition fixes from ipfs/boxo#994
and increased `DefaultMaxConcurrentRequests = 4096`

* docs: concise config.md and changelog
2025-08-15 02:36:33 +02:00
Piotr Galar
2b858bb3e6
feat(ci): reusable spellcheck from unified CI (#10873)
* ci: use spellcheck from unified CI
* chore: fix spelling

---------

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2025-08-14 00:35:35 +00:00
Sergey Gorbunov
d81f524cce
feat(ipns): support passing custom sequence number during publishing (#10851)
Some checks are pending
CodeQL / codeql (push) Waiting to run
Docker Build / docker-build (push) Waiting to run
Gateway Conformance / gateway-conformance (push) Waiting to run
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Waiting to run
Go Build / go-build (push) Waiting to run
Go Check / go-check (push) Waiting to run
Go Lint / go-lint (push) Waiting to run
Go Test / go-test (push) Waiting to run
Interop / interop-prep (push) Waiting to run
Interop / helia-interop (push) Blocked by required conditions
Interop / ipfs-webui (push) Blocked by required conditions
Sharness / sharness-test (push) Waiting to run
Spell Check / spellcheck (push) Waiting to run
* feat(ipns): Add a parameter in name.publish to change the sequence number
* test: monotonic name publish --sequence
* docs: `name publish --sequence`
* chore: boxo main with PR 962

---------

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2025-08-13 04:15:45 +02:00
guillaumemichel
9764140cc9
boxo PR fix
Some checks failed
Spell Check / spellcheck (push) Has been cancelled
2025-08-12 15:53:02 +02:00
guillaumemichel
6788e6e351
updated boxo provide interface 2025-08-12 15:31:57 +02:00
guillaumemichel
b650b9f4f4
make linter happy 2025-08-12 14:36:36 +02:00
guillaumemichel
49f74e8cd5
use latest kad-dht commit 2025-08-12 14:10:38 +02:00
gammazero
5ad8e3a944 Add Clear to Provider interface 2025-08-11 22:54:52 -10:00
guillaumemichel
107a0bb25a moved Provider interface from kad-dht to kubo/core/node 2025-08-11 22:17:10 -10:00
guillaumemichel
688944ae33 move Provider interface to from kad-dht to node 2025-08-11 22:10:36 -10:00
guillaumemichel
d67173ae27 merged IpfsNode provider and reprovider 2025-08-11 21:58:36 -10:00
guillaumemichel
d140885902 config docs 2025-08-11 21:43:12 -10:00
guillaumemichel
82d6feeb49 config 2025-08-11 21:43:12 -10:00
guillaumemichel
5a57c4f051 initialize MHStore 2025-08-11 21:43:12 -10:00
guillaumemichel
d13eaa6b6c fix missing KeyChanFunc 2025-08-11 21:43:12 -10:00
guillaumemichel
d7d3e2bcfa restore boxo KeyChanFunc 2025-08-11 21:43:12 -10:00
guillaumemichel
2dfcd3d8a2 update KeyChanFunc type alias 2025-08-11 21:43:12 -10:00
guillaumemichel
4025316c0d add noop reprovider 2025-08-11 21:43:12 -10:00
guillaumemichel
02f979d67d make reprovider optional 2025-08-11 21:43:12 -10:00
guillaumemichel
f7ab84f22b removing SweepingProvider 2025-08-11 21:43:12 -10:00
guillaumemichel
7b7e528d5f reverting changes in core/node/libp2p/routing.go 2025-08-11 21:43:12 -10:00
guillaumemichel
6644657ff0 new attempt at integrating 2025-08-11 21:43:09 -10:00
guillaumemichel
45b7887bd3 comments 2025-08-11 21:29:19 -10:00
guillaumemichel
4333fcf4ca another iteration 2025-08-11 21:29:19 -10:00
guillaumemichel
c2d6065682 disabled initial network estimation 2025-08-11 21:29:19 -10:00
guillaumemichel
92710b3f2c noop provider for nil dht 2025-08-11 21:29:19 -10:00
guillaumemichel
99f05503ac SweepingReprovider test 2025-08-11 21:29:19 -10:00
guillaumemichel
b62ac647c8 back to start 2025-08-11 21:28:44 -10:00
guillaumemichel
456c69beb6 revert to provider.System 2025-08-11 21:28:41 -10:00
guillaumemichel
a60eaee7f2 dual reprovider 2025-08-11 21:22:09 -10:00