Skip to content

Conversation

@gauron99
Copy link
Contributor

@gauron99 gauron99 commented Jul 24, 2025

linter failing in main https://github.com/knative/func/actions/runs/16489108500/job/46619720738#step:4:12

  • Labels (map[string]string) type is unsupported in xml, exclude it

@knative-prow
Copy link

knative-prow bot commented Jul 24, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gauron99

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

The pull request process is described here

Details Needs approval from an approver in each of these files:

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

@knative-prow knative-prow bot requested a review from jrangelramos July 24, 2025 12:52
@knative-prow knative-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 24, 2025
@knative-prow knative-prow bot requested a review from nainaz July 24, 2025 12:52
@knative-prow knative-prow bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jul 24, 2025
@gauron99 gauron99 requested review from lkingland and matejvasek and removed request for jrangelramos and nainaz July 24, 2025 12:53
@codecov
Copy link

codecov bot commented Jul 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.02%. Comparing base (e06397d) to head (081b5cf).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2950      +/-   ##
==========================================
+ Coverage   58.27%   60.02%   +1.74%     
==========================================
  Files         132      132              
  Lines       16835    16836       +1     
==========================================
+ Hits         9811    10106     +295     
+ Misses       6123     5772     -351     
- Partials      901      958      +57     
Flag Coverage Δ
e2e-tests 41.26% <ø> (+7.70%) ⬆️
integration-tests 54.78% <ø> (+1.68%) ⬆️
unit-tests 46.89% <ø> (-0.01%) ⬇️

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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@gauron99
Copy link
Contributor Author

/retest

Namespace string `json:"namespace" yaml:"namespace"`
Subscriptions []Subscription `json:"subscriptions" yaml:"subscriptions"`
Labels map[string]string `json:"labels" yaml:"labels"`
Labels map[string]string `json:"labels" yaml:"labels" xml:"-"`
Copy link
Contributor

Choose a reason for hiding this comment

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

Why only Labels require this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

trying to marshal unsupported type map[string]string, via x.Labels (staticcheck)

because of the map type, im assuming by the linter message

@matejvasek
Copy link
Contributor

/lgtm

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Jul 27, 2025
@knative-prow knative-prow bot merged commit bdaa7df into knative:main Jul 27, 2025
47 of 49 checks passed
@gauron99 gauron99 deleted the push-mmtzwkpwktwr branch August 3, 2025 13:18
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. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants