fill.test.ts: lite-05 FETCH of a missing group intermittently answers Old instead of NotFound
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- bun, typescript
- Domain
- networking, testing
Research direction
Read js/net/src/fill.test.ts and the named moq-lite-05 FETCH test, then compare its clock setup with cache.test.ts, which the issue says installs a Manual clock. Run bun test src/fill.test.ts and bun test src to check the behavior; done means the full suite consistently expects NotFound for the uncached group.
Written by the indexing model from the issue text.
Description
Problem
js/net/src/fill.test.ts, "fill: moq-lite-05 FETCH reads a group the publisher never cached, and NotFound for one it lacks", fails intermittently when the whole @moq/net suite runs (bun test src). Fetching the missing group 1 rejects with Old (0x34) instead of NotFound (0x33):
expect(toStreamCode(missing)).toBe(StreamCode.NotFound);
Expected: 51
Received: 52
The test passes alone (bun test src/fill.test.ts) and when filtered with -t. It failed in 1 of 2 full runs on main at 82f5652d5f (Windows host), and in 3 of 3 full runs on a branch based on it. An Old verdict depends on time, so the test likely reads the host clock and ages the group when the full suite runs slowly. A Manual clock (as cache.test.ts installs) would make it deterministic.
(Written by Opus 5.5)
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 251
- Avg merge
- 9h 50m
- Merged PRs (30d)
- 804
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 moq-dev/moq
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
moq-dev/moq#10709 · 1 comment ·
Maintainers usually reply within 1 day
-
moq-rtmp: receive_follows_the_limit_after_the_stream_is_open fails on macOS (SO_RCVBUF autotuning)Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
moq-dev/moq#10692 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
moq-dev/moq#10691 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
moq-dev/moq#10644 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
Similar issues
-
triage: failed
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
oxc-project/tsrs#1277 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
autofixer: follow-up triage: bug triage: classified triage: correctness triage: has-reproducer
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
tursodatabase/turso#13221 ·
Maintainers usually reply within 1 day
-
Update Wasmtime to 48.0.11 for RUSTSEC-2026-0648Possibly taken @flyingrobots claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
flyingrobots/edict#457 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
Maintainers usually reply within 1 day