[PR #751] [MERGED] test(long-term-memory): split regression scenarios #1119

Closed
opened 2026-10-21 05:03:08 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/751
Author: @Promansis
Created: 9/8/2026
Status: ✅ Merged
Merged: 9/8/2026
Merged by: @Promansis

Base: staging ← Head: chore(long-term-memory)/split-regression-scenarios-publish


📝 Commits (4)

  • cf9a650 test(long-term-memory): split regression scenarios
  • 5e6505e test(long-term-memory): isolate route runner entrypoints
  • c224683 test(long-term-memory): isolate route scenario blocks
  • afc7f29 test(long-term-memory): preserve route failures during cleanup

📊 Changes

10 files changed (+8429 additions, -8184 deletions)

View changed files

📝 tests/README.md (+1 -1)
➕ tests/long-term-memory-browser.regression.ts (+3833 -0)
➕ tests/long-term-memory-installation.regression.ts (+216 -0)
📝 tests/long-term-memory-lifecycle.regression.ts (+9 -3968)
➕ tests/long-term-memory-routes-backup.regression.ts (+6 -0)
➕ tests/long-term-memory-routes-drafts.regression.ts (+6 -0)
➕ tests/long-term-memory-routes-imports.regression.ts (+6 -0)
➕ tests/long-term-memory-routes-notes.regression.ts (+6 -0)
➕ tests/long-term-memory-routes-scope-identity.regression.ts (+6 -0)
📝 tests/long-term-memory-routes.regression.ts (+4340 -4215)

📄 Description

Pull request

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #744

Why this change

  • The Long-Term Memory route and lifecycle regressions were large, mutable, sequential direct-run programs. A failure in one scenario made focused development slow and obscured which contract failed.

What changed

  • Split route coverage into notes, imports, drafts, scope/identity, and backup runners while retaining the aggregate route runner.
  • Split lifecycle coverage into browser and installation/durability runners while retaining the aggregate lifecycle runner.
  • Preserved authentication, permission, route-to-service, browser/mobile/loading, reinstall, and durable-byte assertions.
  • Updated tests/README.md with the complete runner inventory.

Package and security impact

  • Affected package IDs: None; tests and test documentation only.
  • Engine compatibility impact: None.
  • New or changed permissions/entrypoints: None in shipped runtime; added regression entrypoints only.
  • Restart, storage, update, or uninstall impact: No runtime behavior changed; installation and durability paths remain covered by regression tests.

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • npm run check passes with 0 errors and 69 existing warnings.
  • Catalog lane, locale, catalog, and release-note validations pass.
  • Browser, installation, aggregate lifecycle, notes, imports, scope/identity, and backup runners pass.
  • The drafts route runner and aggregate route runner retain an existing package contract failure: rejected-suggestions deletion without sourceNoteId returns 500, while the regression expects 400.
  • Final focused review found no actionable defects.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

UI evidence (if applicable)

Not applicable; this PR changes regression tests and test documentation only.

Summary by CodeRabbit

  • Tests
    • Expanded long-term memory regression coverage across installation, browser, local lifecycle, backups, drafts, imports, notes, and scope identity scenarios.
    • Added validation for data durability across app restarts, package removal and reinstallation, and backup creation.
    • Improved test execution reporting so failures are clearly logged and surfaced through the process status.
    • Updated the test documentation to reflect the broader regression test coverage.

🔄 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-Agents/pull/751 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 9/8/2026 **Status:** ✅ Merged **Merged:** 9/8/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `chore(long-term-memory)/split-regression-scenarios-publish` --- ### 📝 Commits (4) - [`cf9a650`](https://github.com/Pasta-Devs/Marinara-Agents/commit/cf9a650a25360e43dc036dacd435422e93c23b9c) test(long-term-memory): split regression scenarios - [`5e6505e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5e6505e024f89a189344026b6f4f849c302b139c) test(long-term-memory): isolate route runner entrypoints - [`c224683`](https://github.com/Pasta-Devs/Marinara-Agents/commit/c224683369cf65393609be69f44f3bd3f9216b1c) test(long-term-memory): isolate route scenario blocks - [`afc7f29`](https://github.com/Pasta-Devs/Marinara-Agents/commit/afc7f299f0459be2f6dfb88bbfa334a44880bc2f) test(long-term-memory): preserve route failures during cleanup ### 📊 Changes **10 files changed** (+8429 additions, -8184 deletions) <details> <summary>View changed files</summary> 📝 `tests/README.md` (+1 -1) ➕ `tests/long-term-memory-browser.regression.ts` (+3833 -0) ➕ `tests/long-term-memory-installation.regression.ts` (+216 -0) 📝 `tests/long-term-memory-lifecycle.regression.ts` (+9 -3968) ➕ `tests/long-term-memory-routes-backup.regression.ts` (+6 -0) ➕ `tests/long-term-memory-routes-drafts.regression.ts` (+6 -0) ➕ `tests/long-term-memory-routes-imports.regression.ts` (+6 -0) ➕ `tests/long-term-memory-routes-notes.regression.ts` (+6 -0) ➕ `tests/long-term-memory-routes-scope-identity.regression.ts` (+6 -0) 📝 `tests/long-term-memory-routes.regression.ts` (+4340 -4215) </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #744 ## Why this change - The Long-Term Memory route and lifecycle regressions were large, mutable, sequential direct-run programs. A failure in one scenario made focused development slow and obscured which contract failed. ## What changed - Split route coverage into notes, imports, drafts, scope/identity, and backup runners while retaining the aggregate route runner. - Split lifecycle coverage into browser and installation/durability runners while retaining the aggregate lifecycle runner. - Preserved authentication, permission, route-to-service, browser/mobile/loading, reinstall, and durable-byte assertions. - Updated `tests/README.md` with the complete runner inventory. ## Package and security impact - Affected package IDs: None; tests and test documentation only. - Engine compatibility impact: None. - New or changed permissions/entrypoints: None in shipped runtime; added regression entrypoints only. - Restart, storage, update, or uninstall impact: No runtime behavior changed; installation and durability paths remain covered by regression tests. ## Validation - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - `npm run check` passes with 0 errors and 69 existing warnings. - Catalog lane, locale, catalog, and release-note validations pass. - Browser, installation, aggregate lifecycle, notes, imports, scope/identity, and backup runners pass. - The drafts route runner and aggregate route runner retain an existing package contract failure: rejected-suggestions deletion without `sourceNoteId` returns `500`, while the regression expects `400`. - Final focused review found no actionable defects. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) Not applicable; this PR changes regression tests and test documentation only. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Tests** * Expanded long-term memory regression coverage across installation, browser, local lifecycle, backups, drafts, imports, notes, and scope identity scenarios. * Added validation for data durability across app restarts, package removal and reinstallation, and backup creation. * Improved test execution reporting so failures are clearly logged and surfaced through the process status. * Updated the test documentation to reflect the broader regression test coverage. <!-- 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-21 05:03:08 +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-Agents#1119
No description provided.