Harden task origin response assertions #1542

Closed
opened 2026-10-27 13:40:49 +00:00 by sam · 0 comments
Owner

Replace brittle prose substring assertions in internal/webui/api_tasks_origin_test.go with stable structural checks for HTTP error responses while preserving origin and media-type coverage.

Acceptance criteria

The origin test does not assert human-readable response text; rejected cases verify stable HTTP error response structure; focused tests and task check pass.

Close reason

Verified complete on origin/main: tests green


Imported from beads archie-core-r3gh · GitHub #664 · type task · priority P2 · created 2026-08-31 · closed 2026-09-18

Replace brittle prose substring assertions in internal/webui/api_tasks_origin_test.go with stable structural checks for HTTP error responses while preserving origin and media-type coverage. ### Acceptance criteria The origin test does not assert human-readable response text; rejected cases verify stable HTTP error response structure; focused tests and task check pass. ### Close reason Verified complete on origin/main: tests green --- _Imported from beads `archie-core-r3gh` · GitHub #664 · type task · priority P2 · created 2026-08-31 · closed 2026-09-18_
sam added the mediumtask labels 2026-10-27 13:40:49 +00:00
sam self-assigned this 2026-10-27 13:40:49 +00:00
sam closed this issue 2026-10-27 13:40:49 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1542