[GH-ISSUE #1433] [Issue]: Conversation provider/cancel paths emit unhandled page errors #713

Closed
opened 2026-10-20 17:32:13 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @cha1latte on GitHub (May 27, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1433

Originally assigned to: @cha1latte on GitHub.

Summary

Conversation provider failure and cancellation paths emit unhandled browser page errors outside the known nested-button React warning.

Expected behavior

Provider failures and user-triggered generation cancellation should show recoverable UI feedback without unhandled pageerror events.

Actual behavior

The console audit captured page errors during the provider-failure/cancel portion of the Conversation QA run:

  • Error: [object Object]
  • AbortError: signal is aborted without reason

Steps to reproduce

  1. Run refactor commit 05a95e12 with remote runtime at http://127.0.0.1:8787 and a fake OpenAI-compatible provider at http://127.0.0.1:8899/v1.
  2. Create a single-character Conversation chat.
  3. Switch the chat connection to provider modes that return 500, 429, malformed JSON, slow stream, and timeout.
  4. Send messages through each mode.
  5. For slow/timeout modes, click Stop generating.
  6. Review browser pageerror events.

Impact area

  • App shell, navigation, startup, or providers
  • Catalog resources
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Environment

  • Branch or commit: refactor / 05a95e12
  • Run mode: web shell only + remote runtime
  • OS + version: Microsoft Windows NT 10.0.26200.0
  • Node + pnpm versions: Node v24.13.0, pnpm 10.33.2
  • Rust version, if relevant: rustc 1.95.0
  • Remote Runtime URL configured? yes, http://127.0.0.1:8787
  • Provider, model, or integration, if relevant: fake OpenAI-compatible provider modes marinara-fake-500, marinara-fake-429, marinara-fake-malformed, marinara-fake-slow, marinara-fake-timeout

Logs, screenshots, or video

Local QA evidence:

  • Ledger: scratch/conversation-qa-2026-05-27T19-07-50-429Z/ledger.json
  • Console audit: scratch/conversation-qa-2026-05-27T19-07-50-429Z/console-errors-new.json

No screenshots are attached to this issue.

Regression notes

Not specified.

Additional context

Known nested-button React warnings are tracked separately as #1427 and were filtered out before this console-audit failure was recorded.

Provider 500/429 missing specific error copy is tracked separately as #1428; this issue is specifically for the unhandled browser page errors.

Template check

Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @cha1latte on GitHub (May 27, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1433 Originally assigned to: @cha1latte on GitHub. ## Summary Conversation provider failure and cancellation paths emit unhandled browser page errors outside the known nested-button React warning. ## Expected behavior Provider failures and user-triggered generation cancellation should show recoverable UI feedback without unhandled `pageerror` events. ## Actual behavior The console audit captured page errors during the provider-failure/cancel portion of the Conversation QA run: - `Error: [object Object]` - `AbortError: signal is aborted without reason` ## Steps to reproduce 1. Run `refactor` commit `05a95e12` with remote runtime at `http://127.0.0.1:8787` and a fake OpenAI-compatible provider at `http://127.0.0.1:8899/v1`. 2. Create a single-character Conversation chat. 3. Switch the chat connection to provider modes that return 500, 429, malformed JSON, slow stream, and timeout. 4. Send messages through each mode. 5. For slow/timeout modes, click `Stop generating`. 6. Review browser `pageerror` events. ## Impact area - [ ] App shell, navigation, startup, or providers - [ ] Catalog resources - [x] Chat mode - [ ] Roleplay mode - [ ] Game mode - [x] Shared mode UI - [x] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [ ] React-free engine behavior, contracts, agents, or capability ports - [x] Shared API wrapper or remote runtime routing - [ ] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Environment - Branch or commit: `refactor` / `05a95e12` - Run mode: web shell only + remote runtime - OS + version: Microsoft Windows NT 10.0.26200.0 - Node + pnpm versions: Node `v24.13.0`, pnpm `10.33.2` - Rust version, if relevant: `rustc 1.95.0` - Remote Runtime URL configured? yes, `http://127.0.0.1:8787` - Provider, model, or integration, if relevant: fake OpenAI-compatible provider modes `marinara-fake-500`, `marinara-fake-429`, `marinara-fake-malformed`, `marinara-fake-slow`, `marinara-fake-timeout` ## Logs, screenshots, or video Local QA evidence: - Ledger: `scratch/conversation-qa-2026-05-27T19-07-50-429Z/ledger.json` - Console audit: `scratch/conversation-qa-2026-05-27T19-07-50-429Z/console-errors-new.json` No screenshots are attached to this issue. ## Regression notes Not specified. ## Additional context Known nested-button React warnings are tracked separately as #1427 and were filtered out before this console-audit failure was recorded. Provider 500/429 missing specific error copy is tracked separately as #1428; this issue is specifically for the unhandled browser page errors. ## Template check Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#713
No description provided.