Skip to content

Feat(SPV-1546): delete user endpoint#955

Merged
mrz1836 merged 12 commits intomainfrom
feat/SPV-1546/delete_user_endpoint
Jan 8, 2026
Merged

Feat(SPV-1546): delete user endpoint#955
mrz1836 merged 12 commits intomainfrom
feat/SPV-1546/delete_user_endpoint

Conversation

@dzolt-4chain
Copy link
Copy Markdown
Contributor

Pull Request Checklist

  • 📖 I created my PR using provided : CODE_STANDARDS
  • 📖 I have read the short Code of Conduct: CODE_OF_CONDUCT
  • 🏠 I tested my changes locally.
  • ✅ I have provided tests for my changes.
  • 📝 I have used conventional commits.
  • 📗 I have updated any related documentation.
  • 💾 PR was issued based on the Github or Jira issue.

@dzolt-4chain dzolt-4chain requested a review from a team as a code owner March 6, 2025 16:27
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 6, 2025

Manual Tests

ℹ️ Remember to ask team members to perform manual tests and to assign tested label after testing.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 6, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 19.35484% with 50 lines in your changes missing coverage. Please review.

Project coverage is 34.45%. Comparing base (c5eea15) to head (aa41a2c).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
engine/v2/database/repository/users.go 0.00% 19 Missing ⚠️
engine/v2/users/users_service.go 0.00% 13 Missing ⚠️
api/gen.api.go 0.00% 11 Missing ⚠️
actions/v2/users/remove.go 69.23% 3 Missing and 1 partial ⚠️
actions/v2/admin/users/get.go 0.00% 3 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #955      +/-   ##
==========================================
- Coverage   34.50%   34.45%   -0.06%     
==========================================
  Files         437      438       +1     
  Lines       20826    20883      +57     
==========================================
+ Hits         7186     7195       +9     
- Misses      13041    13088      +47     
- Partials      599      600       +1     
Flag Coverage Δ
unittests 34.45% <19.35%> (-0.06%) ⬇️

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

Files with missing lines Coverage Δ
actions/v2/users/current.go 46.66% <100.00%> (ø)
actions/v2/users/server.go 100.00% <100.00%> (ø)
actions/v2/admin/users/get.go 33.33% <0.00%> (-9.53%) ⬇️
actions/v2/users/remove.go 69.23% <69.23%> (ø)
api/gen.api.go 0.00% <0.00%> (ø)
engine/v2/users/users_service.go 0.00% <0.00%> (ø)
engine/v2/database/repository/users.go 0.00% <0.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c5eea15...aa41a2c. Read the comment docs.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread actions/v2/users/remove.go Outdated
Comment thread actions/v2/users/remove_test.go Outdated
Comment thread actions/v2/users/remove_test.go Outdated
Comment thread actions/v2/users/server.go
Comment thread actions/v2/users/server.go
Comment thread engine/v2/database/repository/users.go Outdated
Comment thread actions/v2/admin/users/get.go Outdated
Comment thread actions/v2/users/remove.go
Comment thread api/manualtests/test_api_call.go Outdated
Comment thread actions/v2/users/remove_test.go Outdated
Comment thread actions/v2/users/remove_test.go Outdated
Comment thread api/manualtests/userapi/delete_user_test.go
@mrz1836 mrz1836 self-assigned this Jan 8, 2026
- Add errdef package for standardized error handling
- Implement client error builder and definitions
- Add HTTP error mapping and problem details
- Support error traits and properties
@mrz1836 mrz1836 added the feature Any new significant addition label Jan 8, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 8, 2026

Codecov Report

❌ Patch coverage is 23.91304% with 35 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
engine/v2/database/repository/users.go 0.00% 14 Missing ⚠️
engine/v2/users/users_service.go 0.00% 10 Missing ⚠️
api/gen.api.go 0.00% 8 Missing ⚠️
actions/v2/users/remove.go 72.72% 2 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@mrz1836 mrz1836 merged commit fb6ce7e into main Jan 8, 2026
7 of 12 checks passed
@mrz1836 mrz1836 deleted the feat/SPV-1546/delete_user_endpoint branch January 11, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Any new significant addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants