Skip to content

Conversation

@sachmii
Copy link
Contributor

@sachmii sachmii commented Jan 15, 2026

Checklist

General

Server

  • Important: I implemented the changes with a very good performance and prevented too many (unnecessary) and too complex database calls.
  • I strictly followed the principle of data economy for all database calls.
  • I strictly followed the server coding and design guidelines.
  • I documented the Java code using JavaDoc style.

Motivation and Context

User data needs to be deleted after 'x' years of inactivity. The variable x can be set by setting the application property USER_RETENTION_INACTIVE_DAYS_BEFORE_DELETION.

Description

Steps for Testing

Prerequisites:

Use #1738 test PR to test and check this PR.

Review Progress

Code Review

  • Code Review 1

Manual Tests

  • Test 1

Test Coverage

Warning: Server tests failed. Coverage could not be fully measured. Please check the workflow logs.

Last updated: 2026-01-22 18:14:21 UTC

@sachmii sachmii self-assigned this Jan 15, 2026
@sachmii sachmii linked an issue Jan 15, 2026 that may be closed by this pull request
@github-actions github-actions bot added server Pull requests that update Java code. (Added Automatically!) client Pull requests that update TypeScript code. (Added Automatically!) database user management Code changes in user management module. evaluation Code changes in evaluation module. config-change labels Jan 15, 2026
@github-actions
Copy link
Contributor

📊 Server Test Coverage Too Low

🔍 View coverage locally:

./gradlew test jacocoTestReport
open build/reports/jacoco/test/html/index.html

🌐 View coverage from GitHub:
Download the "coverage-report-server" artifact from this workflow run.

@github-actions
Copy link
Contributor

📊 Client Test Coverage Too Low

🔍 View coverage locally:

npm run test:ci
open build/test-results/lcov-report/index.html

🌐 View coverage from GitHub:
Download the "coverage-report-client" artifact from this workflow run.

@github-actions github-actions bot added job Code changes in job module. and removed client Pull requests that update TypeScript code. (Added Automatically!) labels Jan 19, 2026
@github-actions
Copy link
Contributor

🤖 No OpenAPI or client changes needed.

@github-actions
Copy link
Contributor

@sachmii Test coverage could not be fully measured because some tests failed. Please check the workflow logs for details.

@github-actions
Copy link
Contributor

🤖 No OpenAPI or client changes needed.

@sachmii sachmii linked an issue Jan 20, 2026 that may be closed by this pull request
@sachmii sachmii changed the title Development: Delete user data after inactivity Development: Cron job for user data deletion after inactivity Jan 20, 2026
@sachmii sachmii marked this pull request as ready for review January 20, 2026 07:50
@sachmii sachmii requested a review from az108 as a code owner January 20, 2026 07:50
@github-actions
Copy link
Contributor

@sachmii Test coverage could not be fully measured because some tests failed. Please check the workflow logs for details.

Copy link
Contributor

@Kiara65 Kiara65 left a comment

Choose a reason for hiding this comment

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

Left some comments on the code, rest of the code lgtm, thank you 😄

Copy link
Contributor

@Abi107717 Abi107717 left a comment

Choose a reason for hiding this comment

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

Code LGTM

@github-actions
Copy link
Contributor

@sachmii Test coverage could not be fully measured because some tests failed. Please check the workflow logs for details.

@github-actions
Copy link
Contributor

🤖 No OpenAPI or client changes needed.

@sachmii sachmii requested a review from Kiara65 January 22, 2026 17:57
@github-actions
Copy link
Contributor

@sachmii Test coverage could not be fully measured because some tests failed. Please check the workflow logs for details.

@github-actions
Copy link
Contributor

🤖 No OpenAPI or client changes needed.

@github-actions
Copy link
Contributor

@sachmii Test coverage could not be fully measured because some tests failed. Please check the workflow logs for details.

@github-actions
Copy link
Contributor

🤖 No OpenAPI or client changes needed.

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

Labels

config-change database evaluation Code changes in evaluation module. job Code changes in job module. ready for review server Pull requests that update Java code. (Added Automatically!) tests user management Code changes in user management module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cron job for user data deletion after inactivity

4 participants