mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6342] [MERGED] fix: background translations, tracker updates and connection controls #7142
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#7142
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/6342
Author: @SpicyMarinara
Created: 9/18/2026
Status: ✅ Merged
Merged: 9/19/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/sept19-issue-sweep📝 Commits (3)
58d30f9Start September 19 issue sweep3a4cbb2fix: resolve September issue reports and Claude cache controls6261505fix: export unsaved connection cache duration📊 Changes
16 files changed (+417 additions, -231 deletions)
View changed files
📝
CHANGELOG.md(+5 -0)📝
docs/connections/subscription-clis.md(+8 -0)📝
e2e/game-experience-setup.e2e.ts(+66 -0)➕
e2e/subscription-cache.e2e.ts(+70 -0)📝
e2e/translation-only.e2e.ts(+59 -1)📝
packages/client/src/components/connections/ConnectionEditor.tsx(+25 -1)📝
packages/client/src/components/game/GameSetupWizard.tsx(+22 -193)📝
packages/client/src/hooks/use-translate.ts(+9 -7)📝
packages/client/src/localization/locales/en.json(+1 -0)📝
packages/server/src/services/agents/agent-executor.ts(+8 -1)📝
packages/server/src/services/llm/base-provider.ts(+1 -1)📝
packages/server/src/services/llm/providers/claude-subscription.provider.ts(+33 -24)📝
packages/shared/src/types/connection.ts(+1 -1)📝
scripts/regressions/agent-context-generation.regression.ts(+2 -2)📝
scripts/regressions/agent-runtime.regression.ts(+41 -0)➕
scripts/regressions/claude-subscription-cache.regression.ts(+66 -0)📄 Description
Linked issue
Closes #6337
Closes #6339
Closes #6340
Closes #6341
Why this change
Returning to a chat while its background translation is being saved can leave an older translation beside the regenerated source. Game Features uses switches with different thumb spacing, and Custom Tracker silently ignores the reported top-level incremental format. Claude Subscription also lacks an explicit one-hour cache option and assumes every cache write lasts five minutes.
What changed
SettingsSwitchTrackthroughout Game Features and expose the existing toggle states to assistive technology, removing duplicate switch markup.fieldsonce in the shared response parser. Normal generation and retry keep the existing merge, removal and lock behavior.anthropicExtendedCacheTtlfor Claude Subscription and passsettings.promptCacheTtl: "1h"to the SDK. Unsaved exports keep the current toggle value. Off preserves Claude's account-dependent default. Log reported 5m/1h writes and leave the estimate unknown when the breakdown is missing or incomplete.Validation
pnpm checkpasses locallyCONTRIBUTING.mdImplemented on
3a4cbb29c; export review correction on626150541:pnpm install --frozen-lockfileandpnpm checkpassed, including localization, formatting, lint, TypeScript and production builds.626150541. This includes real normal-generation/retry persistence and existing prompt/lock regressions. The initial local run overlapped a shared build; its eight missing-artifact failures all passed on focused reruns after that build completed.pnpm smoke:ui e2e/translation-only.e2e.ts e2e/game-experience-setup.e2e.ts e2e/subscription-cache.e2e.ts --workers=2: 33 passed, covering desktop Chrome, mobile Chrome and mobile WebKit, light/dark themes, keyboard controls, save/reload, overlapping regenerations, inactive translation saves, widget locks and Experience setup compatibility.626150541;pnpm check, the three-project export/save/reload browser pass and focused local CodeRabbit (zero findings) passed again. Hosted CodeRabbit completed its review of final commit626150541with no further findings. All 40 distinct hosted checks passed, including required checks, CodeQL, native platform builds and container checks. The full browser matrix finished with 1,086 passed, 246 skipped, zero failed and zero flaky cases across 12 shards; all three aggregate lanes passed.Manual verification notes
Manually verify the translation/navigation flow and Game Features on the reporter's Windows/Firefox setup and a physical phone. Manually verify the cache toggle with a signed-in Claude subscription and observe cache reuse across a pause. SDK request/usage tests are mocked; no live paid requests or hour-long expiry test were performed.
Browser actions above were automated and their screenshots visually inspected. The local full ARM64 Docker image built on final commit
626150541and passedscripts/smoke-container.mjs(API/frontend, native bindings, non-root runtime, clean shutdown and persistence after container replacement). Hosted platform/container checks also passed.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedUpdated Unreleased entries, the canonical English UI catalog and
docs/connections/subscription-clis.md. Translated documentation follow-up: #6344. No dependency, schema or version changes.UI evidence (if applicable)
Regression logs, claim boundaries and 11 unedited screenshots/trace frames. Download and open
marinara-sept19-ui-proof.htmlfor the visual proof.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.