Skip to content

refactor(alert): remove external erda dependency #171

Merged
iutx merged 1 commit intoerda-project:masterfrom
iutx:refactor/remove-erda-dep
Jan 14, 2026
Merged

refactor(alert): remove external erda dependency #171
iutx merged 1 commit intoerda-project:masterfrom
iutx:refactor/remove-erda-dep

Conversation

@iutx
Copy link
Member

@iutx iutx commented Jan 14, 2026

What type of this PR

Add one of the following kinds:
/kind refactor

What this PR does / why we need it:

Which issue(s) this PR fixes:

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

Specified Reviewers:

/assign @luobily

Need cherry-pick to release versions?

…tions

- Removed constants.go file that depended on external erda apistructs
- Added local types.go file with all necessary type definitions
- Updated erda.go to use local types instead of external erda_api types
- Updated handle.go to reference local IssuePriority and IssueType types
- Removed github.com/erda-project/erda dependency from go.mod
- Simplified error handling logic in erda.go connection initialization
- Updated import statements to use local apistructs package
@iutx iutx merged commit ef2ce8b into erda-project:master Jan 14, 2026
1 check failed
@erda-bot erda-bot requested a review from luobily January 14, 2026 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant