mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5656] Surface the Termux wake-lock outcome in /health and support diagnostics #3132
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#3132
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 @kolacheee on GitHub (Aug 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5656
Originally assigned to: @kolacheee on GitHub.
What happens
start-termux.shacquires the Android wake lock and prints one[OK]/[WARN]line at launch — and that's the only place the outcome ever exists. It never reaches/health, the in-app support diagnostics, or anything a user pastes into a report. In the background-freeze report we just triaged, determining whether the wake lock had engaged required asking the user to dig the session log's first lines out of~/.marinara-engine/logs/— the single most important fact for that diagnosis, and the diagnostics block the user had already pasted couldn't tell us.The fix
start-termux.shexports the outcome (e.g.MARINARA_WAKE_LOCK_STATUS=acquired|failed|unavailable) before launching the server./health, and the client's Copy Support Diagnostics block (packages/client/src/lib/support-diagnostics.ts) renders it alongside the other server fields.[WARN]loud: highlighted and repeated in the startup summary rather than one easy-to-scroll-past line. A wake lock that failed to acquire on Termux is the #1 background-reliability signal we have.Try it yourself
Run
start-termux.shon a device, then open Copy Support Diagnostics in the app — nothing reports whether the wake lock engaged.Related: the server-side freeze detector and client unreachable-state UX are filed separately (see cross-references).
@kolacheee commented on GitHub (Aug 29, 2026):
Termux background-freeze follow-up family (from the 2026-08-30 triage; verdict: the battery-efficiency waves removed the ambient polling that had kept vendor freezers from classifying backgrounded Termux as dormant — see #4956 for the first field report): #5655 server freeze detector, #5656 wake-lock surfacing, #5657 client unreachable-state UX, #5658 checkVersion fetch leak, #5659 TROUBLESHOOTING corrections.
@kolacheee commented on GitHub (Aug 29, 2026):
Taking this together with #5655 (kolacheee + Claude agent) on branch feat/5655-5656-freeze-observability as the freeze-observability PR; draft PR to follow.