Skip to content

Conversation

@guillaumemichel
Copy link
Contributor

@guillaumemichel guillaumemichel commented Sep 5, 2025

@guillaumemichel guillaumemichel added the skip/changelog This change does NOT require a changelog entry label Sep 5, 2025
Base automatically changed from reprovide-sweep to master September 18, 2025 15:22
@guillaumemichel guillaumemichel force-pushed the reprovide-sweep-enabled branch from e1601f3 to 6be27cb Compare October 17, 2025 22:14
@guillaumemichel guillaumemichel force-pushed the reprovide-sweep-enabled branch from eb41d89 to 4076744 Compare October 23, 2025 19:18
@guillaumemichel guillaumemichel changed the base branch from master to resume-reprovide-cycle October 23, 2025 19:19
@guillaumemichel guillaumemichel force-pushed the reprovide-sweep-enabled branch from 8e19bd1 to e43ec5e Compare October 23, 2025 21:50
@guillaumemichel guillaumemichel force-pushed the reprovide-sweep-enabled branch from e8af19b to 6b9ee76 Compare October 23, 2025 23:19
@lidel
Copy link
Member

lidel commented Nov 3, 2025

Triage notes

lidel added 2 commits November 6, 2025 18:53
Refactor the provider shutdown coordination introduced in b30bc30
to make the dependency relationship more explicit and maintainable.

Changes:
- combine provider.Close() and keystore.Close() into a single
  ensureProviderClosesBeforeKeystore fx hook
- add detailed documentation explaining the race condition and
  why this shutdown order is critical
- make the code more self-documenting

The original fix in b30bc30 correctly solved the "keystore is closed"
shutdown errors. This refactor improves code clarity without changing
the functional behavior.
@lidel lidel changed the title TEST: enable provide sweep by default feat: enable DHT Provide Sweep by default Nov 7, 2025
@lidel lidel self-assigned this Nov 7, 2025
gammazero and others added 4 commits November 7, 2025 09:51
Update documentation for metric rename from total_provide_count_total to
provider_provides_total (following OpenTelemetry naming conventions).

- update metrics.md with new metric name
- add v0.39 changelog entry with migration guidance
- add v0.38 warnings about the upcoming rename

See:
libp2p/go-libp2p-kad-dht#1195
Switching to kad-dht with fix from
libp2p/go-libp2p-kad-dht#1198
@lidel
Copy link
Member

lidel commented Nov 7, 2025

  • Switched to latest kad-dht@master with recent fixes there.
  • We will deployed to staging / collab cluster once below is merged:
  • We will let it run over the long weekend and evaluate if we can merge this and start RC1 release, or if we need more fixes.

@lidel lidel removed the skip/changelog This change does NOT require a changelog entry label Nov 8, 2025
updates go-libp2p-kad-dht to include two critical race condition fixes:

- SweepingProvider.wg race: protects wait group operations with mutex
  to prevent panic when Add() is called during Close()/Wait()

- ResettableKeystore race: adds semaphore to coordinate datastore writes
  during Reset() with keystore size persistence during Close()

libp2p/go-libp2p-kad-dht#1200
libp2p/go-libp2p-kad-dht#1201
- add overview section
- add highlight for Amino DHT Sweep provider becoming default
- clarify go-ipfs deprecation (Docker stub mechanism)
- update metric rename section (affects all sweep mode users)
- unify internal linking format in feature list
- improve wording for clarity
- consolidate verbose paragraphs into focused description
- remove documentation-level metric list (belongs in docs)
- reference --help first, then link to provide-stats.md
- update NOTE to reflect sweep is now default
- reduce from 37 to 12 lines for better readability
- update opening to reflect sweep is now default
- add link to Provide.DHT.ResumeEnabled config docs
- improve readability while retaining all information
- tighten language for clarity
- resolve changelog conflict by placing Gateway section before go-ipfs
- add CDN compatibility note to Gateway.MaxRangeRequestFileSize
- expand config.md with detailed explanation of CDN cache limits
- clarify this only affects deserialized responses
- add Cloudflare Snippets workaround for open gateway operators
- simplify changelog to link to config.md for full details
- remove em dashes and improve clarity throughout
@lidel lidel marked this pull request as ready for review November 12, 2025 21:52
@lidel lidel requested a review from a team as a code owner November 12, 2025 21:52
Copy link
Member

@lidel lidel left a comment

Choose a reason for hiding this comment

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

Thank you @guillaumemichel and @gammazero for all work that went into this.

Staging tests look ok:

I feel this is good enough for RC1 with Sweep enabled by default.
I'm merging to avoid further merge conflicts. Feel free to refine docs/changelog in follow-up PRs.

@lidel lidel merged commit 702c63b into master Nov 12, 2025
@lidel lidel deleted the reprovide-sweep-enabled branch November 12, 2025 22:55
@lidel lidel mentioned this pull request Nov 13, 2025
74 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integrate Modernized Provider System from go-libp2p-kad-dht Kubo Causes Network Issues on Shared Public IP Connections

4 participants