Skip to content

feat(cli): add issue and iteration commands with workspace-aware host#6780

Closed
iutx wants to merge 3 commits into
erda-project:masterfrom
iutx:feat/cli-issues-iterations-workspace-release
Closed

feat(cli): add issue and iteration commands with workspace-aware host#6780
iutx wants to merge 3 commits into
erda-project:masterfrom
iutx:feat/cli-issues-iterations-workspace-release

Conversation

@iutx

@iutx iutx commented May 7, 2026

Copy link
Copy Markdown
Member

What this PR does / why we need it:

  • Squash-merge CLI and DOP issue provider changes onto upstream master.
  • Align release-cli publish tests with multi-arch artifact layout (darwin arm64/amd64, linux amd64/arm64).
  • Resolve workspace application with org name; scoped workspace info respects global org/project flags.
  • Prefer workspace API host via cobra annotations and codegen (PreferWorkspaceHost) instead of string switches.
  • Harden self-update default channel when global config is nil.

Which issue(s) this PR fixes:

  • Fixes #your-issue_number
  • [Erda Cloud Issue Link](paste your link here)

Specified Reviewers:

/assign @luobily

ChangeLog

Language Changelog
🇺🇸 English add issue and iteration commands with workspace-aware host
🇨🇳 中文 增加项目协同以及迭代的能力

Need cherry-pick to release versions?

Add comment like /cherry-pick release/1.0 when this PR is merged.

For details on the cherry pick process, see the cherry pick requests section under CONTRIBUTING.md.

- Squash-merge CLI and DOP issue provider changes onto upstream master.
- Align release-cli publish tests with multi-arch artifact layout (darwin arm64/amd64, linux amd64/arm64).
- Resolve workspace application with org name; scoped workspace info respects global org/project flags.
- Prefer workspace API host via cobra annotations and codegen (PreferWorkspaceHost) instead of string switches.
- Harden self-update default channel when global config is nil.

Co-authored-by: Cursor <cursoragent@cursor.com>
@erda-bot erda-bot requested a review from luobily May 7, 2026 03:08
Re-run post-create hooks (iteration plan times, parent inclusion) removed
accidentally during CLI squash merge.

Co-authored-by: Cursor <cursoragent@cursor.com>
@codecov

codecov Bot commented May 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 62.50000% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 15.82%. Comparing base (d31c282) to head (5e10057).

Files with missing lines Patch % Lines
internal/apps/dop/providers/issue/core/service.go 62.50% 5 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #6780   +/-   ##
=======================================
  Coverage   15.82%   15.82%           
=======================================
  Files        3998     3998           
  Lines      328174   328189   +15     
=======================================
+ Hits        51939    51943    +4     
- Misses     270338   270349   +11     
  Partials     5897     5897           
Flag Coverage Δ
by-github-actions 15.82% <62.50%> (+<0.01%) ⬆️

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

Files with missing lines Coverage Δ
internal/apps/dop/providers/issue/core/service.go 9.94% <62.50%> (+1.70%) ⬆️

... and 4 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.

…n PR 6780)

Co-authored-by: Cursor <cursoragent@cursor.com>
@stale

stale Bot commented May 28, 2026

Copy link
Copy Markdown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale Bot added the wontfix label May 28, 2026
@stale stale Bot closed this Jun 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants