Skip to content

chore: Fix issue where removed users would still be referenced - #868

Merged
LouisCAD merged 1 commit into
mainfrom
fix-sql-constraint-exception
Sep 29, 2026
Merged

LouisCAD merged 1 commit into
mainfrom
fix-sql-constraint-exception

Conversation

@LouisCAD

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI balanced review requested due to automatic review settings September 29, 2026 14:00
@sonarqubecloud

sonarqubecloud Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
1 Accepted issue

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The fixed deletion path lacks regression coverage.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Refreshes restored users after token restoration or deletion to prevent stale references.

Changes:

  • Replaces the Boolean restoration result with explicit update states.
  • Re-queries users after tokens change or users are removed.
File Description
RestoreFromBackupManagerImpl.kt Tracks user mutations and refreshes the user list.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@LouisCAD
LouisCAD merged commit 157673f into main Sep 29, 2026
11 checks passed
@LouisCAD
LouisCAD deleted the fix-sql-constraint-exception branch September 29, 2026 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants