[PR #5930] [MERGED] Issue Sweep: connection tests and settings safeguards #6996

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

📋 Pull Request Information

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

Base: staging ← Head: fix/issue-sweep-settings-sep7


📝 Commits (8)

  • d6f6fd6 chore: claim assigned settings issue sweep
  • 5b945bb fix: honor connection test parameters and guard settings actions
  • 4137011 fix: bound channel metadata reads and strengthen parameter proof
  • b181e1c Merge remote-tracking branch 'origin/staging' into fix/issue-sweep-settings-sep7
  • 6d0c3df Merge remote-tracking branch 'origin/staging' into fix/issue-sweep-settings-sep7
  • 7d6d191 test: close parameter regression resources independently
  • 037eb8d test: keep random surprise overlays out of UI fixtures
  • c3b43ac Merge remote-tracking branch 'origin/staging' into fix/issue-sweep-settings-sep7

📊 Changes

13 files changed (+252 additions, -22 deletions)

View changed files

📝 CHANGELOG.md (+4 -0)
📝 e2e/core-flows.e2e.ts (+53 -0)
📝 e2e/ui-state-fixture.e2e.ts (+6 -1)
📝 e2e/ui-state-fixture.ts (+2 -1)
📝 e2e/ux-feedback-sweep.e2e.ts (+13 -15)
📝 packages/client/src/components/chat/RoleplayHUDActionsMenu.tsx (+10 -1)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+12 -2)
📝 packages/client/src/localization/locales/en.json (+2 -0)
📝 packages/server/src/middleware/rate-limit.ts (+13 -0)
📝 packages/server/src/routes/connections.routes.ts (+5 -2)
📝 packages/server/src/routes/updates.routes.ts (+9 -0)
➕ scripts/regressions/connection-test-parameters.regression.ts (+90 -0)
➕ scripts/regressions/update-channel-metadata.regression.ts (+33 -0)

📄 Description

Linked issue

Closes #5908, #5911, #5912.

Why this change

Assigned issue sweep for @SpicyMarinara: connection tests should honor saved generation parameters, a destructive tracker clear should require confirmation, and Updates should identify the running release channel. Existing open and draft PRs were checked and excluded.

What changed

  • Reuse the standard saved-parameter resolver for test messages, including disabled parameters and output limits.
  • Reuse the shared themed confirmation dialog before clearing trackers; Cancel leaves data untouched.
  • Read installed channel metadata locally before update checks, so an offline GitHub request cannot make staging appear as Stable. Explicit channel selection remains unchanged; no update-apply policy changes.
  • Add focused route and desktop/mobile browser regressions, plus canonical English localization and changelog entries.

Automated evidence

  • pnpm check: passed (localization, formatting, lint, e2e types, production build).
  • Test-message route regression: saved temperature/top-p/output/stop values, default behavior, and disabled parameters passed against a local HTTP fixture. No paid provider calls.
  • Targeted browser run: 8 passed, 1 platform-specific skip across desktop Chromium, mobile Chromium, and mobile WebKit. Covers Cancel/Confirm tracker clearing, initial/offline staging display, and existing Docker channel selection.

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

Manual verification notes

Manually verify saved connection parameters against your provider, Cancel/Confirm tracker clearing, and initial/repeated channel display on a Termux staging install. Physical Termux/iPhone checks are not claimed. Container validation is supplied by CI, not a new local-container claim. Checkboxes remain the human contributor's TO-DO list.

Docs and release impact

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

UI evidence (if applicable)

Automated desktop Chromium, mobile Chromium and mobile WebKit checks cover the existing themed controls; no custom styling was introduced.

Summary by CodeRabbit

  • Bug Fixes

    • Connection test messages now honor saved generation settings and output limits.
    • Clearing roleplay trackers requires confirmation; canceling preserves the current state.
    • Update settings accurately display the installed release channel, including when checks fail.
    • Release-channel selection remains clear while channel information is loading.
  • New Features

    • Update channel information can now be displayed without waiting for an online check.

🔄 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/5930 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 9/7/2026 **Status:** ✅ Merged **Merged:** 9/7/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/issue-sweep-settings-sep7` --- ### 📝 Commits (8) - [`d6f6fd6`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d6f6fd6532fc558977a4c3a3b95e555e9dd3af2d) chore: claim assigned settings issue sweep - [`5b945bb`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5b945bbe2364121f5d0d53c2599a2b54a1a207b0) fix: honor connection test parameters and guard settings actions - [`4137011`](https://github.com/Pasta-Devs/Marinara-Engine/commit/41370110b4e59e232e0e09493c83015b040125db) fix: bound channel metadata reads and strengthen parameter proof - [`b181e1c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b181e1c0f90569f0c8663bdd9fbcef5f693a3ad3) Merge remote-tracking branch 'origin/staging' into fix/issue-sweep-settings-sep7 - [`6d0c3df`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6d0c3df09e64289262c109d43a9765c845d83469) Merge remote-tracking branch 'origin/staging' into fix/issue-sweep-settings-sep7 - [`7d6d191`](https://github.com/Pasta-Devs/Marinara-Engine/commit/7d6d1917eca710c4c7682d6d0018cb101a37cabb) test: close parameter regression resources independently - [`037eb8d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/037eb8deab5e5993e6a31d946e5adf96bab3382e) test: keep random surprise overlays out of UI fixtures - [`c3b43ac`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c3b43acf3326562b15839b658b8144dd392bb9fc) Merge remote-tracking branch 'origin/staging' into fix/issue-sweep-settings-sep7 ### 📊 Changes **13 files changed** (+252 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+4 -0) 📝 `e2e/core-flows.e2e.ts` (+53 -0) 📝 `e2e/ui-state-fixture.e2e.ts` (+6 -1) 📝 `e2e/ui-state-fixture.ts` (+2 -1) 📝 `e2e/ux-feedback-sweep.e2e.ts` (+13 -15) 📝 `packages/client/src/components/chat/RoleplayHUDActionsMenu.tsx` (+10 -1) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+12 -2) 📝 `packages/client/src/localization/locales/en.json` (+2 -0) 📝 `packages/server/src/middleware/rate-limit.ts` (+13 -0) 📝 `packages/server/src/routes/connections.routes.ts` (+5 -2) 📝 `packages/server/src/routes/updates.routes.ts` (+9 -0) ➕ `scripts/regressions/connection-test-parameters.regression.ts` (+90 -0) ➕ `scripts/regressions/update-channel-metadata.regression.ts` (+33 -0) </details> ### 📄 Description ## Linked issue Closes #5908, #5911, #5912. ## Why this change Assigned issue sweep for @SpicyMarinara: connection tests should honor saved generation parameters, a destructive tracker clear should require confirmation, and Updates should identify the running release channel. Existing open and draft PRs were checked and excluded. ## What changed - Reuse the standard saved-parameter resolver for test messages, including disabled parameters and output limits. - Reuse the shared themed confirmation dialog before clearing trackers; Cancel leaves data untouched. - Read installed channel metadata locally before update checks, so an offline GitHub request cannot make staging appear as Stable. Explicit channel selection remains unchanged; no update-apply policy changes. - Add focused route and desktop/mobile browser regressions, plus canonical English localization and changelog entries. ## Automated evidence - `pnpm check`: passed (localization, formatting, lint, e2e types, production build). - Test-message route regression: saved temperature/top-p/output/stop values, default behavior, and disabled parameters passed against a local HTTP fixture. No paid provider calls. - Targeted browser run: 8 passed, 1 platform-specific skip across desktop Chromium, mobile Chromium, and mobile WebKit. Covers Cancel/Confirm tracker clearing, initial/offline staging display, and existing Docker channel selection. ## 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` ### Manual verification notes Manually verify saved connection parameters against your provider, Cancel/Confirm tracker clearing, and initial/repeated channel display on a Termux staging install. Physical Termux/iPhone checks are not claimed. Container validation is supplied by CI, not a new local-container claim. Checkboxes remain the human contributor's TO-DO list. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) Automated desktop Chromium, mobile Chromium and mobile WebKit checks cover the existing themed controls; no custom styling was introduced. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Connection test messages now honor saved generation settings and output limits. - Clearing roleplay trackers requires confirmation; canceling preserves the current state. - Update settings accurately display the installed release channel, including when checks fail. - Release-channel selection remains clear while channel information is loading. - **New Features** - Update channel information can now be displayed without waiting for an online check. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:15:35 +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#6996
No description provided.