HarperFast / HarperFast/harper

A collection GET whose `@computed` getter throws mid-stream returns **HTTP 200 with `Error.toString()`/a stack t

Open
#2,336 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
89
Forks
10
Avg merge
2d 6h
Merged PRs (30d)
200

Description

From dispatch finding (task `qa-wave-2026072920`):

- F-258 — A collection GET whose `@computed` getter throws mid-stream returns **HTTP 200 with `Error.toString()`/a stack trace as the response body**: the status is flushed before the getter runs, so the client sees success plus unparseable JSON, and one poisoned record corrupts the entire response. The single-record GET of that same record degrades correctly (clean 500 + JSON error body), which localizes this to the streaming-collection path. Same 200-wrapping-an-error family as F-186.2.

Contributor guide

Open the contributing guide

Research direction

Start in the streaming-collection GET path and compare it with the single-record GET, which already returns a clean 500 and JSON error body. Reproduce the issue with a collection containing a record whose @computed getter throws; done means the collection no longer returns HTTP 200 with a stack trace or unparseable body.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.