Skip to content

[Request]: Generate UI styles once during workspace verification #230

Closed

Description

@jimhoyd

Problem or use case

packages/ui/package.json runs verify as typecheck → build → test. Both typecheck and build invoke styles, so packages/ui/scripts/build-styles.mjs compiles the same minified Tailwind CSS twice per verification.

Source audited: ea05148. Parent audit: #185 (findings). Evidence: verify run, candidate run. Timings describe one run, not a controlled savings benchmark.

Proposed behavior and alternatives

Generate styles once in the composed verification command while preserving independently usable typecheck/build commands. Keep generated styles current for tests and declaration emission. Verify clean-checkout behavior and compare output and timings; do not introduce stale-output caching. Priority: first.

Update the matching repository documentation with any behavior/workflow changes. Preserve required checks and deliberate reproducibility validation. No implementation or deployment changes were made by this audit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions