Skip to content

chore: update webpa-common#465

Merged
denopink merged 5 commits intomainfrom
webpa-common-update
Aug 7, 2025
Merged

chore: update webpa-common#465
denopink merged 5 commits intomainfrom
webpa-common-update

Conversation

@maurafortino
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Aug 5, 2025

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 21.45%. Comparing base (fcfb95d) to head (31c7448).
⚠️ Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
main.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #465   +/-   ##
=======================================
  Coverage   21.45%   21.45%           
=======================================
  Files           7        7           
  Lines         713      713           
=======================================
  Hits          153      153           
  Misses        558      558           
  Partials        2        2           
Flag Coverage Δ
unittests 21.45% <0.00%> (ø)

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

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@maurafortino maurafortino requested a review from denopink August 6, 2025 19:21
)

func TestRequirePartnerIDs(t *testing.T) {
type badType int
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this eventually gets passed to cast.ToStringSliceE since spf13/cast was updated it can cast ints into strings so this no longer is malformed so changed it to an array of empty structs.

f = pflag.NewFlagSet(applicationName, pflag.ContinueOnError)
v = viper.New()

logger, metricsRegistry, webPA, err = server.Initialize(applicationName, arguments, f, v, webhook.Metrics, aws.Metrics, basculehelper.AuthCapabilitiesMetrics, basculehelper.AuthValidationMetrics, consul.Metrics, Metrics, service.Metrics)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

per my convo with @denopink - consul.Metrics is not needed - service.Metrics is what is the actual metrics for consul.

@denopink
Copy link
Contributor

denopink commented Aug 7, 2025

Looks good! Keep up the good work 🍻

@denopink denopink merged commit 63cc2c1 into main Aug 7, 2025
17 of 18 checks passed
@denopink denopink deleted the webpa-common-update branch August 7, 2025 14:17
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