Skip to content

chore(deps): bump @pkcprotocol/pkc-js devDependency to 0.0.94 - #46

Merged
Rinse12 merged 2 commits into
masterfrom
chore/pkc-js-0.0.93
Sep 3, 2026
Merged

Rinse12 merged 2 commits into
masterfrom
chore/pkc-js-0.0.93

Conversation

@Rinse12

@Rinse12 Rinse12 commented Sep 2, 2026 •

Copy link
Copy Markdown
Member

Bumps the @pkcprotocol/pkc-js devDependency from 0.0.92 to 0.0.94 (the current npm latest).

0.0.94 is the first release carrying perf(community): drive kubo/helia updates from gossip pushes instead of a 1s poll (pkcprotocol/pkc-js#311, issues #308/#307). It also picks up fix(rpc): deliver subscribe-time errors to late listeners (#299, from 0.0.93) and fix(rpc): make client and server destroy() wait for their websockets to close (#326).

The lockfile is regenerated with npm 10 (the npm actions/setup-node node-22 ships), same as 5b1728b on the 0.0.92 branch — regenerating with local npm 11 drops utf-8-validate@5.0.10 and npm ci then refuses the tree.

Verified locally, all green and unchanged from master

  • npm run typecheck, typecheck:examples, typecheck:tests, npm run build
  • vitest run — 38 files, 509 tests passed
  • npm run test:integration — 3 files, 12 tests passed

The perf fix is real: ~65% less steady CPU in the browser

Measured on the pubsub-voting-testing-on-real-website site (real Chromium, cold profile, 63 contests + 64 communities, whole-Chromium-process-tree CPU from /proc, 60 s cold start + 300 s steady window):

pkc-js steady CPU renderer main-thread task time / 5 min peak RSS end RSS instrumentation churn
0.0.92 24.1% of a core 43.6 s 1383 MiB 1325 MiB 131 events/s
0.0.93 ~22% of a core same rate 1290 MiB — 128 events/s
0.0.94 8.5% of a core 10.3 s 1249 MiB 1079 MiB 7.6 events/s

Three shorter rounds (60 s + 120 s) agree: 0.0.92 averaged 23.7% of a core, 0.0.94 averaged 10.4%.

The burn on 0.0.92/0.0.93 was updatingstatechange churn — 63 subscribed communities × 2 transitions/s (waiting-retry ↔ fetching-ipns) = ~128 events/s, steady and unbounded, because it was a poll rather than real work. 0.0.94 parks the loop on gossip pushes and the churn drops to ~8 events/s.

Cold-start behaviour is unchanged across every configuration: 64 communities loaded, 64/64 joins succeeded, 64 first-tallies, in every round.

Summary by CodeRabbit

  • Chores
    • Updated the development tooling package to version 0.0.94.

@coderabbitai

coderabbitai Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: d81692de-7388-4d06-a7a8-bbce8575fb0f

📥 Commits

Reviewing files that changed from the base of the PR and between d5f547b and cecbbee.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • package.json

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The pull request updates the @pkcprotocol/pkc-js development dependency from 0.0.92 to 0.0.94.

Changes

Development Dependency Update

Layer / File(s) Summary
Update development dependency
package.json
The @pkcprotocol/pkc-js development dependency changes from 0.0.92 to 0.0.94.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the dependency update shown in the changeset: @pkcprotocol/pkc-js changes to version 0.0.94.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/pkc-js-0.0.93

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

0.0.93 carries the late-listener RPC fix (pkcprotocol/pkc-js#299,
delivering subscribe-time errors to update/publish/start listeners that
attach after the failure).

Typecheck, examples, tests, build, the 509-test unit suite with coverage
and the 12-test two-node gossipsub integration suite all pass unchanged.
@Rinse12
Rinse12 force-pushed the chore/pkc-js-0.0.93 branch from d5f547b to 641d3a6 Compare September 2, 2026 12:23
0.0.94 is the first release carrying `perf(community): drive kubo/helia
updates from gossip pushes instead of a 1s poll` (pkcprotocol/pkc-js#311,
issues #308/#307), plus the RPC destroy()/websocket-close fix (#326).

Measured on pubsub-voting-testing-on-real-website (real Chromium, cold
profile, 63 contests + 64 communities, 60s cold + 300s steady): steady CPU
24.1% -> 8.5% of a core, renderer main-thread task time 43.6s -> 10.3s per
5 min, peak RSS 1383 -> 1249 MiB. Cold-start behaviour unchanged.

The lockfile is regenerated with npm 10 (what actions/setup-node node-22
ships); regenerating with local npm 11 drops utf-8-validate and npm ci
then refuses the tree.
@Rinse12 Rinse12 changed the title chore(deps): bump @pkcprotocol/pkc-js devDependency to 0.0.93 chore(deps): bump @pkcprotocol/pkc-js devDependency to 0.0.94 Sep 3, 2026
@Rinse12
Rinse12 merged commit 92655d3 into master Sep 3, 2026
3 checks passed
@tomcasaburi
tomcasaburi deleted the chore/pkc-js-0.0.93 branch September 22, 2026 11:21
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.

1 participant