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

Remove unused parameters #7473

Merged
merged 1 commit into from
Apr 8, 2024
Merged

Remove unused parameters #7473

merged 1 commit into from
Apr 8, 2024

Conversation

ytimocin
Copy link
Contributor

@ytimocin ytimocin commented Apr 8, 2024

Description

Remove unused parameters

Type of change

  • This pull request is a minor refactor, code cleanup, test improvement, or other maintenance task and doesn't change the functionality of Radius (issue link optional).

@ytimocin ytimocin requested review from a team as code owners April 8, 2024 05:00
@ytimocin ytimocin temporarily deployed to functional-tests April 8, 2024 05:00 — with GitHub Actions Inactive
@radius-functional-tests
Copy link

radius-functional-tests bot commented Apr 8, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository radius-project/radius
Commit ref 837ef92
Unique ID funcb4d1dd3573
Image tag pr-funcb4d1dd3573
Click here to see the list of tools in the current test run
  • gotestsum 1.10.0
  • KinD: v0.20.0
  • Dapr: 1.12.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.1.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-funcb4d1dd3573
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-funcb4d1dd3573
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-funcb4d1dd3573
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-funcb4d1dd3573
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting samples functional tests...
⌛ Starting shared functional tests...
⌛ Starting daprrp functional tests...
⌛ Starting msgrp functional tests...
⌛ Starting ucp functional tests...
⌛ Starting kubernetes functional tests...
⌛ Starting datastoresrp functional tests...
✅ samples functional tests succeeded
✅ msgrp functional tests succeeded
✅ kubernetes functional tests succeeded
✅ ucp functional tests succeeded
✅ daprrp functional tests succeeded
✅ cli functional tests succeeded
✅ datastoresrp functional tests succeeded
✅ shared functional tests succeeded

Copy link

codecov bot commented Apr 8, 2024

Codecov Report

Attention: Patch coverage is 81.63265% with 18 lines in your changes are missing coverage. Please review.

Project coverage is 63.83%. Comparing base (0a3d68a) to head (6c63ff0).

Files Patch % Lines
pkg/cli/clients/management.go 0.00% 4 Missing ⚠️
pkg/cli/deployment/diagnostics.go 0.00% 2 Missing ⚠️
...erp/frontend/controller/applications/graph_util.go 60.00% 2 Missing ⚠️
pkg/sdk/health.go 0.00% 2 Missing ⚠️
pkg/ucp/store/cosmosdb/cosmosdbstorageclient.go 0.00% 2 Missing ⚠️
pkg/cli/cmd/bicep/publish/publish.go 50.00% 1 Missing ⚠️
pkg/cli/config/radyaml.go 0.00% 0 Missing and 1 partial ⚠️
pkg/cli/helm/contourclient.go 0.00% 1 Missing ⚠️
.../cli/kubernetes/portforward/application_watcher.go 50.00% 1 Missing ⚠️
...orerp/frontend/controller/applications/getgraph.go 0.00% 1 Missing ⚠️
... and 1 more
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7473   +/-   ##
=======================================
  Coverage   63.83%   63.83%           
=======================================
  Files         417      417           
  Lines       23494    23494           
=======================================
  Hits        14997    14997           
  Misses       7227     7227           
  Partials     1270     1270           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Apr 8, 2024

Test Results

3 145 tests  ±0   3 138 ✅ ±0   3m 26s ⏱️ -17s
  261 suites ±0       7 💤 ±0 
    1 files   ±0       0 ❌ ±0 

Results for commit 6c63ff0. ± Comparison against base commit 0a3d68a.

♻️ This comment has been updated with latest results.

@@ -120,7 +120,7 @@ func AddContourValues(helmChart *chart.Chart, options ContourOptions) error {
}

servicePortsNode := serviceNode["ports"].(map[string]any)
if serviceNode == nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

Was this a bug? looks like it might have been. This is why cleanup like this is helpful 👍

Copy link
Contributor

@rynowak rynowak left a comment

Choose a reason for hiding this comment

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

Thanks for doing this cleanup 👍

Copy link
Contributor

@kachawla kachawla left a comment

Choose a reason for hiding this comment

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

👏

@ytimocin ytimocin force-pushed the ytimocin/removeUnusedParams branch from 837ef92 to 6c63ff0 Compare April 8, 2024 19:05
@ytimocin ytimocin temporarily deployed to functional-tests April 8, 2024 19:05 — with GitHub Actions Inactive
@radius-functional-tests
Copy link

radius-functional-tests bot commented Apr 8, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository radius-project/radius
Commit ref 6c63ff0
Unique ID funcffe84063cf
Image tag pr-funcffe84063cf
Click here to see the list of tools in the current test run
  • gotestsum 1.10.0
  • KinD: v0.20.0
  • Dapr: 1.12.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.1.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-funcffe84063cf
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-funcffe84063cf
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-funcffe84063cf
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-funcffe84063cf
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting daprrp functional tests...
⌛ Starting shared functional tests...
⌛ Starting ucp functional tests...
⌛ Starting msgrp functional tests...
⌛ Starting kubernetes functional tests...
⌛ Starting samples functional tests...
⌛ Starting cli functional tests...
⌛ Starting datastoresrp functional tests...
✅ ucp functional tests succeeded
✅ kubernetes functional tests succeeded
✅ daprrp functional tests succeeded
✅ msgrp functional tests succeeded
✅ cli functional tests succeeded
✅ datastoresrp functional tests succeeded
✅ shared functional tests succeeded

@ytimocin ytimocin merged commit 74a3f25 into main Apr 8, 2024
20 checks passed
@ytimocin ytimocin deleted the ytimocin/removeUnusedParams branch April 8, 2024 19:22
sk593 pushed a commit that referenced this pull request Apr 15, 2024
# Description
Remove unused parameters

## Type of change
- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
(issue link optional).

Signed-off-by: ytimocin <[email protected]>
sk593 added a commit that referenced this pull request Apr 15, 2024
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.

3 participants