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

fix: PVCSize resets to default with futureproofing #1771

Merged
merged 1 commit into from
Jun 5, 2023

Conversation

lkingland
Copy link
Member

Refactors PVCSize to treat the Function member as a custom setting, and the in-code constant as the default.

  • 🐛 Fixes a bug where the PVCSize would reset to the default on deploy
  • 🎁 Allows the default to be changed by future func version, only pinning the value if explicitly requested by the user.

/kind bug

- Fixes a bug where volume size for remote builds was sometimes not respected

Refactors PVCSize to treat the Function member as a custom setting,
and the in-code constant as the default.

- Fixes a bug where the PVCSize would reset to the default on deploy
- Allows the default to be changed by future func version, only pinning
  the value if explicitly requested by the user.
@knative-prow knative-prow bot added kind/bug Categorizes issue or PR as related to a bug. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jun 5, 2023
@codecov
Copy link

codecov bot commented Jun 5, 2023

Codecov Report

Patch coverage: 60.00% and project coverage change: +0.23 🎉

Comparison is base (fea4a72) 62.04% compared to head (9727ffc) 62.28%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1771      +/-   ##
==========================================
+ Coverage   62.04%   62.28%   +0.23%     
==========================================
  Files         100      100              
  Lines       13311    13312       +1     
==========================================
+ Hits         8259     8291      +32     
+ Misses       4253     4226      -27     
+ Partials      799      795       -4     
Flag Coverage Δ
e2e-test 37.92% <45.00%> (-0.03%) ⬇️
e2e-test-oncluster 33.49% <55.00%> (-0.02%) ⬇️
e2e-test-oncluster-runtime 28.79% <55.00%> (?)
e2e-test-runtime-go 27.34% <45.00%> (?)
e2e-test-runtime-node 28.51% <45.00%> (?)
e2e-test-runtime-python 28.51% <45.00%> (?)
e2e-test-runtime-quarkus 28.64% <45.00%> (?)
e2e-test-runtime-springboot 27.58% <45.00%> (?)
e2e-test-runtime-typescript 28.64% <45.00%> (?)
integration-tests 47.85% <60.00%> (+0.01%) ⬆️
unit-tests-macos-latest 49.25% <60.00%> (?)
unit-tests-ubuntu-latest 49.96% <60.00%> (-0.15%) ⬇️
unit-tests-windows-latest 49.33% <60.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
cmd/deploy.go 75.10% <50.00%> (-0.52%) ⬇️
pkg/pipelines/tekton/pipeplines_provider.go 56.60% <50.00%> (+0.27%) ⬆️
pkg/functions/function.go 83.49% <100.00%> (+0.05%) ⬆️

... and 5 files with indirect coverage changes

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

@lkingland lkingland requested review from lance, salaboy, zroubalik, aslom and matejvasek and removed request for jrangelramos and nainaz June 5, 2023 02:48
@lkingland lkingland added this to the Release 1.11 milestone Jun 5, 2023
Copy link
Contributor

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Jun 5, 2023
@knative-prow
Copy link

knative-prow bot commented Jun 5, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lkingland, zroubalik

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [lkingland,zroubalik]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants