[GH-ISSUE #1618] [Feature]: Consolidate the Long-Term Memory regression tests #1593

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

Originally created by @Promansis on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1618

Originally assigned to: @Promansis on GitHub.

What problem does this solve?

The 31 tests/long-term-memory-* regression files have overlapping coverage and a few thin wrapper files. Every suite runs in the Engine/Playwright CI job even when it needs no Engine, so the Engine-free suites pay for a browser setup they don't use. A few files also carry dead bootstrap code, and the tests/README.md run instructions are stale.

Proposed package or change

A test-only change to tests/, tests/README.md and .github/workflows/ltm-browser.yml. It changes no package payload, manifest, permission, entrypoint, or generated output.

It lands as two independently revertible commits:

  1. Run topology and cleanup
    • Add an 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, storage and runtime.
    • Keep the Engine/Playwright job for routes, routes-scope-identity, routes-backup, installation and host-styles.
    • Delete the routes-notes, routes-imports, routes-drafts and lifecycle wrapper files. Their scenarios become routes scenarios.
    • Remove dead bootstrap code from the browser and runtime suites, and rewrite the run instructions and ownership table in tests/README.md.
  2. Merges and verified duplicate removals
    • Fold reconciliation-recall into candidate-reconciliation and loading into feedback-clarity-ui.
    • Move the note-paging, localized-label and api.ts blocks into the suites that already cover them.
    • Remove a check only when a surviving check exercises the same inputs. tests/README.md gets a "Phase 6" table recording the evidence for each removal. A check with no clear surviving pair stays.

Why should this be optional?

It is repository test maintenance, not a downloadable package, so it never reaches the catalog or the Engine.

Alternatives considered

  • Leave the suites as they are. This keeps the duplicated coverage and keeps running Engine-free suites in the heavier Engine job.
  • Delete every check the plan lists. Some listed checks have no clear surviving pair in this fork (engine.min, the Misc Agents for Conversation negative assert, several feedback-clarity rows), so those stay.

Additional context

  • The Engine-free suites passed with npx tsx. storage expects EACCES from chmod 0o500, so it must run as a non-root user.
  • The Engine-dependent suites (browser routes routes-scope-identity routes-backup installation host-styles) need Marinara Engine and Playwright and need a local run before merge.
  • Implementation PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1621, branch chore(long-term-memory)/consolidate-regression-suites.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1618 Originally assigned to: @Promansis on GitHub. ## What problem does this solve? The 31 `tests/long-term-memory-*` regression files have overlapping coverage and a few thin wrapper files. Every suite runs in the Engine/Playwright CI job even when it needs no Engine, so the Engine-free suites pay for a browser setup they don't use. A few files also carry dead bootstrap code, and the `tests/README.md` run instructions are stale. ## Proposed package or change A test-only change to `tests/`, `tests/README.md` and `.github/workflows/ltm-browser.yml`. It changes no package payload, manifest, permission, entrypoint, or generated output. It lands as two independently revertible commits: 1. **Run topology and cleanup** - Add an 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`, `storage` and `runtime`. - Keep the Engine/Playwright job for `routes`, `routes-scope-identity`, `routes-backup`, `installation` and `host-styles`. - Delete the `routes-notes`, `routes-imports`, `routes-drafts` and `lifecycle` wrapper files. Their scenarios become `routes` scenarios. - Remove dead bootstrap code from the browser and runtime suites, and rewrite the run instructions and ownership table in `tests/README.md`. 2. **Merges and verified duplicate removals** - Fold `reconciliation-recall` into `candidate-reconciliation` and `loading` into `feedback-clarity-ui`. - Move the note-paging, localized-label and api.ts blocks into the suites that already cover them. - Remove a check only when a surviving check exercises the same inputs. `tests/README.md` gets a "Phase 6" table recording the evidence for each removal. A check with no clear surviving pair stays. ## Why should this be optional? It is repository test maintenance, not a downloadable package, so it never reaches the catalog or the Engine. ## Alternatives considered - **Leave the suites as they are.** This keeps the duplicated coverage and keeps running Engine-free suites in the heavier Engine job. - **Delete every check the plan lists.** Some listed checks have no clear surviving pair in this fork (`engine.min`, the `Misc Agents for Conversation` negative assert, several feedback-clarity rows), so those stay. ## Additional context - The Engine-free suites passed with `npx tsx`. `storage` expects `EACCES` from `chmod 0o500`, so it must run as a non-root user. - The Engine-dependent suites (`browser routes routes-scope-identity routes-backup installation host-styles`) need Marinara Engine and Playwright and need a local run before merge. - Implementation PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1621, branch `chore(long-term-memory)/consolidate-regression-suites`. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
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#1593
No description provided.