[PR #2591] [MERGED] Added custom dev script that waits for server to boot up before deplo… #5676

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/2591
Author: @ghost
Created: 6/16/2026
Status: ✅ Merged
Merged: 6/16/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/dev-startup-failing


📝 Commits (2)

  • 676f734 Added custom dev script that waits for server to boot up before deploying frontend (helps with running app)
  • b5c1668 Harden dev startup orchestration

📊 Changes

2 files changed (+117 additions, -1 deletions)

View changed files

📝 package.json (+1 -1)
➕ scripts/dev.mjs (+116 -0)

📄 Description

Some weird problem I was encountering, not sure if others, but when I run:
pnpm dev
it would just infinitely load, and be stuck on a crash loop. This was only happening on staging and it seemed to be because the frontend would send a request to the backend before the backend started, causing the frontend to infinitely loop. So, we just now wait for backend to finish deploying before deploying frontend :D


🔄 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/2591 **Author:** [@ghost](https://github.com/ghost) **Created:** 6/16/2026 **Status:** ✅ Merged **Merged:** 6/16/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/dev-startup-failing` --- ### 📝 Commits (2) - [`676f734`](https://github.com/Pasta-Devs/Marinara-Engine/commit/676f7348fa12697a72a8a26f057531f3cb11e55d) Added custom dev script that waits for server to boot up before deploying frontend (helps with running app) - [`b5c1668`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b5c166880ae411f0bdab5b7d657fcfbf001ded17) Harden dev startup orchestration ### 📊 Changes **2 files changed** (+117 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+1 -1) ➕ `scripts/dev.mjs` (+116 -0) </details> ### 📄 Description Some weird problem I was encountering, not sure if others, but when I run: pnpm dev it would just infinitely load, and be stuck on a crash loop. This was only happening on staging and it seemed to be because the frontend would send a request to the backend before the backend started, causing the frontend to infinitely loop. So, we just now wait for backend to finish deploying before deploying frontend :D --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:18:24 +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#5676
No description provided.