mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6011] [MERGED] Fix Conversation swipe alignment and Termux restart leases #7025
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#7025
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/6011
Author: @SpicyMarinara
Created: 9/9/2026
Status: ✅ Merged
Merged: 9/9/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/6009-6010-swipe-restart📝 Commits (4)
98321fadocs: start swipe alignment and Termux restart fixes13b23bdfix: align Conversation swipes and recover Termux writer leases33d73b9fix: preserve user bubble swipe alignment7c782detest: measure gaps around the Conversation swipe footer📊 Changes
10 files changed (+156 additions, -108 deletions)
View changed files
📝
CHANGELOG.md(+3 -0)📝
e2e/core-flows.e2e.ts(+20 -1)📝
packages/client/src/components/chat/ConversationMessage.tsx(+3 -0)📝
packages/client/src/components/chat/ConversationMessageActions.tsx(+1 -1)📝
packages/client/src/components/chat/ConversationMessageBubble.tsx(+0 -21)📝
packages/client/src/components/chat/ConversationMessageGrouped.tsx(+5 -21)📝
packages/client/src/components/chat/ConversationMessageLine.tsx(+0 -20)📝
packages/client/src/components/chat/ConversationMessageShared.tsx(+18 -22)📝
packages/server/src/db/file-backed-store.ts(+17 -18)📝
scripts/regressions/storage-writer-lock.regression.ts(+89 -4)📄 Description
Linked issues
Closes #6009
Closes #6010
Why this change
Conversation swipe controls inherited the avatar-column indentation, placing them 51–60 px away from the start of the message row on mobile. Hidden actions also reserved a full row of space.
Termux did not enable Engine's existing writer-liveness socket, and its normal 101-byte socket path exceeded the old 100-byte cutoff. If Android cannot prove that a PID no longer belongs to the old writer, startup then requires manual recovery or a reboot. This is consistent with #6010; the rare failure on the reporter's physical phone was not reproduced.
What changed
Validation
Completed locally:
pnpm installandpnpm check(includes localization, formatting, lint, TypeScript and production builds).node scripts/run-regressions.mjs --filter storage: 3/3 on macOS and 3/3 in Linux Docker, with isolated data.node scripts/run-regressions.mjs --filter shutdown: 3/3, including production server SIGINT and duplicate-signal shutdown.ok, a second writer was rejected, and four production browser captures passed.Storage claim boundary
The tests simulate Android platform/home/boot identity on POSIX hosts and use real sockets/process termination. Legacy or unsupported leases still require the existing PID/boot proof or manual recovery. This PR does not establish why the reporter's original PID could not be verified.
Manual verification to complete
CONTRIBUTING.mdand independently verify the relevant test plan.Docs and release impact
Both fixes are recorded under CHANGELOG Unreleased. Reviewed README, android/README, CONTRIBUTING, CONFIGURATION, TROUBLESHOOTING and FAQ together; existing launch/restart instructions remain applicable. No user-facing docs, dependency, schema or version changes.
UI evidence
Before/after screenshots and light-theme captures, using a synthetic chat only.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.