mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5551] [Issue]: Autopost scheduler has no backoff on failure and resumes at full frequency after a killed/restarted process #3083
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#3083
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 @chisbldone on GitHub (Aug 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5551
Originally assigned to: @Gunterlie on GitHub.
Summary
When a chat-completion endpoint used by the autopost scheduler (Noodle/Slurp) starts returning errors (e.g. HTTP 500), the scheduler retries continuously with no backoff or failure limit. The loop also survives an unclean process termination (SIGKILL) and resumes immediately at the same frequency after a service restart, with no way to disable it without getting the web UI to load first.
Environment
marinara.service)slurp-1.0.8(seen in stack trace), Noodle autopostSteps to reproduce
journalctl -u marinara.service— the scheduler logs[noodle-autopost] Reserve poll failedrepeatedly with no increasing delay between attempts.systemctl stop marinara.service— main process does not respond to SIGTERM and is killed by timeout (State 'stop-sigterm' timed out. Killing.).Expected behavior
Actual behavior
[noodle-autopost] Reserve poll failederrors between 12:55:12 PM and 5:27:00 PM EDT (confirmed via epoch timestamps in the log), an average of once every ~3 minutes 5 seconds, with no increasing delay between attempts and no backoff of any kind.systemctl stopissued a SIGTERM that the main process did not respond to, requiring a SIGKILL at 5:28:36 PM — about 90 seconds after the last logged failure.Logs
First 4 and last 4 of 88 total occurrences between 12:55 PM and 5:27 PM EDT, immediately preceding the forced SIGKILL at 5:28:36 PM. Full log available on request.
Followed immediately by the forced shutdown:
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: