Skip to content

Conversation

@ejizba
Copy link
Contributor

@ejizba ejizba commented Aug 28, 2024

Related to #737

My plan to fix that bug is to skip environment reload if we detect the functionAppDirectory is the same during workerInit and functionEnvironmentReload. However, I want to validate a few assumptions first:

  1. I assume functionAppDirectory is always defined in both workerInit and functionEnvironmentReload
  2. I assume the only time the directories are the same is the edge case mentioned in the bug above

The bug itself is rare, and IMO it would be a big deal if we skip environment reload for apps that still needed it - so that's why I'd rather be careful and add logs before actually making the change.

@ejizba ejizba requested a review from a team as a code owner August 28, 2024 00:10
@ejizba
Copy link
Contributor Author

ejizba commented Sep 9, 2024

ping @gavin-aguiar

@ejizba ejizba merged commit 48d9914 into v3.x Sep 10, 2024
@ejizba ejizba deleted the ej/requirecachev3 branch September 10, 2024 21:19
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.

3 participants