mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6694] [Feature]: Generation jobs that survive a closed tab, and an optional Windows console tray icon #3749
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#3749
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 @SirAdoni on GitHub (Sep 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6694
Originally assigned to: @SpicyMarinara on GitHub.
Part of the contribution roadmap in #6624 (package G).
What problem does this solve?
Proposed solution
Keep generating when the tab is closed (
generationJobTracking):Minimize the console to the system tray (
consoleTray, Windows only):How it's switched: both are off by default in Settings > Advanced > Features. With job tracking off, each route runs its work exactly as today, every new route answers 404, and no folder, table row, timer or log line is created. With the tray off, nothing starts.
MARINARA_CONSOLE_TRAYcan also set the tray.packages/server/src/routes: gallery, backgrounds, sprites, characters, admin (chat wipe), and a newgeneration-jobsroutepackages/server/src/services/generation: new job runner and trackerpackages/server/src/db/schemaandservices/storage: a newgeneration_job_recordstable and its storagepackages/server/src/services/console-trayandassets/console-tray.ps1(new)generation-jobscomponent folder,GenerationJobsModal,AppShellandModalRendererhooks, Features settings,en.jsondocs/development/generation-jobs.md,docs/configurationAlternatives considered
Additional context
Screenshots
Taken from the fork build with invented demo data (characters, lorebooks and a campaign made up for these shots). Model replies and token counts come from a local test stub, so no real model was called.
Jobs viewer: a running job with Stop, a completed avatar draft with its result, a finished gallery image and a failed one with its error.
The activity dot on the jobs button while a tracked job runs.
The toast after a reload, for a job that finished while the tab was closed.
Both switches in Settings > Advanced > Features.
Template check
@SpicyMarinara commented on GitHub (Sep 26, 2026):
Ensure they're off by default, and then we're good. Awaiting PR.