Skip to content

Conversation

@0xjah
Copy link

@0xjah 0xjah commented Dec 27, 2025

What this PR does:Add pixiu-admin CI test

Which issue(s) this PR fixes: #842

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?NONE:


0xjah and others added 7 commits December 27, 2025 12:14
Add CI workflow for Pixiu-Admin including build, test, and deployment steps.
Added integration tests with MySQL and etcd services to CI workflow.
Added resource creation test in CI workflow.
Added Apache License header to the CI workflow file.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a comprehensive GitHub Actions CI workflow for the pixiu-admin component, addressing issue #842. The workflow provides automated testing and validation across multiple dimensions including build verification, code quality, security scanning, and deployment testing.

Key Changes:

  • Implements multi-job CI pipeline with backend (Go) and frontend (Node.js) build and test jobs
  • Adds integration testing with MySQL and etcd services, deployment validation, and performance benchmarking
  • Includes code quality checks with golangci-lint and gosec security scanning

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov-commenter
Copy link

codecov-commenter commented Dec 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 19.71%. Comparing base (26606a8) to head (9dc304a).
⚠️ Report is 107 commits behind head on develop.

❗ There is a different number of reports uploaded between BASE (26606a8) and HEAD (9dc304a). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (26606a8) HEAD (9dc304a)
1 0
Additional details and impacted files
@@             Coverage Diff              @@
##           develop     #854       +/-   ##
============================================
- Coverage    54.67%   19.71%   -34.97%     
============================================
  Files          671      255      -416     
  Lines        78658    18360    -60298     
============================================
- Hits         43006     3619    -39387     
+ Misses       31981    14375    -17606     
+ Partials      3671      366     -3305     
Flag Coverage Δ
admin-backend 0.00% <ø> (?)
unittests 19.71% <ø> (?)

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.

@Alanxtl Alanxtl linked an issue Dec 28, 2025 that may be closed by this pull request
2 tasks
@Alanxtl
Copy link
Contributor

Alanxtl commented Dec 28, 2025

cool work, but ci fails
and check copilot's comment

@Alanxtl
Copy link
Contributor

Alanxtl commented Dec 28, 2025

the code style please refer to .github/workflows/github-actions.yml

Copy link
Contributor

@Alanxtl Alanxtl left a comment

Choose a reason for hiding this comment

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

if any comment is resolved please press the resolve conversation btn

@Alanxtl
Copy link
Contributor

Alanxtl commented Dec 31, 2025

well, I noticed the intergration test cannot be passed
maybe it is not your problem, pixiu admin is currently not in a fully functional state.
Please check whether the corresponding CI failure can be resolved. If it cannot be resolved, you may temporarily skip it. We only need to verify that the build passes.

@Alanxtl Alanxtl added pixiu-admin this is a pixiu-admin related issue 1.2.0 enhancement New feature or request labels Dec 31, 2025
… tests as non-blocking, update etcd image references, and change empty tip message to English
@sonarqubecloud
Copy link

@Alanxtl
Copy link
Contributor

Alanxtl commented Jan 4, 2026

it seems Build Admin Frontend does not run successuflly, thus cause downstream ci checks fail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.2.0 enhancement New feature or request pixiu-admin this is a pixiu-admin related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Add pixiu-admin CI test

3 participants