[PR #7982] [MERGED] fix(notices): notices.json must be a plain JSON array #8043

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

📋 Pull Request Information

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

Base: notices ← Head: fix/notices-json-array


📝 Commits (1)

  • da742a8 fix(notices): use a plain JSON array as the code expects

📊 Changes

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

View changed files

📝 notices.json (+1 -1)

📄 Description

Why this change

The Marinara notices code merged in #7952 reads notices.json as a plain JSON array (packages/server/src/routes/notices.routes.ts, parseMarinaraNotices). Anything else is rejected, so nothing shows. The file on this branch is { "version": 1, "notices": [] }. Today that is harmless because the list is empty, but a notice added inside "notices" would silently never appear. This changes the file to [], the format documented in CONTRIBUTING.md § Marinara Notices.

What changed

  • notices.json: { "version": 1, "notices": [] } → [].

Manual verification

  • After merge, https://raw.githubusercontent.com/Pasta-Devs/Marinara-Engine/notices/notices.json returns [].
  • A staging build starts normally and shows no notice banner.

🔄 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/7982 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/21/2026 **Status:** ✅ Merged **Merged:** 10/22/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `notices` ← **Head:** `fix/notices-json-array` --- ### 📝 Commits (1) - [`da742a8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/da742a82388670ced1ac40273f8c88e591a231a8) fix(notices): use a plain JSON array as the code expects ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `notices.json` (+1 -1) </details> ### 📄 Description ## Why this change The Marinara notices code merged in #7952 reads `notices.json` as a plain JSON array (`packages/server/src/routes/notices.routes.ts`, `parseMarinaraNotices`). Anything else is rejected, so nothing shows. The file on this branch is `{ "version": 1, "notices": [] }`. Today that is harmless because the list is empty, but a notice added inside `"notices"` would silently never appear. This changes the file to `[]`, the format documented in `CONTRIBUTING.md` § Marinara Notices. ## What changed - `notices.json`: `{ "version": 1, "notices": [] }` → `[]`. ## Manual verification - [ ] After merge, `https://raw.githubusercontent.com/Pasta-Devs/Marinara-Engine/notices/notices.json` returns `[]`. - [ ] A staging build starts normally and shows no notice banner. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-24 04:09:54 +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#8043
No description provided.