[GH-ISSUE #1373] [Issue]: Long-Term Memory UI changes merge without the browser test, and the only CI UI test checks source text #701

Closed
opened 2026-10-20 17:29:52 +07:00 by bsakaguchi · 0 comments
Owner

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

Originally assigned to: @Promansis on GitHub.

Summary

No CI job runs the Long-Term Memory browser test or the six LTM tests that need no Engine. The only LTM UI test in CI, tests/long-term-memory-feedback-clarity-ui.regression.mjs, makes 430 regex assertions against source text read from 15 fixed file paths. It fails on harmless file moves and passes on real breakage. The browser test stayed red for five releases (1.4.7 to 1.4.11) before anyone ran it.

This revisits #763, which was closed on 2026-09-09 with LTM gating kept local by maintainer direction. Since then Calls gained a hosted browser job (calls-browser.yml, 2026-09-19) alongside Noodle's, and other packages add their tests to pull-request-checks.yml. LTM is now the only package with a browser test that CI never runs.

Affected package

long-term-memory 1.4.31 and repository CI:

  • .github/workflows/pull-request-checks.yml:140-141 runs only feedback-clarity-ui for LTM
  • tests/long-term-memory-feedback-clarity-ui.regression.mjs: 15 fixed-path reads, 430 assert.match / assert.doesNotMatch
  • tests/long-term-memory-loading.regression.mjs: 4 fixed-path reads, 28 regexes
  • tests/long-term-memory-browser.regression.ts

Expected behavior

  1. A pull request that changes packages/long-term-memory/** runs the LTM browser test against an Engine staging checkout, as noodle-browser.yml and calls-browser.yml do for their packages.
  2. pull-request-checks.yml runs the six LTM tests that need no Engine: scope-targets, scope-fallback-labels, review-queue-ambiguous-link, source-task, source-pagination and debug-activity.
  3. feedback-clarity-ui and loading read source files through one path map, so moving a file changes one line in the tests.

Actual behavior

  1. Behavioral regressions surface only when someone runs the browser test locally.
  2. The six Engine-free tests pass with no Engine present, but CI never runs them.
  3. The source-text test asserts, for example, /function SourceOperationWorkbench/ (:621) and /const sourceCheckboxClass = "size-6 shrink-0 accent-/ (:634). The Engine stylesheet doesn't serve size-6, so this check passes on a checkbox that renders at native size.

Steps to reproduce

  1. List the LTM steps in .github/workflows/pull-request-checks.yml: only feedback-clarity-ui runs.
  2. Move SourcesWorkspace.tsx into a subfolder and fix its imports: the package builds, and feedback-clarity-ui fails on the missing path.
  3. Run the six Engine-free tests with MARINARA_ENGINE_ROOT pointing at a missing directory: all pass.

Environment

  • Marinara Engine version: 2.5.0 line (staging)
  • Package version: long-term-memory 1.4.31 (upstream/staging 39a5c5cfb; LTM files unchanged since cdb583a95)
  • Install type: source (code audit plus the package's browser regression harness)
  • OS + version: not platform-specific
  • Browser or app shell: any

Logs, screenshots, or video

At cdb583a95 the browser scenario, the storage test, the six Engine-free tests, feedback-clarity-ui and loading all pass locally.

Minimal fix

  1. pull-request-checks.yml: add one step beside the existing feedback-clarity-ui step that runs the six Engine-free tests, the same way Calls and Memory Nag tests run:
    npx tsx tests/long-term-memory-scope-targets.regression.ts
    npx tsx tests/long-term-memory-scope-fallback-labels.regression.ts
    npx tsx tests/long-term-memory-review-queue-ambiguous-link.regression.ts
    npx tsx tests/long-term-memory-source-task.regression.ts
    npx tsx tests/long-term-memory-source-pagination.regression.ts
    npx tsx tests/long-term-memory-debug-activity.regression.ts
    
  2. Add .github/workflows/ltm-browser.yml, copied from calls-browser.yml (Engine staging checkout step at :36-40). Change only the path filter (packages/long-term-memory/**, tests/long-term-memory-*) and the test command (tests/long-term-memory-browser.regression.ts).
  3. Add one module, for example tests/long-term-memory-source-paths.mjs, that exports the 15 + 4 source paths as named constants. feedback-clarity-ui and loading import their paths from it instead of building them inline. No assertion changes.

Tests and CI only: no package rebuild, no version bump.

Additional context

This goes first: the planned folder moves (#1376) depend on step 3, and the browser job protects every later LTM UI change.

Related: #763, #754.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Oct 14, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1373 Originally assigned to: @Promansis on GitHub. ## Summary No CI job runs the Long-Term Memory browser test or the six LTM tests that need no Engine. The only LTM UI test in CI, `tests/long-term-memory-feedback-clarity-ui.regression.mjs`, makes 430 regex assertions against source text read from 15 fixed file paths. It fails on harmless file moves and passes on real breakage. The browser test stayed red for five releases (1.4.7 to 1.4.11) before anyone ran it. This revisits #763, which was closed on 2026-09-09 with LTM gating kept local by maintainer direction. Since then Calls gained a hosted browser job (`calls-browser.yml`, 2026-09-19) alongside Noodle's, and other packages add their tests to `pull-request-checks.yml`. LTM is now the only package with a browser test that CI never runs. ## Affected package `long-term-memory` 1.4.31 and repository CI: - `.github/workflows/pull-request-checks.yml:140-141` runs only `feedback-clarity-ui` for LTM - `tests/long-term-memory-feedback-clarity-ui.regression.mjs`: 15 fixed-path reads, 430 `assert.match` / `assert.doesNotMatch` - `tests/long-term-memory-loading.regression.mjs`: 4 fixed-path reads, 28 regexes - `tests/long-term-memory-browser.regression.ts` ## Expected behavior 1. A pull request that changes `packages/long-term-memory/**` runs the LTM browser test against an Engine `staging` checkout, as `noodle-browser.yml` and `calls-browser.yml` do for their packages. 2. `pull-request-checks.yml` runs the six LTM tests that need no Engine: scope-targets, scope-fallback-labels, review-queue-ambiguous-link, source-task, source-pagination and debug-activity. 3. `feedback-clarity-ui` and `loading` read source files through one path map, so moving a file changes one line in the tests. ## Actual behavior 1. Behavioral regressions surface only when someone runs the browser test locally. 2. The six Engine-free tests pass with no Engine present, but CI never runs them. 3. The source-text test asserts, for example, `/function SourceOperationWorkbench/` (`:621`) and `/const sourceCheckboxClass = "size-6 shrink-0 accent-/` (`:634`). The Engine stylesheet doesn't serve `size-6`, so this check passes on a checkbox that renders at native size. ## Steps to reproduce 1. List the LTM steps in `.github/workflows/pull-request-checks.yml`: only `feedback-clarity-ui` runs. 2. Move `SourcesWorkspace.tsx` into a subfolder and fix its imports: the package builds, and `feedback-clarity-ui` fails on the missing path. 3. Run the six Engine-free tests with `MARINARA_ENGINE_ROOT` pointing at a missing directory: all pass. ## Environment - Marinara Engine version: 2.5.0 line (`staging`) - Package version: long-term-memory 1.4.31 (`upstream/staging` 39a5c5cfb; LTM files unchanged since cdb583a95) - Install type: source (code audit plus the package's browser regression harness) - OS + version: not platform-specific - Browser or app shell: any ## Logs, screenshots, or video At cdb583a95 the browser scenario, the storage test, the six Engine-free tests, `feedback-clarity-ui` and `loading` all pass locally. ## Minimal fix 1. `pull-request-checks.yml`: add one step beside the existing `feedback-clarity-ui` step that runs the six Engine-free tests, the same way Calls and Memory Nag tests run: ``` npx tsx tests/long-term-memory-scope-targets.regression.ts npx tsx tests/long-term-memory-scope-fallback-labels.regression.ts npx tsx tests/long-term-memory-review-queue-ambiguous-link.regression.ts npx tsx tests/long-term-memory-source-task.regression.ts npx tsx tests/long-term-memory-source-pagination.regression.ts npx tsx tests/long-term-memory-debug-activity.regression.ts ``` 2. Add `.github/workflows/ltm-browser.yml`, copied from `calls-browser.yml` (Engine `staging` checkout step at `:36-40`). Change only the path filter (`packages/long-term-memory/**`, `tests/long-term-memory-*`) and the test command (`tests/long-term-memory-browser.regression.ts`). 3. Add one module, for example `tests/long-term-memory-source-paths.mjs`, that exports the 15 + 4 source paths as named constants. `feedback-clarity-ui` and `loading` import their paths from it instead of building them inline. No assertion changes. Tests and CI only: no package rebuild, no version bump. ## Additional context This goes first: the planned folder moves (#1376) depend on step 3, and the browser job protects every later LTM UI change. Related: #763, #754. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:29:52 +07:00
  • closed this issue
  • added the
    bug
    label
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#701
No description provided.