[PR #7550] [MERGED] docs(troubleshooting): explain archive import refusals #7790

Closed
opened 2026-10-24 04:07:32 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7550
Author: @SpicyMarinara
Created: 10/13/2026
Status: ✅ Merged
Merged: 10/13/2026
Merged by: @SpicyMarinara

Base: staging ← Head: docs/archive-troubleshooting


📝 Commits (1)

  • ffb92cd docs(troubleshooting): explain archive import refusals

📊 Changes

1 file changed (+6 additions, -0 deletions)

View changed files

📝 docs/TROUBLESHOOTING.md (+6 -0)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Refs #7531 (docs follow-up to #7532 and #7538). Translation follow-up: #7548.

Why this change

  • Since the strict archive reader landed, a damaged or self-contradicting .charx, .marinara, Agent package or custom repository archive is refused with The file is not a readable ZIP archive (or Could not read .marinara package). Users had no guide explaining what that means or what to do.

What changed

  • docs/TROUBLESHOOTING.md: new Import says the file is not a readable ZIP archive section under Storage and data. It says what is refused, that a partial download is the usual cause, how to re-create an archive, that padding or a trailing line break is fine, and what the two existing file-count messages mean (8,192 files for Agent packages and custom repositories, 8 for .marinara). It states plainly that these limits are not new.
  • Nothing that worked before stops working; this is documentation only.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Notes: docs-only change. prettier --check docs/TROUBLESHOOTING.md passes. The quoted messages and limits were checked against staging: packages/server/src/lib/zip-reader.ts (NOT_A_ZIP), packages/server/src/routes/import.routes.ts (MAX_PACKAGE_ENTRIES = 8, "Could not read .marinara package"), packages/server/src/services/capability-packages/package-manager.service.ts (8,192, "Package contains too many files").

Manual verification notes

  • Read the new section on GitHub's rendered docs/TROUBLESHOOTING.md and confirm it sits under Storage and data and reads plainly.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

Translation follow-up issue: #7548.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/7550 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/13/2026 **Status:** ✅ Merged **Merged:** 10/13/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `docs/archive-troubleshooting` --- ### 📝 Commits (1) - [`ffb92cd`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ffb92cde125bbac8e795b0923058056d4829bfc0) docs(troubleshooting): explain archive import refusals ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/TROUBLESHOOTING.md` (+6 -0) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Refs #7531 (docs follow-up to #7532 and #7538). Translation follow-up: #7548. ## Why this change - Since the strict archive reader landed, a damaged or self-contradicting `.charx`, `.marinara`, Agent package or custom repository archive is refused with **The file is not a readable ZIP archive** (or **Could not read .marinara package**). Users had no guide explaining what that means or what to do. ## What changed - `docs/TROUBLESHOOTING.md`: new **Import says the file is not a readable ZIP archive** section under **Storage and data**. It says what is refused, that a partial download is the usual cause, how to re-create an archive, that padding or a trailing line break is fine, and what the two existing file-count messages mean (8,192 files for Agent packages and custom repositories, 8 for `.marinara`). It states plainly that these limits are not new. - Nothing that worked before stops working; this is documentation only. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` Notes: docs-only change. `prettier --check docs/TROUBLESHOOTING.md` passes. The quoted messages and limits were checked against staging: `packages/server/src/lib/zip-reader.ts` (`NOT_A_ZIP`), `packages/server/src/routes/import.routes.ts` (`MAX_PACKAGE_ENTRIES = 8`, "Could not read .marinara package"), `packages/server/src/services/capability-packages/package-manager.service.ts` (8,192, "Package contains too many files"). ### Manual verification notes - Read the new section on GitHub's rendered `docs/TROUBLESHOOTING.md` and confirm it sits under **Storage and data** and reads plainly. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) Translation follow-up issue: #7548. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-24 04:07:32 +07:00
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#7790
No description provided.