Skip to content

Remove legacy switch from decodeFilters after UI bug #12579 fix#22510

Merged
OrlinVasilev merged 1 commit intogoharbor:mainfrom
intojhanurag:fix/p2p-remove-ui-bug-12579-switch
Oct 29, 2025
Merged

Remove legacy switch from decodeFilters after UI bug #12579 fix#22510
OrlinVasilev merged 1 commit intogoharbor:mainfrom
intojhanurag:fix/p2p-remove-ui-bug-12579-switch

Conversation

@intojhanurag
Copy link
Copy Markdown
Contributor

Description

Removed the old type conversion switch in decodeFilters that handled inconsistent
filter value types due to UI bug #12579. The bug is now fixed, so manual conversion
is no longer needed.

Changes

  • Removed type-conversion switch
  • Removed unused strconv import

@intojhanurag intojhanurag requested a review from a team as a code owner October 27, 2025 12:20
@intojhanurag intojhanurag force-pushed the fix/p2p-remove-ui-bug-12579-switch branch from dbced93 to ca5d3f4 Compare October 27, 2025 12:21
@intojhanurag
Copy link
Copy Markdown
Contributor Author

Hey @OrlinVasilev , It is ready for review.

@OrlinVasilev
Copy link
Copy Markdown
Member

@bupd @AllForNothing @chlins take a look please!

@OrlinVasilev OrlinVasilev enabled auto-merge (squash) October 28, 2025 09:38
Copy link
Copy Markdown
Contributor

@AllForNothing AllForNothing left a comment

Choose a reason for hiding this comment

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

lgtm

Signed-off-by: Anurag Ojha <aojharaj2004@gmail.com>
@AllForNothing AllForNothing force-pushed the fix/p2p-remove-ui-bug-12579-switch branch from ca5d3f4 to fe60183 Compare October 29, 2025 00:20
@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.84%. Comparing base (c8c11b4) to head (fe60183).
⚠️ Report is 584 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main   #22510       +/-   ##
===========================================
+ Coverage   45.36%   65.84%   +20.47%     
===========================================
  Files         244     1073      +829     
  Lines       13333   116095   +102762     
  Branches     2719     2931      +212     
===========================================
+ Hits         6049    76442    +70393     
- Misses       6983    35416    +28433     
- Partials      301     4237     +3936     
Flag Coverage Δ
unittests 65.84% <ø> (+20.47%) ⬆️

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

Files with missing lines Coverage Δ
src/pkg/p2p/preheat/models/policy/policy.go 74.46% <ø> (ø)

... and 986 files with indirect coverage changes

🚀 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.

@AllForNothing AllForNothing added the release-note/update Update or Fix label Oct 29, 2025
@OrlinVasilev OrlinVasilev merged commit bdee4da into goharbor:main Oct 29, 2025
12 of 13 checks passed
OrlinVasilev pushed a commit to OrlinVasilev/harbor that referenced this pull request Oct 29, 2025
…ix (goharbor#22510)

legacy switch from decodeFilters

Signed-off-by: Anurag Ojha <aojharaj2004@gmail.com>
vg006 pushed a commit to vg006/harbor that referenced this pull request Dec 4, 2025
…ix (goharbor#22510)

legacy switch from decodeFilters

Signed-off-by: Anurag Ojha <aojharaj2004@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/update Update or Fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants