-
Notifications
You must be signed in to change notification settings - Fork 30
Release 3.7.1 to main #140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
snehar-nd
wants to merge
38
commits into
main
Choose a base branch
from
release-3.7.1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
9826668
fix: amm-2140 stillbirth and abortion report download issue
snehar-nd 4a27c15
Merge pull request #116 from PSMRI/sn/2140
snehar-nd 66e5f17
Bump version from 3.6.0 to 3.7.0
snehar-nd 2ba9f1e
Merge pull request #117 from PSMRI/snehar-nd-patch-1
snehar-nd 18a359b
fix: amm-2140 baby death report download issue
snehar-nd 0872951
Merge pull request #118 from PSMRI/sn/2140
snehar-nd 4c4a791
amm-2140 misscarriage report fix
snehar-nd 23ca6dd
Merge pull request #122 from PSMRI/sn/2140
snehar-nd 1c28b98
amm-2140 misscarriage report fix
snehar-nd 41c5ba2
Merge pull request #123 from PSMRI/sn/2140
snehar-nd 62a4349
feat: amm-2180 reassign calls to anm move from mo bucket to anm bucket
snehar-nd 80dc113
amm-2181 storing the highrisk reason on callclose with MO
snehar-nd a1f8685
fix: AMM-2180 handled the hrp reason
snehar-nd 4a77a53
fix: AMM-2180 AMM-2181 modified the fixes removed unwanted code
snehar-nd ec135bd
fix: removed the unused variables
snehar-nd 1277729
fix: hrp/hrni reason was not fetching properly
snehar-nd 2185795
fix: follow up call allocation was happening in a day gap range and aβ¦
snehar-nd 11b7c79
changes made for disconnected call and call allocation
RoshiniND 136cdc9
Merge pull request #125 from PSMRI/Sn/hrp
snehar-nd ced8cac
Merge branch 'release-3.7.0' into rr-AAM1549
snehar-nd a47d00c
Merge pull request #127 from PSMRI/rr-AAM1549
snehar-nd 7686066
fix: busy/not-answered call should stay in agent worklist
vishwab1 e9794dd
fix: busy/not-answered calls should stay in agent worklist
vishwab1 01601c2
Merge pull request #135 from PSMRI/vb/ecd-call-fix
snehar-nd 48172fa
perf: add composite indexes to fix 504 timeout on getEligibleRecordsInfo
5f8a6b2
perf: consolidate 3 COUNT queries into 1 to fix 504 on getEligibleRecβ¦
46bb895
chore: remove index SQL from ECD-API β moved to AMRIT-DB as V83 Flywaβ¦
67d60c7
perf: use FORCE INDEX (idx_mcts_eligible_v2) on child count queries tβ¦
cd358dd
chore: remove consolidated SUM(CASE WHEN) queries, revert mother blocβ¦
dd93f17
fix: revert child count queries to JPQL entity style per review feedback
685af23
perf: use FORCE INDEX (idx_mcts_eligible_v2) on child count queries tβ¦
aa2b486
Merge pull request #136 from PSMRI/fix/504-composite-indexes-getEligiβ¦
snehar-nd 98a1e72
fix: merge with main
vanitha1822 e52d7d4
fix: resolve the conflicts
vanitha1822 0282c64
Merge pull request #138 from PSMRI/nd/vs/rebase-main
snehar-nd 469a1d5
Bump version from 3.7.0 to 3.7.1
snehar-nd 5538537
Merge pull request #139 from PSMRI/snehar-nd-patch-2
snehar-nd 5390795
fix: amm-2392 ecd data upload limit need to increase (#141)
snehar-nd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π©Ί Stability & Availability | π Major | β‘ Quick win
Reinstate a row count validation limit to prevent memory exhaustion.
Relying solely on a 5MB file-size limit introduces a severe memory exhaustion (OOM) vulnerability. Because
.xlsxfiles are highly compressed ZIP archives, a 5MB file can easily contain hundreds of thousands of rows.Processing and retaining this many
MotherRecordorChildRecordentities in memory to persist them in a single JPAsaveAllbatch will likely cause heap exhaustion or database transaction timeouts. Please reinstate a reasonable row count validation (e.g., 5,000 to 10,000 rows max) after opening the workbook to safeguard system stability.π€ Prompt for AI Agents
π Performance & Scalability | π‘ Minor | β‘ Quick win
Fast-fail on oversized Base64 payloads before decoding.
Validating the file size only after
Base64.decodeBase64executes allows exceptionally large payloads to allocate massive byte arrays in memory, leading to unnecessary CPU cycles and a potentialOutOfMemoryError(OOM) before the size limit safeguard is even reached.Check the estimated length of the Base64 string before decoding to safely fail fast.
β‘ Proposed optimization
π Committable suggestion
π€ Prompt for AI Agents