Skip to content

chore: ignore test temp files#885

Merged
9aoy merged 1 commit intomainfrom
test-ignore
Jan 20, 2026
Merged

chore: ignore test temp files#885
9aoy merged 1 commit intomainfrom
test-ignore

Conversation

@9aoy
Copy link
Copy Markdown
Collaborator

@9aoy 9aoy commented Jan 20, 2026

Summary

ignore test temp files.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings January 20, 2026 06:38
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying rstest with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7392fb1
Status: ✅  Deploy successful!
Preview URL: https://fb2a9807.rstest.pages.dev
Branch Preview URL: https://test-ignore.rstest.pages.dev

View logs

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds watch ignore patterns to prevent rspack from watching test temporary files that are created during test execution. The temporary files follow the pattern test-temp-* and are created by tests in the core, adapter-rslib, and adapter-rsbuild packages.

Changes:

  • Added tools.rspack.watchOptions.ignored configuration with the pattern /test-temp-.*/ to three rstest config files
  • This prevents unnecessary file watching and rebuilds when temporary test files are created or modified during test runs

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
packages/core/rstest.config.ts Added watch ignore pattern for test-temp files in the core package
packages/adapter-rslib/rstest.config.ts Added watch ignore pattern for test-temp files in the rslib adapter package
packages/adapter-rsbuild/rstest.config.ts Added watch ignore pattern for test-temp files in the rsbuild adapter package

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@9aoy 9aoy merged commit bfdbef9 into main Jan 20, 2026
16 checks passed
@9aoy 9aoy deleted the test-ignore branch January 20, 2026 06:54
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.

2 participants