[PR #1621] [MERGED] test(long-term-memory): consolidate regression suites (#1618) #1629

Closed
opened 2026-10-25 04:02:17 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1621
Author: @Promansis
Created: 10/23/2026
Status: ✅ Merged
Merged: 10/23/2026
Merged by: @Promansis

Base: staging ← Head: chore(long-term-memory)/consolidate-regression-suites


📝 Commits (3)

  • ba5729f test(long-term-memory): split Engine-free regressions into a parallel CI job (#1618)
  • 667917e test(long-term-memory): merge regression files and remove verified duplicate checks (#1618)
  • 5d24a60 Merge branch 'staging' into chore(long-term-memory)/consolidate-regression-suites

📊 Changes

15 files changed (+596 additions, -657 deletions)

View changed files

📝 .github/workflows/ltm-browser.yml (+35 -7)
📝 tests/README.md (+55 -16)
📝 tests/long-term-memory-browser.regression.ts (+3 -81)
📝 tests/long-term-memory-candidate-reconciliation.regression.ts (+351 -1)
📝 tests/long-term-memory-feedback-clarity-ui.regression.mjs (+57 -5)
➖ tests/long-term-memory-lifecycle.regression.ts (+0 -15)
➖ tests/long-term-memory-loading.regression.mjs (+0 -76)
➖ tests/long-term-memory-reconciliation-recall.regression.ts (+0 -358)
➖ tests/long-term-memory-routes-drafts.regression.ts (+0 -6)
➖ tests/long-term-memory-routes-notes.regression.ts (+0 -6)
📝 tests/long-term-memory-routes.regression.ts (+4 -4)
📝 tests/long-term-memory-runtime.regression.ts (+1 -16)
📝 tests/long-term-memory-scope-fallback-labels.regression.ts (+19 -2)
📝 tests/long-term-memory-source-pagination.regression.ts (+71 -1)
📝 tests/long-term-memory-storage.regression.ts (+0 -63)

📄 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 #1618

Why this change

The tests/long-term-memory-* regression files had overlapping coverage and thin wrapper files. Engine-free suites ran in the Engine/Playwright CI job, and the tests/README.md run instructions were stale. This splits the run topology and removes duplicated checks, keeping any check that has no clear surviving pair.

What changed

Test-only. No package payload, manifest, artifact, or catalog output changes.

Two independently revertible commits:

  1. run topology and cleanup
    • New Engine-free ltm-node CI job that needs only npm ci and npx tsx. It runs candidate-reconciliation conversation-summary-import debug-log delta-review extraction-graph extraction-reliability local-characters rebuild-job runtime, plus loading until commit 2 folds it away.
    • The Engine job keeps storage branch-recall engine-fields routes routes-imports routes-scope-identity routes-backup installation host-styles. storage, branch-recall and engine-fields import Engine sources, so they cannot move.
    • Deleted the routes-notes, routes-drafts and lifecycle wrapper files. routes-imports stays because it seeds its own state and asserts freshness === "current", which only it checks.
    • Removed dead bootstrap code in the browser and runtime suites, and rewrote the tests/README.md run instructions and ownership table.
  2. merges and verified duplicate removals
    • Folded reconciliation-recall into candidate-reconciliation and loading into feedback-clarity-ui.
    • Moved the note-paging and localized-label blocks into source-pagination and scope-fallback-labels.
    • Added a "Phase 6" table to tests/README.md with the surviving check for each removal.
    • Kept, rather than deleted: the engine.min === "2.4.1" assert, the Misc Agents for Conversation negative assert, the loadTrustedLtmSubjectCatalog separation assert, and several feedback-clarity rows with no clear surviving pair.

index-keys is not in ltm-browser.yml: it already runs through npm run test:security in PR checks.

Package and security impact

  • Affected package IDs: none
  • Engine compatibility impact: none
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none. CI workflow job split only.

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

Run by the authoring agent, not ticked above because they are for a human to confirm. The branch is rebased onto upstream/staging at 9f8a5d81a; the first attempt was written on a stale base and was redone.

  • Every suite exited 0 before and after the change. Engine-free suites ran with npx tsx and MARINARA_ENGINE_ROOT pointing nowhere; the Engine suites and the browser suite ran through test-ltm.sh against a local Engine checkout.
  • npm run check, test-catalog-lanes.mjs, validate-package-locales.mjs, validate-catalog.mjs, catalog-release-notes.regression.mjs, typecheck-packages.mjs long-term-memory and git diff --check pass.
  • Not verified: the new ltm-node job has not run on a hosted runner, and the local Engine checkout may differ from Engine staging.

Documentation impact

  • No documentation changes needed

(tests/README.md is updated as part of the change.)

UI evidence (if applicable)

Not applicable.


🤖 Generated with Claude Code


🔄 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/1621 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 10/23/2026 **Status:** ✅ Merged **Merged:** 10/23/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `chore(long-term-memory)/consolidate-regression-suites` --- ### 📝 Commits (3) - [`ba5729f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/ba5729fa07f82224d13b6bdc176883de5c38fb73) test(long-term-memory): split Engine-free regressions into a parallel CI job (#1618) - [`667917e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/667917e5a2d6fcf868f8c9213edc97c741ae296e) test(long-term-memory): merge regression files and remove verified duplicate checks (#1618) - [`5d24a60`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5d24a60a9e50306c7dda296debab2dfb90794182) Merge branch 'staging' into chore(long-term-memory)/consolidate-regression-suites ### 📊 Changes **15 files changed** (+596 additions, -657 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ltm-browser.yml` (+35 -7) 📝 `tests/README.md` (+55 -16) 📝 `tests/long-term-memory-browser.regression.ts` (+3 -81) 📝 `tests/long-term-memory-candidate-reconciliation.regression.ts` (+351 -1) 📝 `tests/long-term-memory-feedback-clarity-ui.regression.mjs` (+57 -5) ➖ `tests/long-term-memory-lifecycle.regression.ts` (+0 -15) ➖ `tests/long-term-memory-loading.regression.mjs` (+0 -76) ➖ `tests/long-term-memory-reconciliation-recall.regression.ts` (+0 -358) ➖ `tests/long-term-memory-routes-drafts.regression.ts` (+0 -6) ➖ `tests/long-term-memory-routes-notes.regression.ts` (+0 -6) 📝 `tests/long-term-memory-routes.regression.ts` (+4 -4) 📝 `tests/long-term-memory-runtime.regression.ts` (+1 -16) 📝 `tests/long-term-memory-scope-fallback-labels.regression.ts` (+19 -2) 📝 `tests/long-term-memory-source-pagination.regression.ts` (+71 -1) 📝 `tests/long-term-memory-storage.regression.ts` (+0 -63) </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 #1618 ## Why this change The `tests/long-term-memory-*` regression files had overlapping coverage and thin wrapper files. Engine-free suites ran in the Engine/Playwright CI job, and the `tests/README.md` run instructions were stale. This splits the run topology and removes duplicated checks, keeping any check that has no clear surviving pair. ## What changed Test-only. No package payload, manifest, artifact, or catalog output changes. Two independently revertible commits: 1. `run topology and cleanup` - New Engine-free `ltm-node` CI job that needs only `npm ci` and `npx tsx`. It runs `candidate-reconciliation conversation-summary-import debug-log delta-review extraction-graph extraction-reliability local-characters rebuild-job runtime`, plus `loading` until commit 2 folds it away. - The Engine job keeps `storage branch-recall engine-fields routes routes-imports routes-scope-identity routes-backup installation host-styles`. `storage`, `branch-recall` and `engine-fields` import Engine sources, so they cannot move. - Deleted the `routes-notes`, `routes-drafts` and `lifecycle` wrapper files. `routes-imports` stays because it seeds its own state and asserts `freshness === "current"`, which only it checks. - Removed dead bootstrap code in the browser and runtime suites, and rewrote the `tests/README.md` run instructions and ownership table. 2. `merges and verified duplicate removals` - Folded `reconciliation-recall` into `candidate-reconciliation` and `loading` into `feedback-clarity-ui`. - Moved the note-paging and localized-label blocks into `source-pagination` and `scope-fallback-labels`. - Added a "Phase 6" table to `tests/README.md` with the surviving check for each removal. - Kept, rather than deleted: the `engine.min === "2.4.1"` assert, the `Misc Agents for Conversation` negative assert, the `loadTrustedLtmSubjectCatalog` separation assert, and several feedback-clarity rows with no clear surviving pair. `index-keys` is not in `ltm-browser.yml`: it already runs through `npm run test:security` in PR checks. ## Package and security impact - Affected package IDs: none - Engine compatibility impact: none - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none. CI workflow job split only. ## Validation <!-- These are human tasks. Never tick a box for a check that was not actually performed. --> - [ ] `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 Run by the authoring agent, not ticked above because they are for a human to confirm. The branch is rebased onto `upstream/staging` at `9f8a5d81a`; the first attempt was written on a stale base and was redone. - Every suite exited 0 before and after the change. Engine-free suites ran with `npx tsx` and `MARINARA_ENGINE_ROOT` pointing nowhere; the Engine suites and the browser suite ran through `test-ltm.sh` against a local Engine checkout. - `npm run check`, `test-catalog-lanes.mjs`, `validate-package-locales.mjs`, `validate-catalog.mjs`, `catalog-release-notes.regression.mjs`, `typecheck-packages.mjs long-term-memory` and `git diff --check` pass. - Not verified: the new `ltm-node` job has not run on a hosted runner, and the local Engine checkout may differ from Engine `staging`. ## Documentation impact - [x] No documentation changes needed (`tests/README.md` is updated as part of the change.) ## UI evidence (if applicable) Not applicable. --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-25 04:02:17 +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#1629
No description provided.