-
Notifications
You must be signed in to change notification settings - Fork 5k
chore: copy perform snapshtos on write #38620
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
Conversation
Test results for "MCP"3 failed 2711 passed, 116 skipped Merge workflow run. |
Test results for "tests 1"4 flaky34375 passed, 688 skipped Merge workflow run. |
| cache.newActions[cacheKey] = newEntry; | ||
|
|
||
| if (cacheOutFile) { | ||
| const entries = Object.entries(cache.newActions); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extract repeated code into a function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will follow up
| if (lastModified !== newLastModified) | ||
| await this._storage(storageFile)._upstream(workerFile); | ||
| Storage._workerFiles.delete(workerFile); | ||
| static upstream(storageFile: string, storageOutFile: string) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
storageOutFile => fileWithUpdates
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will follow up
No description provided.