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

[Function-NoOp] Enable Skipping NoOp Deploys by Default #5032

Merged
merged 2 commits into from Sep 29, 2022

Conversation

TheIronDev
Copy link
Contributor

Description

This commit flips the "skip no-op deploys" flag to default to true.

When enabled, firebase deploy will compare the last deployed instances of a function with the current copy and, if they are the same, will skip uploading and deploying the function.

@codecov-commenter
Copy link

codecov-commenter commented Sep 28, 2022

Codecov Report

Base: 55.89% // Head: 55.88% // Decreases project coverage by -0.00% ⚠️

Coverage data is based on head (cd91d4b) compared to base (c3ec450).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5032      +/-   ##
==========================================
- Coverage   55.89%   55.88%   -0.01%     
==========================================
  Files         305      305              
  Lines       20351    20347       -4     
  Branches     4100     4099       -1     
==========================================
- Hits        11375    11371       -4     
- Misses       8021     8022       +1     
+ Partials      955      954       -1     
Impacted Files Coverage Δ
src/deploy/functions/prepare.ts 29.84% <0.00%> (-0.21%) ⬇️
src/deploy/functions/release/planner.ts 87.21% <ø> (-0.19%) ⬇️
src/experiments.ts 54.83% <0.00%> (-3.23%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

@bkendall
Copy link
Contributor

Add a CHANGELOG entry, please.

@TheIronDev TheIronDev force-pushed the tystark.noop-functions-deploy-default branch from 00af952 to cd91d4b Compare September 29, 2022 19:10
@TheIronDev TheIronDev enabled auto-merge (squash) September 29, 2022 19:13
@TheIronDev TheIronDev merged commit cadc9ef into master Sep 29, 2022
christhompsongoogle pushed a commit that referenced this pull request Sep 30, 2022
## Description

This commit flips the "skip no-op deploys" flag to default to true.

When enabled, firebase deploy will compare the last deployed instances of a function with the current copy and, if they are the same, will skip uploading and deploying the function.
@bkendall bkendall deleted the tystark.noop-functions-deploy-default branch October 25, 2022 21:56
@bkendall bkendall restored the tystark.noop-functions-deploy-default branch October 25, 2022 21:56
@bkendall bkendall deleted the tystark.noop-functions-deploy-default branch October 25, 2022 21:56
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.

None yet

4 participants