mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7140] [MERGED] fix(mari): clear stale request errors on retry #7497
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#7497
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/7140
Author: @SpicyMarinara
Created: 10/5/2026
Status: ✅ Merged
Merged: 10/5/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/professor-mari-recovery-7126📝 Commits (4)
7b4ea71docs: track Professor Mari error recovery fix2f8cd84fix(mari): clear stale request errors when retryinge135c7bMerge remote-tracking branch 'origin/staging' into fix/professor-mari-recovery-712673d07f7Merge branch 'staging' into fix/professor-mari-recovery-7126📊 Changes
3 files changed (+122 additions, -0 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
packages/server/src/services/professor-mari/workspace-agent.service.ts(+1 -0)➕
scripts/regressions/mari-error-recovery.regression.ts(+119 -0)📄 Description
Linked issue
Closes #7126
Why this change
Professor Mari saved a failed provider request in the workspace status but only cleared it on reset. A successful later reply therefore kept showing the old error, including the reported GLM 5.3 reasoning error, until the server restarted.
What changed
Clear the previous error when a validated new Professor Mari request starts. Newly occurring failures remain visible; rejected preflight, cancellation and superseded requests retain their existing behavior. Provider reasoning settings are unchanged.
Validation
Validated local head
e135c7b74e34dc4a3d6a10574c3e23cc09b78604:pnpm installandpnpm checkpassed.mari-error-recoveryregression failed before the one-line fix with the exact stale GLM error and passed afterward. It covers retry-in-progress, successful response persistence, new failures, rejected preflight, cancellation and late superseded errors.mari-completion-framesandmari-background-streamregressions passed.@smokecases passed across focused runs.Manual verification notes
Docs and release impact
Unreleased changelog entry. No version, storage, provider-parameter or installation changes.
UI evidence
Error and recovery browser proof · Evidence source
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.