[PR #1209] [MERGED] Revert staging backport of issue 1129 #4982

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1209
Author: @cha1latte
Created: 5/25/2026
Status: ✅ Merged
Merged: 5/25/2026
Merged by: @cha1latte

Base: staging ← Head: revert/staging-issue-1129


📝 Commits (1)

  • cf7cd6d Revert "Merge pull request #1206 from cha1latte/fix/issue-1129-dangling-connections"

📊 Changes

5 files changed (+51 additions, -201 deletions)

View changed files

📝 packages/server/src/routes/connections.routes.ts (+2 -26)
📝 packages/server/src/routes/generate.routes.ts (+32 -57)
📝 packages/server/src/routes/generate/agent-connection-guards.ts (+1 -15)
📝 packages/server/src/routes/generate/retry-agents-route.ts (+16 -30)
➖ packages/server/src/services/storage/connection-references.storage.ts (+0 -73)

📄 Description

Linked issue

Refs #1129
Reverts #1206

Why this change

Issue #1129 was already fixed on the refactor branch in #1130. PR #1206 then backported the same behavior to staging, but this work is supposed to live on refactor only. This PR restores staging to the pre-#1206 tree without touching the refactor fix.

What changed

  • Reverted merge commit 8b6c246a from #1206.
  • Removed the staging-only server connection reference helper introduced by #1206.
  • Restored the touched staging server routes to their pre-#1206 state.

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

Codex-run proof:

  • git diff --quiet 36634848f5eabe1eb9d0c039295e83ee991dff30 HEAD passed, confirming this branch's tree matches staging immediately before #1206.
  • git diff --check upstream/staging...HEAD passed.
  • pnpm check passed locally.
  • Bunny review pass completed before opening this PR.
  • Confirmed upstream/refactor still contains #1130, so this revert does not remove the refactor-branch fix.

Manual verification notes

  • No browser verification was required; this is a branch hygiene revert that restores staging to the pre-#1206 tree.
  • Human follow-up: remove or adjust the fixed-in-staging label on #1129 after this revert lands, since the fix should remain refactor-only.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

No docs, schema, dependency, version, or release metadata changes.

UI evidence (if applicable)

N/A - non-UI revert.


🔄 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/1209 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/25/2026 **Status:** ✅ Merged **Merged:** 5/25/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `staging` ← **Head:** `revert/staging-issue-1129` --- ### 📝 Commits (1) - [`cf7cd6d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/cf7cd6d4b3aec347c392b00c1e2dddf7cd64992f) Revert "Merge pull request #1206 from cha1latte/fix/issue-1129-dangling-connections" ### 📊 Changes **5 files changed** (+51 additions, -201 deletions) <details> <summary>View changed files</summary> 📝 `packages/server/src/routes/connections.routes.ts` (+2 -26) 📝 `packages/server/src/routes/generate.routes.ts` (+32 -57) 📝 `packages/server/src/routes/generate/agent-connection-guards.ts` (+1 -15) 📝 `packages/server/src/routes/generate/retry-agents-route.ts` (+16 -30) ➖ `packages/server/src/services/storage/connection-references.storage.ts` (+0 -73) </details> ### 📄 Description <!-- Target branch: `staging`. The default base in this UI is `main` (release branch). --> <!-- Change the base to `staging` before submitting unless this is a maintainer-approved mainline change. --> <!-- See CONTRIBUTING.md § Branches. --> ## Linked issue Refs #1129 Reverts #1206 ## Why this change Issue #1129 was already fixed on the `refactor` branch in #1130. PR #1206 then backported the same behavior to `staging`, but this work is supposed to live on `refactor` only. This PR restores `staging` to the pre-#1206 tree without touching the refactor fix. ## What changed - Reverted merge commit `8b6c246a` from #1206. - Removed the staging-only server connection reference helper introduced by #1206. - Restored the touched staging server routes to their pre-#1206 state. ## 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` Codex-run proof: - `git diff --quiet 36634848f5eabe1eb9d0c039295e83ee991dff30 HEAD` passed, confirming this branch's tree matches staging immediately before #1206. - `git diff --check upstream/staging...HEAD` passed. - `pnpm check` passed locally. - Bunny review pass completed before opening this PR. - Confirmed `upstream/refactor` still contains #1130, so this revert does not remove the refactor-branch fix. ### Manual verification notes - No browser verification was required; this is a branch hygiene revert that restores `staging` to the pre-#1206 tree. - Human follow-up: remove or adjust the `fixed-in-staging` label on #1129 after this revert lands, since the fix should remain refactor-only. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) No docs, schema, dependency, version, or release metadata changes. ## UI evidence (if applicable) N/A - non-UI revert. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:12:13 +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#4982
No description provided.