[GH-ISSUE #492] [Test]: compile Tailwind CSS in package visual fixtures #249

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

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

Originally assigned to: @Promansis on GitHub.

What problem does this solve?

Package visual reviews currently use browser fixtures that serve Engine Tailwind source CSS directly. The browser does not process @import "tailwindcss" or @source, so screenshots and visual observations can omit the actual utility layout and styling. That makes visual-pass evidence unreliable.

Proposed package or change

Add a reusable test-fixture path that compiles the Engine host stylesheet with the Engine Vite/Tailwind pipeline before serving a package browser fixture. Update the Long-Term Memory visual/lifecycle fixture to use the compiled CSS and document the command and proof boundary for future visual reviews.

Why should this be optional?

This is test infrastructure for downloadable package validation and does not change the runtime package behavior or Engine core.

Alternatives considered

Serving the raw stylesheet was rejected because Tailwind source directives are not browser CSS. Rebuilding the Long-Term Memory package was also insufficient because that package does not embed its own stylesheet.

Additional context

The existing Engine package-style builder already resolves Vite and @tailwindcss/vite from the neighboring Engine checkout. The implementation should reuse those dependencies and avoid changing generated package outputs.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Aug 22, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/492 Originally assigned to: @Promansis on GitHub. ## What problem does this solve? Package visual reviews currently use browser fixtures that serve Engine Tailwind source CSS directly. The browser does not process `@import "tailwindcss"` or `@source`, so screenshots and visual observations can omit the actual utility layout and styling. That makes visual-pass evidence unreliable. ## Proposed package or change Add a reusable test-fixture path that compiles the Engine host stylesheet with the Engine Vite/Tailwind pipeline before serving a package browser fixture. Update the Long-Term Memory visual/lifecycle fixture to use the compiled CSS and document the command and proof boundary for future visual reviews. ## Why should this be optional? This is test infrastructure for downloadable package validation and does not change the runtime package behavior or Engine core. ## Alternatives considered Serving the raw stylesheet was rejected because Tailwind source directives are not browser CSS. Rebuilding the Long-Term Memory package was also insufficient because that package does not embed its own stylesheet. ## Additional context The existing Engine package-style builder already resolves Vite and `@tailwindcss/vite` from the neighboring Engine checkout. The implementation should reuse those dependencies and avoid changing generated package outputs. ## Template check - [ ] 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#249
No description provided.