[GH-ISSUE #1175] [Feature]: Decide AI sprite cleanup runtime distribution #581

Closed
opened 2026-10-20 17:30:26 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @cha1latte on GitHub (May 24, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1175

What problem does this solve?

Phase 1 added AI sprite cleanup runtime discovery/status plumbing, but Marinara still needs an architecture/release decision for how to provide the actual backgroundremover runtime to users.

Without this decision, AI cleanup can only use a runtime that is already bundled/app-managed by a future phase, installed in the app-data .venv, configured through environment variables, or available on PATH. The product gap from the original refactor issue remains: users should not have to manually install system Python just to use supported AI sprite background cleanup.

Proposed solution

Decide and document the Phase 2 runtime distribution approach for AI sprite background cleanup:

  • App-managed first-run download, or
  • fully bundled installer runtime.

The decision should cover hosting, checksums/signatures, supported platforms, model files, update/removal behavior, license/security review, and installer size.

Recommended direction from the Phase 1 review: app-managed first-run download, because it keeps installers smaller and makes runtime updates easier without touching system Python or PATH.

Alternatives considered

  • Fully bundle a portable Python/backgroundremover/model payload in each installer.
  • Continue relying only on user-installed backgroundremover, app-data .venv, environment variables, or PATH.

Additional context

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @cha1latte on GitHub (May 24, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1175 ## What problem does this solve? Phase 1 added AI sprite cleanup runtime discovery/status plumbing, but Marinara still needs an architecture/release decision for how to provide the actual `backgroundremover` runtime to users. Without this decision, AI cleanup can only use a runtime that is already bundled/app-managed by a future phase, installed in the app-data `.venv`, configured through environment variables, or available on PATH. The product gap from the original refactor issue remains: users should not have to manually install system Python just to use supported AI sprite background cleanup. ## Proposed solution Decide and document the Phase 2 runtime distribution approach for AI sprite background cleanup: - App-managed first-run download, or - fully bundled installer runtime. The decision should cover hosting, checksums/signatures, supported platforms, model files, update/removal behavior, license/security review, and installer size. Recommended direction from the Phase 1 review: app-managed first-run download, because it keeps installers smaller and makes runtime updates easier without touching system Python or PATH. ## Alternatives considered - Fully bundle a portable Python/backgroundremover/model payload in each installer. - Continue relying only on user-installed `backgroundremover`, app-data `.venv`, environment variables, or PATH. ## Additional context - Phase 1 PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1172 - Original refactor issue: https://github.com/Pasta-Devs/Marinara-Engine-Refactor/issues/24 ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@cha1latte commented on GitHub (May 24, 2026):

Triage note: labeling this as scope-risk because the request is aligned with AI sprite cleanup, but the next step is a cross-cutting architecture/release decision involving runtime hosting, checksums, platform support, installer size, model files, update cleanup, and license/security review.

The least risky next step is for Muni/maintainers to choose the distribution approach before anyone builds the runtime packaging phase.

<!-- gh-comment-id:4529809654 --> @cha1latte commented on GitHub (May 24, 2026): Triage note: labeling this as `scope-risk` because the request is aligned with AI sprite cleanup, but the next step is a cross-cutting architecture/release decision involving runtime hosting, checksums, platform support, installer size, model files, update cleanup, and license/security review. The least risky next step is for Muni/maintainers to choose the distribution approach before anyone builds the runtime packaging phase.
Author
Owner

@SpicyMarinara commented on GitHub (May 27, 2026):

We can ditch it for now.

<!-- gh-comment-id:4555967900 --> @SpicyMarinara commented on GitHub (May 27, 2026): We can ditch it for now.
Author
Owner

@SpicyMarinara commented on GitHub (May 27, 2026):

Closing per maintainer direction: we can ditch the AI sprite cleanup runtime distribution work for now rather than carrying a packaging/runtime decision through the refactor.

<!-- gh-comment-id:4556005146 --> @SpicyMarinara commented on GitHub (May 27, 2026): Closing per maintainer direction: we can ditch the AI sprite cleanup runtime distribution work for now rather than carrying a packaging/runtime decision through the refactor.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#581
No description provided.