[GH-ISSUE #1531] [Issue]: Bot Browser hides provider request failures behind empty states #778

Closed
opened 2026-10-20 17:33:16 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @Romuromylus on GitHub.

Summary

Bot Browser provider fetch, detail, and import failures are often converted to null or ignored. A failed provider/API request can look like an empty result or missing detail instead of a retryable error.

Expected behavior

Bot Browser should route provider requests through a focused API layer with explicit error types, then show retry/error UI when search, detail, or import requests fail.

Actual behavior

Several failure paths are swallowed or converted to null, so user-facing empty states can hide transport/API failures.

Steps to reproduce

  1. Configure Bot Browser against a provider/API path that errors or disconnects.
  2. Trigger provider search, bot detail load, or import.
  3. Observe whether the UI shows an explicit request failure and retry path, or only an empty/missing state.

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; found by code audit of src/features/shell/bot-browser/components/BotBrowserView.tsx
  • Run mode: web/Tauri UI path; focused repro still needed
  • OS + version: not verified
  • Node + pnpm versions: not relevant yet
  • Rust version, if relevant: not relevant
  • Remote Runtime URL configured? not relevant
  • Provider, model, or integration, if relevant: Bot Browser provider APIs

Logs, screenshots, or video

No screenshot attached. The local audit found provider request failures being converted to null or ignored.

Regression notes

Unknown.

Additional context

Suggested direction: centralize Bot Browser provider requests in the API layer, return typed failures, and render retry/error states instead of silently treating failures as missing data.

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 @Xelvanis on GitHub (May 29, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1531 Originally assigned to: @Romuromylus on GitHub. ## Summary Bot Browser provider fetch, detail, and import failures are often converted to `null` or ignored. A failed provider/API request can look like an empty result or missing detail instead of a retryable error. ## Expected behavior Bot Browser should route provider requests through a focused API layer with explicit error types, then show retry/error UI when search, detail, or import requests fail. ## Actual behavior Several failure paths are swallowed or converted to `null`, so user-facing empty states can hide transport/API failures. ## Steps to reproduce 1. Configure Bot Browser against a provider/API path that errors or disconnects. 2. Trigger provider search, bot detail load, or import. 3. Observe whether the UI shows an explicit request failure and retry path, or only an empty/missing state. ## Impact area - [x] 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 - [x] 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; found by code audit of `src/features/shell/bot-browser/components/BotBrowserView.tsx` - Run mode: web/Tauri UI path; focused repro still needed - OS + version: not verified - Node + pnpm versions: not relevant yet - Rust version, if relevant: not relevant - Remote Runtime URL configured? not relevant - Provider, model, or integration, if relevant: Bot Browser provider APIs ## Logs, screenshots, or video No screenshot attached. The local audit found provider request failures being converted to `null` or ignored. ## Regression notes Unknown. ## Additional context Suggested direction: centralize Bot Browser provider requests in the API layer, return typed failures, and render retry/error states instead of silently treating failures as missing data. ## 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.
bsakaguchi 2026-10-20 17:33:16 +07:00
Author
Owner

@Romuromylus commented on GitHub (May 29, 2026):

Resolved by #1602, merged into refactor.

<!-- gh-comment-id:4580150178 --> @Romuromylus commented on GitHub (May 29, 2026): Resolved by #1602, merged into `refactor`.
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#778
No description provided.