[PR #4164] [MERGED] Fix connection error accent and Regexes examples #6263

Closed
opened 2026-10-23 04:08:43 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4164
Author: @SpicyMarinara
Created: 7/27/2026
Status: ✅ Merged
Merged: 7/27/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/connection-error-regex-examples


📝 Commits (1)

  • 92c6267 fix: align connection errors and regex examples

📊 Changes

6 files changed (+100 additions, -8 deletions)

View changed files

📝 e2e/core-flows.e2e.ts (+71 -0)
📝 packages/client/src/components/agents/RegexScriptEditor.tsx (+3 -3)
📝 packages/client/src/components/connections/ConnectionEditor.tsx (+1 -1)
📝 packages/client/src/localization/locales/en.json (+3 -3)
📝 packages/client/src/localization/locales/ko.json (+1 -1)
📝 scripts/regressions/prompt.regression.ts (+21 -0)

📄 Description

Why

Failed connection test messages such as Internal Server Error still used the destructive pink token instead of the configured editor accent. The Regexes editor also displayed JSON-escaped examples with doubled backslashes, so copying the shown OOC pattern into Live Test searched for literal backslashes and left (OOC: Hey.) unchanged.

What changed

  • render failed Send Test Message response text with the configured editor accent
  • correct Regexes examples and localized placeholders to use direct-entry regex escaping
  • add regression coverage for the connection error color and the OOC Live Test example

Validation

  • pnpm check
  • pnpm regression:prompt
  • focused Playwright test: connection test-message errors inherit the configured editor accent

Manual verification

  • Manually verify a failed Send Test Message result follows a non-pink custom accent.
  • Manually verify \(OOC:.*?\) removes (OOC: Hey.) in Regexes Live Test with an empty replacement.

No linked issue; this follows direct maintainer-reported defects. A tracking issue should be opened if project policy requires one before merge.


🔄 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/4164 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/27/2026 **Status:** ✅ Merged **Merged:** 7/27/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/connection-error-regex-examples` --- ### 📝 Commits (1) - [`92c6267`](https://github.com/Pasta-Devs/Marinara-Engine/commit/92c6267b35fb494087832603017a23b1a80ab570) fix: align connection errors and regex examples ### 📊 Changes **6 files changed** (+100 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `e2e/core-flows.e2e.ts` (+71 -0) 📝 `packages/client/src/components/agents/RegexScriptEditor.tsx` (+3 -3) 📝 `packages/client/src/components/connections/ConnectionEditor.tsx` (+1 -1) 📝 `packages/client/src/localization/locales/en.json` (+3 -3) 📝 `packages/client/src/localization/locales/ko.json` (+1 -1) 📝 `scripts/regressions/prompt.regression.ts` (+21 -0) </details> ### 📄 Description ## Why Failed connection test messages such as `Internal Server Error` still used the destructive pink token instead of the configured editor accent. The Regexes editor also displayed JSON-escaped examples with doubled backslashes, so copying the shown OOC pattern into Live Test searched for literal backslashes and left `(OOC: Hey.)` unchanged. ## What changed - render failed Send Test Message response text with the configured editor accent - correct Regexes examples and localized placeholders to use direct-entry regex escaping - add regression coverage for the connection error color and the OOC Live Test example ## Validation - `pnpm check` - `pnpm regression:prompt` - focused Playwright test: `connection test-message errors inherit the configured editor accent` ## Manual verification - [ ] Manually verify a failed Send Test Message result follows a non-pink custom accent. - [ ] Manually verify `\(OOC:.*?\)` removes `(OOC: Hey.)` in Regexes Live Test with an empty replacement. No linked issue; this follows direct maintainer-reported defects. A tracking issue should be opened if project policy requires one before merge. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:08:43 +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#6263
No description provided.