dfinity / dfinity/pocketic

Pocket IC stdio mode

Open
#60 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
35
Forks
6
Avg merge
9m
Merged PRs (30d)
1

Description

I was having problems running pocket-ic in sandboxes such as the one used by Claude, Codex. Especially when you run multiple pocket-ic instances for tests simultaneously. When in stdio mode, it wont hit network restrictions.
Noticed recently others were complaining about the same issue, so here is a vibecoded patch (mostly for inspiration) that gets it done:
https://github.com/Neutrinomic/ic/commits/feature/stdio-mode

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked feature/stdio-mode branch, since the issue provides no repository file or test entry point. Check how Pocket IC instances are launched and how the proposed stdio mode avoids network restrictions while supporting multiple simultaneous test instances; done means that mode works in those sandboxed test scenarios.

Written by the indexing model from the issue text.

Assessment

Domain
cli, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.