Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(bundling): ensure vitest timestamp files are ignored #29418

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

Coly010
Copy link
Contributor

@Coly010 Coly010 commented Dec 19, 2024

Current Behavior

Vitest TS config files produce timestamp temp files during project graph creation which are cleaned up.
However, the creation and deletion of these files triggers the daemon to recalculate graph.
It ends up in a loop.
The vite timestamp files were already added to the gitignore to prevent this.

Expected Behavior

Add vitest timestamp files to gitignore

@Coly010 Coly010 requested a review from a team as a code owner December 19, 2024 11:42
@Coly010 Coly010 requested a review from leosvelperez December 19, 2024 11:42
Copy link

vercel bot commented Dec 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Dec 19, 2024 2:24pm

@Coly010 Coly010 self-assigned this Dec 19, 2024
Copy link

nx-cloud bot commented Dec 19, 2024

View your CI Pipeline Execution ↗ for commit 0d42aae.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 7m 46s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 1m 5s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded <1s View ↗
nx-cloud record -- nx format:check --base=2eb52... ✅ Succeeded 17s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 15s View ↗
nx documentation --no-dte ✅ Succeeded 41s View ↗

☁️ Nx Cloud last updated this comment at 2024-12-19 14:35:52 UTC

@Coly010 Coly010 force-pushed the vite/vitest-timestamp-gitignore branch from 2e77ee1 to 0d42aae Compare December 19, 2024 14:22
@Coly010 Coly010 requested a review from a team as a code owner December 19, 2024 14:22
@Coly010 Coly010 requested a review from ndcunningham December 19, 2024 14:22
@Coly010 Coly010 merged commit ba1641d into master Dec 19, 2024
6 checks passed
@Coly010 Coly010 deleted the vite/vitest-timestamp-gitignore branch December 19, 2024 16:04
ndcunningham pushed a commit that referenced this pull request Dec 20, 2024
## Current Behavior
Vitest TS config files produce timestamp temp files during project graph
creation which are cleaned up.
However, the creation and deletion of these files triggers the daemon to
recalculate graph.
It ends up in a loop.
The vite timestamp files were already added to the gitignore to prevent
this.

## Expected Behavior
Add vitest timestamp files to gitignore
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants