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

Run lifecycle hooks for specific codebases #6011

Merged
merged 3 commits into from Jun 20, 2023
Merged

Conversation

blidd-google
Copy link
Contributor

Fixes #6002. Further investigation has surfaced another issue where deploying individual functions specified by the --only flag will not run any predeploy hooks, but will table this issue for another fix.

@codecov-commenter
Copy link

codecov-commenter commented Jun 20, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.01 ⚠️

Comparison is base (17eb321) 55.03% compared to head (eafcde2) 55.02%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6011      +/-   ##
==========================================
- Coverage   55.03%   55.02%   -0.01%     
==========================================
  Files         339      339              
  Lines       23220    23222       +2     
  Branches     4746     4747       +1     
==========================================
  Hits        12779    12779              
- Misses       9311     9313       +2     
  Partials     1130     1130              
Impacted Files Coverage Δ
src/deploy/lifecycleHooks.ts 11.76% <0.00%> (-0.36%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@blidd-google blidd-google enabled auto-merge (squash) June 20, 2023 23:16
@blidd-google blidd-google merged commit c552816 into master Jun 20, 2023
32 of 33 checks passed
@sam-throne
Copy link

The issue with hooks not running when deploying individual functions did not exist before! That's a new regression introduced by this PR

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.

Cloud Function lifecycle hooks don't respect codebase filters
4 participants