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

Add logging to detect if function app dir doesn't change #758

Merged
merged 1 commit into from
Sep 10, 2024

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
14 checks passed
@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.

2 participants