Skip to content

feat(fmt): cache check and list results - #225

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/feat-fmt-check-cache
Aug 6, 2026
Merged

feat(fmt): cache check and list results#225
chenjiahan merged 1 commit into
mainfrom
chenjiahan/feat-fmt-check-cache

Conversation

@chenjiahan

@chenjiahan chenjiahan commented Aug 6, 2026

Copy link
Copy Markdown
Member

Summary

  • add an internal persistent cache path for rs fmt check and list modes without enabling it in the CLI yet
  • read, SHA-256 hash, and decode each cacheable file once inside bounded workers
  • cache both clean and dirty results so warm hits skip formatter, plugin, and parser loading
  • apply ordered cache updates and save the store once in the runner

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: e711183
Status: ✅  Deploy successful!
Preview URL: https://24d75330.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-feat-fmt-check-ca.rstack-cli.pages.dev

View logs

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e711183b15

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/rstack/src/fmt/worker.ts
@chenjiahan
chenjiahan merged commit 30e8fbd into main Aug 6, 2026
4 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/feat-fmt-check-cache branch August 6, 2026 14:44
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