Skip to content

fix(fmt): bypass cache for Tailwind plugin files - #632

Merged
chenjiahan merged 3 commits into
mainfrom
chenjiahan/fix-fmt-tailwind-cache
Nov 12, 2026
Merged

chenjiahan merged 3 commits into
mainfrom
chenjiahan/fix-fmt-tailwind-cache

Conversation

@chenjiahan

@chenjiahan chenjiahan commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Motivation

Changes to Tailwind stylesheets or configuration can affect class sorting without changing the formatted file or its options, causing cached checks and writes to miss formatting changes. Addresses the Tailwind case in #609.

Changes

Skip persistent caching for files whose final options include prettier-plugin-tailwindcss, identified by its resolved package metadata. Other files and plugins retain their existing cache behavior.

Add one regression test covering stylesheet changes, check/write behavior, and caching for files outside the plugin override. Documentation is covered separately in #633.

Validated with pnpm build, pnpm --filter rstack build:native, pnpm test (442 passed, 1 skipped), and pnpm check. The regression test fails before the fix and passes afterward.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T06:37:49.584430Z 50fe121 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 50fe121
Status: ✅  Deploy successful!
Preview URL: https://6a3dc93e.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-fix-fmt-tailwind.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan merged commit 3493a4e into main Nov 12, 2026
5 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/fix-fmt-tailwind-cache branch November 12, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant