mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1879] [MERGED] Fix Datacat fresh browser fallback #5331
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5331
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1879
Author: @cha1latte
Created: 6/2/2026
Status: ✅ Merged
Merged: 6/2/2026
Merged by: @Xelvanis
Base:
refactor← Head:fix/issue-1874-datacat-response📝 Commits (6)
68d4883Fix Datacat fresh browser fallbackdfc2cf1Address Datacat fallback review feedbackb70e648Require Datacat fallback success flag83f9020Mark Datacat weekly fallback unavailableac197f2Surface Datacat partial fallback noticed11f214Keep Datacat fallback notice in empty state📊 Changes
3 files changed (+183 additions, -12 deletions)
View changed files
📝
src-tauri/src/commands/storage/bot_browser.rs(+144 -2)📝
src/features/shell/bot-browser/components/BotBrowserView.tsx(+28 -10)📝
src/features/shell/bot-browser/types/provider-responses.ts(+11 -0)📄 Description
Linked issue
Closes #1874
Why this change
error decoding response body.What changed
upstream_json_errorfrom the Fresh endpoint falls back to DataCatrecent-public.windows.last24h.characters) and marks the unobservablethisWeekbucket unavailable/partial so the degraded response stays honest.Refactor impact
Primary owner:
Rust storage / bot browser provider commands.
Impact areas reviewed:
src-tauri/src/commands/storage/bot_browser.rssrc/features/shell/bot-browser/components/BotBrowserView.tsxsrc/features/shell/bot-browser/types/provider-responses.tsbot_browser_getremote-runtime pathfresh,recent, andtagscommand pathsBoundary notes:
src-tauri, where the upstream DataCat transport/response contract is owned.last24hcharacter shape.Pressure points touched:
Validation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses before PR push/handoffManual verification notes
cargo test --manifest-path src-tauri\Cargo.toml datacat_recent_fallbackpassed.unexpected end of hex escape.bot_browser_getfor/bot-browser/datacat/fresh?sortBy=score&limit24=80&limitWeek=0returnedfresh_count=50 top_last24h_count=50 week_count=0 week_unavailable=True partial=True unavailable_windows=thisWeek success=True fallback_source=recent-public sortBy=recent-public.datacat/recent?limit=80&offset=0returnedrecent_count=50 totalCount=212807;datacat/tagsreturnedtags_count=58445 groups=6.pnpm typecheckpassed after the Bot Browser fallback-notice wiring.pnpm checkpassed after the Rust and UI follow-ups.Feature Discoverability
Check exactly one:
src/features/shell/discovery/because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.Reason:
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
error decoding response body.bot_browser_getremote-runtime command path rather than the desktop shell. Reviewer-visible command proof is linked above.Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.