Skip to content

chore(deps): upgrade @pkcprotocol/pkc-js 0.0.85 -> 0.0.89 - #139

Merged
Rinse12 merged 2 commits into
masterfrom
chore/upgrade-pkc-js-0.0.89
Aug 31, 2026
Merged

chore(deps): upgrade @pkcprotocol/pkc-js 0.0.85 -> 0.0.89#139
Rinse12 merged 2 commits into
masterfrom
chore/upgrade-pkc-js-0.0.89

Conversation

@Rinse12

@Rinse12 Rinse12 commented Aug 31, 2026

Copy link
Copy Markdown
Member

Summary

Upgrades @pkcprotocol/pkc-js from 0.0.85 to 0.0.89 (latest).

Notable upstream changes:

No CLI code changes were needed.

Testing

  • npm run build && npm run build:test pass
  • npm run test:cli: 43 files, 341 tests passed, 1 skipped

Summary by CodeRabbit

  • Chores
    • Updated the PKC JavaScript dependency to version 0.0.89 for improved compatibility and maintenance.

Notable upstream changes: helia upgraded to v7 with the libp2p/ipfs
ecosystem deps (0.0.89), statsCid made optional on CommunityIpfsSchema
(0.0.88), gossipsub 17 with a per-peer topic memory bound whose default
is well clear of our topologies (0.0.87), and community key migration
announced to late joiners (0.0.86). No CLI code changes needed; full
test suite passes.

Claude-Session: https://claude.ai/code/session_01LLoQA6LHpw8giF4hnZ3R4P
@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

Next included review available in 54 minutes.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: c8587dee-b90a-48c5-b107-20c61a3f9552

📥 Commits

Reviewing files that changed from the base of the PR and between a639363 and c4c40e5.

📒 Files selected for processing (1)
  • test/cli/command-completion-time.test.ts

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 89d35a30-0fd2-4970-ae98-bf17e8d0f280

📥 Commits

Reviewing files that changed from the base of the PR and between b6d7023 and a639363.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (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 @pkcprotocol/pkc-js from version 0.0.85 to 0.0.89 in package.json.

Changes

PKC dependency update

Layer / File(s) Summary
Update PKC JS version
package.json
The dependency declaration changes from 0.0.85 to 0.0.89.

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

Merge Risk: ⚪ Minimal · up to a6393

This PR upgrades the PKC dependency and updates its lockfile without identified correctness, availability, security, or deployment issues. Build and CLI tests pass, so no actionable merge-blocking risk remains.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: upgrading the @pkcprotocol/pkc-js dependency from 0.0.85 to 0.0.89.
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.
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/upgrade-pkc-js-0.0.89

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.

)

A command hang in CI previously produced no information at all: the
vitest per-test timeout (10s) raced the subprocess timeout (also 10s)
and won, replacing the informative rejection - which carries the child's
stdout/stderr - with a generic "Test timed out in 10000ms". The daemon's
logs also lived in a temp dir CI never surfaces.

- Raise vitest per-test timeouts above the subprocess timeouts so the
  informative rejection always wins; the 10s/30s completion-time
  enforcement itself is unchanged (the subprocess timeout still kills
  and fails the command at the same thresholds).
- On timeout, collect daemon-side diagnostics: the daemon's captured
  stdout/stderr and the tail of each log file in its --logPath dir,
  capped at 8KB per section.
- Guard the close handler with a timedOut flag: after SIGKILL the
  child's close event fired while diagnostics collection was awaited,
  resolving the promise with exitCode null and losing the rejection.

Claude-Session: https://claude.ai/code/session_01NbSJp6rKMc151AV2eujzmj
@Rinse12

Rinse12 commented Aug 31, 2026

Copy link
Copy Markdown
Member Author

Pushed a second commit addressing the Windows CI timeout from the first run (see #140): community list -q completes within 10s timed out with zero diagnostics because the vitest per-test timeout (10s) raced the subprocess timeout (also 10s) and won, and the test daemon's logs live in a temp dir CI never surfaces.

The new commit keeps the 10s/30s completion-time enforcement in the subprocess timeout (unchanged thresholds) but raises the vitest timeouts so the informative rejection — child stdout/stderr plus daemon captured output and daemon log file tails, capped at 8KB per section — is what CI prints if a command hangs again.

For the failure itself: on the same run the test took 0.9s on ubuntu and 1.5s on macos, and the last green master windows run did it in 1.7s, so it looks like a one-off Windows hang rather than a pkc-js 0.0.89 regression. If it recurs, CI will now show where it got stuck.

@Rinse12
Rinse12 merged commit 9f0105f into master Aug 31, 2026
4 checks passed
Rinse12 added a commit that referenced this pull request Sep 1, 2026
chore(deps): upgrade @pkcprotocol/pkc-js 0.0.85 -> 0.0.89
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