Fix/test compilation after interview count#47
Merged
Conversation
Adds PATCH /api/v1/dashboard/interview-count endpoint and Update-Interview-Count MCP tool so users can correct the cumulative interview counter when the automatic detection misses transitions. https://claude.ai/code/session_015kfgrc2oHA881RT3bEYHZ6
Adds interview_count column to job_applications so each application tracks its own count. Dashboard interviewCount now sums across all applications. Removes the per-user UserInterviewMetrics path and the manual update endpoint/MCP tool (editing is now done via the application form). https://claude.ai/code/session_015kfgrc2oHA881RT3bEYHZ6
- Add missing interviewCount (null) arg to ApplicationRequest constructors in ApplicationControllerIT, ApplicationServiceTest, InterviewMetricsServiceTest - Add missing interviewCount (0) arg to ApplicationResponse constructors in ApplicationServiceTest, McpAnalyticsToolsTest, McpApplicationToolsTest - Rewrite InterviewMetricsServiceTest to use ApplicationRepository instead of the removed UserInterviewMetricsRepository https://claude.ai/code/session_015kfgrc2oHA881RT3bEYHZ6
Qodana for JVM2 new problems were found
View the detailed Qodana reportTo be able to view the detailed Qodana report, you can either:
To get - name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2025.3.2
with:
upload-result: trueContact Qodana teamContact us at qodana-support@jetbrains.com
|
…nsition recordStatusTransition now increments application.interviewCount when entering an interview status, restoring the auto-count behavior. The manual field on the form allows correction when auto-count misses multiple rounds. https://claude.ai/code/session_015kfgrc2oHA881RT3bEYHZ6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds support for tracking the number of interviews held for each job application. It introduces a new
interviewCountfield to the relevant entity, DTOs, and database schema. The interview metrics logic is refactored to use this new field, removing the previous per-user metrics approach. Tests and mappers are updated to handle the new field.Interview Count Field Addition
interviewCountfield (with minimum value validation) to theJobApplicationentity, theApplicationRequestandApplicationResponseDTOs, and updated the database schema to persist this value. [1] [2] [3] [4]ApplicationMapperandApplicationServiceto map and persist theinterviewCountfield. [1] [2]Metrics and Repository Refactor
InterviewMetricsServiceto use the newinterviewCountfield in applications, removing theUserInterviewMetricsentity and repository. The service now sumsinterviewCountacross all applications for a user. [1] [2] [3] [4]sumInterviewCountByUserIdtoApplicationRepositoryfor aggregating interview counts.API and Tooling Adjustments
interviewCountfield, ensuring backward compatibility by defaulting tonullwhere appropriate. [1] [2]Test Updates
interviewCountparameter in requests and responses, and removed references to the deprecatedUserInterviewMetrics. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]