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: dry run from revision application patch error #5246

Merged
merged 1 commit into from
Jan 3, 2023
Merged

Fix: dry run from revision application patch error #5246

merged 1 commit into from
Jan 3, 2023

Conversation

callmeoldprince
Copy link
Contributor

@callmeoldprince callmeoldprince commented Dec 31, 2022

Signed-off-by: old.prince di7zhang@gmail.com

Description of your changes

Fixes:Dry-run from revision application,Problems caused by resource version lower than the current version

I have:

  • Read and followed KubeVela's contribution process.
  • Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Special notes for your reviewer

…sion lower than the current version

Signed-off-by: old.prince <di7zhang@gmail.com>
@callmeoldprince callmeoldprince changed the title Fix:Dry-run from revision application,Problems caused by resource ver… Fix:Dry-run from revision application,patch error Dec 31, 2022
@codecov
Copy link

codecov bot commented Dec 31, 2022

Codecov Report

Base: 46.87% // Head: 61.18% // Increases project coverage by +14.31% 🎉

Coverage data is based on head (d5fcb04) compared to base (6c12b96).
Patch coverage: 57.14% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #5246       +/-   ##
===========================================
+ Coverage   46.87%   61.18%   +14.31%     
===========================================
  Files         303      306        +3     
  Lines       45625    45767      +142     
===========================================
+ Hits        21385    28004     +6619     
+ Misses      21555    14871     -6684     
- Partials     2685     2892      +207     
Flag Coverage Δ
apiserver-e2etests 35.07% <0.00%> (-0.07%) ⬇️
apiserver-unittests 36.87% <57.14%> (-0.04%) ⬇️
core-unittests 55.20% <ø> (?)
e2e-multicluster-test 19.22% <0.00%> (+0.03%) ⬆️
e2e-rollout-tests 20.63% <ø> (-0.02%) ⬇️
e2etests 26.13% <ø> (+0.11%) ⬆️

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

Impacted Files Coverage Δ
pkg/apiserver/domain/service/application.go 57.83% <57.14%> (-0.01%) ⬇️
pkg/apiserver/interfaces/api/oam_application.go 59.18% <0.00%> (-5.11%) ⬇️
pkg/apiserver/utils/bcode/bcode.go 51.11% <0.00%> (-2.23%) ⬇️
pkg/apiserver/event/sync/store.go 69.95% <0.00%> (-1.80%) ⬇️
...server/infrastructure/datastore/kubeapi/kubeapi.go 63.43% <0.00%> (-1.11%) ⬇️
pkg/apiserver/domain/service/workflow.go 54.37% <0.00%> (-0.48%) ⬇️
pkg/apiserver/event/sync/cr2ux.go 55.29% <0.00%> (ø)
pkg/workflow/providers/time/date.go 100.00% <0.00%> (ø)
cmd/core/main.go 0.00% <0.00%> (ø)
pkg/webhook/common/rollout/rollout_plan.go 37.63% <0.00%> (ø)
... and 132 more

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.

@callmeoldprince callmeoldprince changed the title Fix:Dry-run from revision application,patch error Fix:dry run from revision application,patch error Dec 31, 2022
@callmeoldprince callmeoldprince changed the title Fix:dry run from revision application,patch error Fix:dry run from revision application patch error Dec 31, 2022
@callmeoldprince callmeoldprince changed the title Fix:dry run from revision application patch error Fix: dry run from revision application patch error Dec 31, 2022
Copy link
Collaborator

@barnettZQG barnettZQG left a comment

Choose a reason for hiding this comment

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

LGTM

@barnettZQG barnettZQG added backport release-1.5 add this label will automatically backport this PR to release-1.5 branch backport release-1.6 add this label will automatically backport this PR to release-1.6 branch labels Jan 3, 2023
@barnettZQG barnettZQG merged commit 7bc2f4e into kubevela:master Jan 3, 2023
@github-actions
Copy link

github-actions bot commented Jan 3, 2023

Successfully created backport PR #5249 for release-1.5.

@github-actions
Copy link

github-actions bot commented Jan 3, 2023

Successfully created backport PR #5250 for release-1.6.

barnettZQG pushed a commit to barnettZQG/kubevela that referenced this pull request Jan 30, 2023
…sion lower than the current version (kubevela#5246)

Signed-off-by: old.prince <di7zhang@gmail.com>

Signed-off-by: old.prince <di7zhang@gmail.com>
zhaohuiweixiao pushed a commit to zhaohuiweixiao/kubevela that referenced this pull request Mar 7, 2023
…sion lower than the current version (kubevela#5246)

Signed-off-by: old.prince <di7zhang@gmail.com>

Signed-off-by: old.prince <di7zhang@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport release-1.5 add this label will automatically backport this PR to release-1.5 branch backport release-1.6 add this label will automatically backport this PR to release-1.6 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants