Two examples sit out a 60-second director timeout, so pnpm examples takes 2m41
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 64/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript, nodejs
- Domain
- performance, tooling
Research direction
Start by reproducing with pnpm examples and running node examples/05-fork.js alone. Read modules/director.js around line 248 to see how director.timeout aborts a pick, then trace how examples/05-fork.js and examples/03-restart-loses-nothing.js set up threads and reach the director. The chooser path is central: 05 reports that the chooser answered no JSON. Done means both examples finish promptly after their events land, with no 60-second abort or chooser timeout in the output.
Written by the indexing model from the issue text.
Description
pnpm examples is the first thing a newcomer runs. Two examples take about 70 seconds each and the rest finish in single digits, though 6d8ef89 made the suite "4x faster". Right looks like each example finishing as soon as its events land, with no wait on a chooser that can't answer.
Evidence:
pnpm examples→# 05-fork.js 72.3sand# 03-restart-loses-nothing.js 69.4s; the whole run was161.4s. The next slowest is 33 at 20s.- Their output holds
director: thread 5: The operation was aborted due to timeout(03) anddirector: thread 5: the chooser answered no JSON(05). Re-runningnode examples/05-fork.jsalone:real 1m16.6s, same director lines. modules/director.js:248aborts a pick afterdirector.timeout, 60 seconds by default; 05 puts a second person (ana) in a thread with an echo agent, which is what calls the director.
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 1
- Avg merge
- 14m
- Merged PRs (30d)
- 3
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from oskarrough/ade
-
scout
Difficulty 1/5 Under an hour Newbie friendliness 70/100
oskarrough/ade#55 ·
-
scout
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
oskarrough/ade#53 ·
-
scout
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oskarrough/ade#52 ·
-
scout
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oskarrough/ade#51 ·
Similar issues
-
Add: Drishya TVOpenchannels:add check:passed
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
documentation enhancement first-time-contributor good first issue
Difficulty 1/5 Under an hour Newbie friendliness 84/100
SasanLabs/VulnerableApp#961 · 1 comment ·
Maintainers usually reply within 1 day