Skip to content

chore(aws-serverless): Fix local cache issues#19081

Merged
JPeer264 merged 1 commit intodevelopfrom
jp/fix-build
Jan 29, 2026
Merged

chore(aws-serverless): Fix local cache issues#19081
JPeer264 merged 1 commit intodevelopfrom
jp/fix-build

Conversation

@JPeer264
Copy link
Member

Most of the times @sentry/aws-serverless:build:transpile was failing locally:

Screenshot 2026-01-29 at 12 24 00

I now had some time to investigate on it. It seems that the caching is sometimes not working pretty nicely with yarn if you have add another working directory. With the power of --cache-folder we can temporarily give another cache folder and mitigate the problem.

In total the fix is not ideal and more of a band-aid solution. If there are other ideas I'm fully up for it.

@JPeer264 JPeer264 self-assigned this Jan 29, 2026
@JPeer264 JPeer264 merged commit e80a940 into develop Jan 29, 2026
43 checks passed
@JPeer264 JPeer264 deleted the jp/fix-build branch January 29, 2026 12:39
This was referenced Feb 2, 2026
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