Skip to content

Update release version list API to support modules release pattern#6199

Merged
khanhtc1202 merged 1 commit into
masterfrom
update-release-versions-api
Sep 4, 2025
Merged

Update release version list API to support modules release pattern#6199
khanhtc1202 merged 1 commit into
masterfrom
update-release-versions-api

Conversation

@khanhtc1202
Copy link
Copy Markdown
Member

@khanhtc1202 khanhtc1202 commented Sep 2, 2025

What this PR does:

SSIA

Why we need it:

The current upgrade piped version via UI feature uses the release versions list API provided by the PipeCD control plane.
From now on, the PipeCD project release will contain not only the PipeCD release version but also the plugin's releases, which requires updating the release versions list API filter logic to keep this feature behavior as expected.

Here is the semver IsValid behavior test I referred to when updating the filter logic
https://go.dev/play/p/qMuj-rlM9Br

Which issue(s) this PR fixes:

Related to #4980

Does this PR introduce a user-facing change?:

  • How are users affected by this change:
  • Is this breaking change:
  • How to migrate (if breaking change):

Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com>
@khanhtc1202 khanhtc1202 requested a review from a team as a code owner September 2, 2025 16:53
@khanhtc1202 khanhtc1202 enabled auto-merge (squash) September 2, 2025 16:53
@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 2, 2025

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 28.80%. Comparing base (3415269) to head (7dd8a39).

Files with missing lines Patch % Lines
pkg/app/server/grpcapi/web_api.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6199      +/-   ##
==========================================
- Coverage   28.80%   28.80%   -0.01%     
==========================================
  Files         559      559              
  Lines       59568    59570       +2     
==========================================
  Hits        17160    17160              
- Misses      41094    41096       +2     
  Partials     1314     1314              
Flag Coverage Δ
. 23.28% <0.00%> (-0.01%) ⬇️
.-pkg-app-pipedv1-plugin-analysis 32.64% <ø> (ø)
.-pkg-app-pipedv1-plugin-kubernetes 60.24% <ø> (ø)
.-pkg-app-pipedv1-plugin-kubernetes_multicluster 67.48% <ø> (ø)
.-pkg-app-pipedv1-plugin-scriptrun 54.83% <ø> (ø)
.-pkg-app-pipedv1-plugin-terraform 39.49% <ø> (ø)
.-pkg-app-pipedv1-plugin-wait 35.51% <ø> (ø)
.-pkg-app-pipedv1-plugin-waitapproval 55.73% <ø> (ø)
.-pkg-plugin-sdk 50.37% <ø> (ø)
.-tool-actions-gh-release 19.23% <ø> (ø)
.-tool-actions-plan-preview 25.51% <ø> (ø)
.-tool-codegen-protoc-gen-auth 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@khanhtc1202 khanhtc1202 merged commit 8c1876c into master Sep 4, 2025
44 of 45 checks passed
@khanhtc1202 khanhtc1202 deleted the update-release-versions-api branch September 4, 2025 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants