[PR #1380] [MERGED] chore(long-term-memory): gate LTM UI changes on the browser test in CI (#1373) #1426

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

📋 Pull Request Information

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

Base: staging ← Head: chore(long-term-memory)/1373-ci-browser-gate


📝 Commits (3)

  • a2a9edb chore(long-term-memory): gate LTM UI changes on the browser test in CI (#1373)
  • a13f668 Merge remote-tracking branch 'upstream/staging' into chore(long-term-memory)/1373-ci-browser-gate
  • 85b0152 Merge remote-tracking branch 'upstream/staging' into chore(long-term-memory)/1373-ci-browser-gate

📊 Changes

5 files changed (+123 additions, -130 deletions)

View changed files

➕ .github/workflows/ltm-browser.yml (+64 -0)
📝 .github/workflows/pull-request-checks.yml (+9 -0)
📝 tests/long-term-memory-feedback-clarity-ui.regression.mjs (+17 -110)
📝 tests/long-term-memory-loading.regression.mjs (+6 -20)
➕ tests/long-term-memory-source-paths.mjs (+27 -0)

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

Why this change

  • Long-Term Memory UI changes can merge today without the real browser test running anywhere in CI. The only LTM UI test in CI checks source text, so a broken screen passes review unless someone runs the browser test by hand.
  • Policy note for the maintainer: #763 was closed on 2026-09-09 with LTM CI gating kept local-only by maintainer direction. This PR reverses that by adding a hosted LTM browser job. If local-only gating should stay, this PR can shrink to the shared source-path map and the Engine-free tests, or close.

What changed

  • New .github/workflows/ltm-browser.yml, copied from calls-browser.yml with the same pinned action SHAs, permissions: contents: read, persist-credentials: false and a 15-minute timeout. It runs tests/long-term-memory-browser.regression.ts against Engine staging on PRs that touch packages/long-term-memory/**, the LTM artifact, tests/long-term-memory-*, tests/engine-visual-styles.ts, tests/regression-helpers.{ts,mjs} or the workflow itself.
    • It drops the Agents npm ci and trace upload from the Calls template. The test loads tsx, Playwright, Vite and Tailwind from the Engine checkout and writes no test-results/.
  • pull-request-checks.yml: a new step runs the six Engine-free LTM regressions (scope-targets, scope-fallback-labels, review-queue-ambiguous-link, source-task, source-pagination, debug-activity) with npx tsx.
  • New tests/long-term-memory-source-paths.mjs: one path map shared by the two source-text tests (feedback-clarity-ui, loading), so a moved file fails loudly instead of being read from a stale path. No assertion changed: the assert. lines are byte-identical before and after.
  • No package, manifest, artifact or catalog change.

Package and security impact

  • Affected package IDs: none (CI and tests only; exercises long-term-memory 1.4.33 as published on staging).
  • Engine compatibility impact: none.
  • New or changed permissions/entrypoints: one new workflow with read-only contents permission, triggered by pull_request (not pull_request_target), with no ${{ }} expressions inside run:.
  • Restart, storage, update, or uninstall impact: none.

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

Agent-run on head 85b0152c3 (after merging staging 162cbb8c0, which brought in LTM 1.4.32 and 1.4.33). Node v24.15.0. All exited 0:

  • the six Engine-free LTM regressions, run with the same npx tsx commands as the new CI step
  • node tests/long-term-memory-feedback-clarity-ui.regression.mjs and node tests/long-term-memory-loading.regression.mjs
  • the LTM browser regression ran locally on the earlier head a13f6684f (Engine 2.5.0, 56 s); on this head it is left to the hosted ltm-browser job
  • node scripts/validate-pr-triage.mjs
  • npm run check (0 errors; existing warnings only)
  • node scripts/test-catalog-lanes.mjs, validate-package-locales.mjs, validate-catalog.mjs, tests/catalog-release-notes.regression.mjs
  • git diff --check

Hosted: both workflows passed on a13f6684f (Long-Term Memory package browser against Engine staging, and Catalog validation with the new Engine-free step). Not verified here: hosted runs on 85b0152c3, and whether the new job should be a required check (it is not required today).

Documentation impact

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

UI evidence (if applicable)

Not applicable (CI and tests only).

🤖 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/1380 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 10/14/2026 **Status:** ✅ Merged **Merged:** 10/14/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `chore(long-term-memory)/1373-ci-browser-gate` --- ### 📝 Commits (3) - [`a2a9edb`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a2a9edbf0512d2e2b3035be99f2c454a33a74c0a) chore(long-term-memory): gate LTM UI changes on the browser test in CI (#1373) - [`a13f668`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a13f6684ff01dd4019dc0db8293509628abb8a4a) Merge remote-tracking branch 'upstream/staging' into chore(long-term-memory)/1373-ci-browser-gate - [`85b0152`](https://github.com/Pasta-Devs/Marinara-Agents/commit/85b0152c3b9deda3a7eede0faf60e81942b92210) Merge remote-tracking branch 'upstream/staging' into chore(long-term-memory)/1373-ci-browser-gate ### 📊 Changes **5 files changed** (+123 additions, -130 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/ltm-browser.yml` (+64 -0) 📝 `.github/workflows/pull-request-checks.yml` (+9 -0) 📝 `tests/long-term-memory-feedback-clarity-ui.regression.mjs` (+17 -110) 📝 `tests/long-term-memory-loading.regression.mjs` (+6 -20) ➕ `tests/long-term-memory-source-paths.mjs` (+27 -0) </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 #1373 ## Why this change - Long-Term Memory UI changes can merge today without the real browser test running anywhere in CI. The only LTM UI test in CI checks source text, so a broken screen passes review unless someone runs the browser test by hand. - **Policy note for the maintainer:** #763 was closed on 2026-09-09 with LTM CI gating kept local-only by maintainer direction. This PR reverses that by adding a hosted LTM browser job. If local-only gating should stay, this PR can shrink to the shared source-path map and the Engine-free tests, or close. ## What changed - New `.github/workflows/ltm-browser.yml`, copied from `calls-browser.yml` with the same pinned action SHAs, `permissions: contents: read`, `persist-credentials: false` and a 15-minute timeout. It runs `tests/long-term-memory-browser.regression.ts` against Engine `staging` on PRs that touch `packages/long-term-memory/**`, the LTM artifact, `tests/long-term-memory-*`, `tests/engine-visual-styles.ts`, `tests/regression-helpers.{ts,mjs}` or the workflow itself. - It drops the Agents `npm ci` and trace upload from the Calls template. The test loads tsx, Playwright, Vite and Tailwind from the Engine checkout and writes no `test-results/`. - `pull-request-checks.yml`: a new step runs the six Engine-free LTM regressions (scope-targets, scope-fallback-labels, review-queue-ambiguous-link, source-task, source-pagination, debug-activity) with `npx tsx`. - New `tests/long-term-memory-source-paths.mjs`: one path map shared by the two source-text tests (`feedback-clarity-ui`, `loading`), so a moved file fails loudly instead of being read from a stale path. No assertion changed: the `assert.` lines are byte-identical before and after. - No package, manifest, artifact or catalog change. ## Package and security impact - Affected package IDs: none (CI and tests only; exercises `long-term-memory` 1.4.33 as published on `staging`). - Engine compatibility impact: none. - New or changed permissions/entrypoints: one new workflow with read-only `contents` permission, triggered by `pull_request` (not `pull_request_target`), with no `${{ }}` expressions inside `run:`. - Restart, storage, update, or uninstall impact: none. ## 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 Agent-run on head `85b0152c3` (after merging `staging` 162cbb8c0, which brought in LTM 1.4.32 and 1.4.33). Node v24.15.0. All exited 0: - the six Engine-free LTM regressions, run with the same `npx tsx` commands as the new CI step - `node tests/long-term-memory-feedback-clarity-ui.regression.mjs` and `node tests/long-term-memory-loading.regression.mjs` - the LTM browser regression ran locally on the earlier head `a13f6684f` (Engine 2.5.0, 56 s); on this head it is left to the hosted `ltm-browser` job - `node scripts/validate-pr-triage.mjs` - `npm run check` (0 errors; existing warnings only) - `node scripts/test-catalog-lanes.mjs`, `validate-package-locales.mjs`, `validate-catalog.mjs`, `tests/catalog-release-notes.regression.mjs` - `git diff --check` Hosted: both workflows passed on `a13f6684f` (Long-Term Memory package browser against Engine `staging`, and Catalog validation with the new Engine-free step). Not verified here: hosted runs on `85b0152c3`, and whether the new job should be a required check (it is not required today). ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) Not applicable (CI and tests only). 🤖 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-21 05:11:18 +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#1426
No description provided.