mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6319] [MERGED] fix: address translation, startup and Mindless pursuit regressions #7135
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#7135
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/6319
Author: @SpicyMarinara
Created: 9/18/2026
Status: ✅ Merged
Merged: 9/18/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/translation-only📝 Commits (8)
5afaba2chore: start translation-only display fixd6a0d03fix: refresh translated replies and repair incomplete client buildsabf4dactest: tighten translation and launcher regression coveraged6411c4test: parse the Termux build block without backtracking119de3ffix: keep Mindless pursuit independent of terrain cost05bbb52fix: reject explicit resource requests in SPA fallbackafb0dd3fix: queue translations when regenerated source changes7783687test: use touch input for mobile translation regeneration📊 Changes
22 files changed (+567 additions, -39 deletions)
View changed files
📝
CHANGELOG.md(+6 -0)📝
docs/TROUBLESHOOTING.md(+8 -0)📝
docs/conversation/selfies.md(+9 -0)📝
docs/development/game-combat-difficulty-weather.md(+1 -1)➕
e2e/translation-only.e2e.ts(+199 -0)📝
packages/client/src/hooks/use-generate.ts(+1 -1)📝
packages/client/src/hooks/use-translate.ts(+11 -4)📝
packages/client/vite.config.ts(+1 -0)📝
packages/server/src/app.ts(+3 -13)📝
packages/server/src/config/client-static-config.ts(+26 -0)📝
packages/server/src/services/generation/empty-response-reason.ts(+1 -1)📝
packages/shared/src/features/tactical-combat/profile-ai.ts(+3 -3)➕
scripts/check-client-build.mjs(+41 -0)📝
scripts/regressions/combat-ai.regression.ts(+14 -0)➕
scripts/regressions/deepseek-reasoning-output.regression.ts(+92 -0)➕
scripts/regressions/launcher/client-build.regression.mjs(+57 -0)📝
scripts/regressions/open-issues.regression.ts(+11 -5)📝
scripts/regressions/provider-compat.regression.ts(+1 -1)📝
scripts/regressions/static-cache-headers.regression.ts(+67 -5)📝
start-termux.sh(+3 -2)...and 2 more files
📄 Description
Why this change
Regenerating a translated reply reused its old translation because automatic translation skipped every message ID already in the cache. The new original then appeared beside the stale translation even with Show Only Translation enabled. Compare the cached source as well as the message ID so regenerated content is translated again, retaining the existing stale-source guard for manual edits. If an older translation is still pending, reuse the existing queue and translate the changed source after that request and its persistence finish.
A partial client build could also pass launcher checks with only index.html present, while missing JavaScript requests received HTML from the SPA fallback. Reuse Vite's manifest to check eager/lazy chunks, styles and assets before startup; rebuild incomplete clients on Windows, Unix and Termux. Restrict the HTML fallback to browser navigation and return non-cacheable 404s for missing assets.
Closes #6317
Closes #6320
Closes #6318
Closes #6324
Refs #6321 — investigation remains open; this PR corrects misleading output-budget advice and adds provider-response regression coverage. It does not claim the intermittent live DeepSeek report is fixed.
Documentation review also reproduced a Tactical pursuit regression: a Mindless enemy took a longer cheap route instead of the fewest legal steps. A small condition in the existing path calculation preserves that policy while still charging real movement costs. Other profiles retain cost-aware pursuit.
What changed
Validation performed
pnpm check, including localization, formatting, lint/types, E2E types and production builds;pnpm version:check.afb0dd3also passed all 300 Node regressions in CI, plus native/platform artifact checks.pnpm checkand the combat AI/conditions regressions pass, including the demonstrated failing forest route, actual AI choices and snow-limited movement.pnpm regression:launcher-update; new client-build regression;bash -n start.sh start-termux.sh; inventory check against the real production build.pnpm checkpasses..gitattributesalready enforces LF on every platform. The test uses string splitting rather than a backtracking regular expression.Logs and before/after screenshots
Claim boundaries and manual verification
The asset regression proves missing/empty/mismatched inventory detection and correct HTTP fallback behavior. It does not identify the reporter's exact Windows installation failure. The DeepSeek fixtures prove parser behavior for documented response shapes, not live API reliability. No paid provider requests were made.
Docs and release impact
Added user-facing Unreleased entries. Reviewed the install/update guidance across README, Android README, CONTRIBUTING, configuration, troubleshooting and FAQ; only the focused troubleshooting and selfie sections needed changes. No version bump. All ten documentation language packs, including #6300, #6316, #6322 and the clarified Mindless weather guidance, were merged to docs-i18n in #6311.
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.