mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4968] [Issue]: Termux-hosted ME stops updating unless Termux is foregrounded on Android #2758
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#2758
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?
Originally created by @SpicyMarinara on GitHub (Aug 13, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4968
Originally assigned to: @SpicyMarinara on GitHub.
Summary
When Marinara Engine is hosted through Termux on Android, the browser client becomes stale or unresponsive after roughly 30 seconds to 1 minute unless the user switches to the Termux app and then back to ME. This makes mobile use difficult because manually foregrounding Termux is required to trigger updates.
Expected behavior
Marinara Engine should continue updating and respond to user interactions while Termux runs in the background, without requiring the user to open or foreground Termux.
Actual behavior
After approximately 30 seconds to 1 minute of ME usage, updates stop or interactions become delayed/unresponsive. Switching to the Termux app and back to ME causes the pending update or interaction to take effect.
Steps to reproduce
Environment
65c8ebc180Logs, screenshots, or video
Screenshots showing the behavior before and after switching to Termux: https://cdn.discordapp.com/attachments/1534559002787315844/1537438997570392185/Screenshot_2026-08-13-05-31-36-25_3aea4af51f236e4932235fdada7d1643.jpg and https://cdn.discordapp.com/attachments/1534559002787315844/1537438997960335370/Screenshot_2026-08-13-05-31-47-25_3aea4af51f236e4932235fdada7d1643.jpg
Additional context
The behavior appeared after changes intended to reduce Termux polling and improve battery usage. It persisted on staging builds 2.4.2+0f9abe4323d6 and 2.4.2+65c8ebc180ce, including after PR #4958 was reported as a fix. The original battery-drain concern improved when ME was not hosted or active, but the background-update regression remains. Related GitHub issue: #4956.
Discord thread: Running ME on Android via Termux taxes phone battery
Discord thread link: https://discord.com/channels/1417099416812392641/1534559002787315844
Requested by: kolache (k0lache, Discord ID 220320261780668416)
Discord thread transcript (85 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Aug 13, 2026):
@SpicyMarinara is taking this in draft PR #4972 against
staging. No existing issue-linked branch or PR was found, so implementation can proceed without duplicating another contributor.