pnpm examples fails on main: 16-memory-lines no longer trims an oversized line

Open Beginner friendly
#51 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
76/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
javascript, nodejs
Domain
testing

Research direction

Run node examples/16-memory-lines.js to reproduce the single failure, then read examples/16-memory-lines.js:149-153 where the oversized-line expectation lives. Compare that expectation with the memory behavior introduced in c0500f3, which now leaves a twice-failing line unwritten instead of trimming it. Decide whether the example should assert the new unwritten-line behavior or whether memory regressed; done means pnpm examples is green and example and memory agree.

Written by the indexing model from the issue text.

Description

scout

A fresh checkout's pnpm examples ends red: 31 of 32 pass, and 16-memory-lines.js fails one check. Right looks like a green run on main, with the example and the memory code agreeing on what happens to a line that comes back too long.

Evidence:

  • node examples/16-memory-lines.js → FAIL an oversized line is trimmed at a word boundary, without another call, then 1 failed. Same on two runs.
  • examples/16-memory-lines.js:149-153 still expects the line cut at a word boundary. c0500f3 (2026-11-22) changed memory so a line that fails twice is "left unwritten" instead of cut, and touched this example.
  • pnpm examples → 1 of 32 failed in 161.4s: 16-memory-lines.js, exit 1.
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

  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.

More from oskarrough/ade

All issues in oskarrough/ade

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.