[PR #495] [MERGED] test(long-term-memory): compile visual fixture styles #996

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

📋 Pull Request Information

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

Base: staging ← Head: chore(test)/compiled-tailwind-visual-fixtures


📝 Commits (2)

  • 55baae8 test(long-term-memory): compile visual fixture styles
  • 02f2773 Merge branch 'staging' into chore(test)/compiled-tailwind-visual-fixtures

📊 Changes

3 files changed (+86 additions, -16 deletions)

View changed files

📝 tests/README.md (+20 -0)
➕ tests/engine-visual-styles.ts (+46 -0)
📝 tests/long-term-memory-lifecycle.regression.ts (+20 -16)

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

Why this change

  • Package visual fixtures served Engine's raw Tailwind source stylesheet, so browser screenshots could omit utility layout and styling while appearing to be valid visual evidence.

What changed

  • Added a reusable helper that compiles Engine globals.css with Engine's installed Vite and Tailwind plugin and fails if Tailwind directives remain.
  • Updated the Long-Term Memory lifecycle fixture to serve compiled CSS and optionally capture mobile and desktop review queue screenshots through MARINARA_VISUAL_OUTPUT_DIR.
  • Documented the compiled-style visual review command and reuse contract.

Package and security impact

  • Affected package IDs: Long-Term Memory test fixture only
  • Engine compatibility impact: none; uses the neighboring Engine checkout's installed build toolchain
  • New or changed permissions/entrypoints: none
  • 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

  • Ran npm run check successfully with 70 existing warnings and no errors.
  • Ran catalog lane, package locale, and catalog validation successfully.
  • Ran the Engine-backed Long-Term Memory lifecycle regression against the exact 1.2.10 artifact with compiled Tailwind CSS; install, offline restart, backup inclusion, uninstall, reinstall, durable-byte preservation, and browser assertions passed.
  • Captured compiled-style review queue screenshots at 390x844 and 1280x900 through MARINARA_VISUAL_OUTPUT_DIR.

Documentation impact

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

UI evidence (if applicable)

No package UI behavior changed. This PR makes future UI evidence authoritative by compiling the host Tailwind stylesheet before Chromium runs.

Summary by CodeRabbit

  • Tests

    • Improved Long-Term Memory lifecycle validation with compiled visual styles.
    • Added checks to ensure Tailwind directives are processed correctly.
    • Added optional desktop and mobile screenshot capture for visual review.
    • Strengthened text and keyboard interaction assertions in regression coverage.
  • Documentation

    • Added guidance for validating compiled styles and reviewing generated screenshots.

🔄 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/495 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 8/22/2026 **Status:** ✅ Merged **Merged:** 8/23/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `chore(test)/compiled-tailwind-visual-fixtures` --- ### 📝 Commits (2) - [`55baae8`](https://github.com/Pasta-Devs/Marinara-Agents/commit/55baae8ef760bce7ed1995e03e98222613fe9a33) test(long-term-memory): compile visual fixture styles - [`02f2773`](https://github.com/Pasta-Devs/Marinara-Agents/commit/02f2773fd0f230866b3f4ac515abf2b103c98b96) Merge branch 'staging' into chore(test)/compiled-tailwind-visual-fixtures ### 📊 Changes **3 files changed** (+86 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `tests/README.md` (+20 -0) ➕ `tests/engine-visual-styles.ts` (+46 -0) 📝 `tests/long-term-memory-lifecycle.regression.ts` (+20 -16) </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 #492 ## Why this change - Package visual fixtures served Engine's raw Tailwind source stylesheet, so browser screenshots could omit utility layout and styling while appearing to be valid visual evidence. ## What changed - Added a reusable helper that compiles Engine `globals.css` with Engine's installed Vite and Tailwind plugin and fails if Tailwind directives remain. - Updated the Long-Term Memory lifecycle fixture to serve compiled CSS and optionally capture mobile and desktop review queue screenshots through `MARINARA_VISUAL_OUTPUT_DIR`. - Documented the compiled-style visual review command and reuse contract. ## Package and security impact - Affected package IDs: Long-Term Memory test fixture only - Engine compatibility impact: none; uses the neighboring Engine checkout's installed build toolchain - New or changed permissions/entrypoints: none - 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 - Ran `npm run check` successfully with 70 existing warnings and no errors. - Ran catalog lane, package locale, and catalog validation successfully. - Ran the Engine-backed Long-Term Memory lifecycle regression against the exact 1.2.10 artifact with compiled Tailwind CSS; install, offline restart, backup inclusion, uninstall, reinstall, durable-byte preservation, and browser assertions passed. - Captured compiled-style review queue screenshots at 390x844 and 1280x900 through `MARINARA_VISUAL_OUTPUT_DIR`. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) No package UI behavior changed. This PR makes future UI evidence authoritative by compiling the host Tailwind stylesheet before Chromium runs. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Tests** * Improved Long-Term Memory lifecycle validation with compiled visual styles. * Added checks to ensure Tailwind directives are processed correctly. * Added optional desktop and mobile screenshot capture for visual review. * Strengthened text and keyboard interaction assertions in regression coverage. * **Documentation** * Added guidance for validating compiled styles and reviewing generated screenshots. <!-- 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-20 17:33:05 +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#996
No description provided.