Closed jtimpe closed 2 months ago
Attention: Patch coverage is 28.07018%
with 41 lines
in your changes missing coverage. Please review.
Project coverage is 91.10%. Comparing base (
febf97f
) to head (e423b1b
). Report is 25 commits behind head on develop.
Files with missing lines | Patch % | Lines |
---|---|---|
tdrs-backend/tdpservice/search_indexes/tasks.py | 25.53% | 35 Missing :warning: |
...-backend/tdpservice/search_indexes/admin/mixins.py | 40.00% | 6 Missing :warning: |
when you get some time, can you fill in the ACs for this @jtimpe ?
when you get some time, can you fill in the ACs for this @jtimpe ?
@ADPennington apologies - the bug tickets didn't have any AC so i added some generic ones. the implementation for each is noted in the description
when you get some time, can you fill in the ACs for this @jtimpe ?
@ADPennington apologies - the bug tickets didn't have any AC so i added some generic ones. the implementation for each is noted in the description
@jtimpe no trouble; mostly just trying to get a better understanding of any possible constraints when testing. will keep you posted. thank you!
first round of testing results below cc: @jtimpe :
generated 3 exports with 3 unique s3 file paths (evidence from logentries below)
only the most recent one comes up in the list of S3 contents:
apennington@HHSLBDSWL73 MINGW64 /
$ aws s3 ls s3://<bucket-name> --recursive --profile TDP_qasp_datafilesS3_20240228 | grep -e 'exports/*'
2024-09-18 15:28:11 3035675 exports/search_indexes.ssp_m1_FY2023Q4_180924-19-25-25.csv.gz
I'll continue testing tmor.
2nd round of testing results cc: @jtimpe
Select all 1,091,996 TANF T2s
)2024-09-19T08:43:38.34-0400 [APP/PROC/WEB/0] ERR [2024-09-19 12:43:38 +0000] [567] [DEBUG] Closing connection.
2024-09-19T08:43:41.21-0400 [APP/PROC/WEB/0] ERR [2024-09-19 12:43:41,219: ERROR/MainProcess] Process 'ForkPoolWorker-10' pid:625 exited with 'signal 9 (SIGKILL)'
2024-09-19T08:43:41.23-0400 [APP/PROC/WEB/0] ERR [2024-09-19 12:43:41,231: ERROR/MainProcess] Task handler raised error: WorkerLostError('Worker exited prematurely: signal 9 (SIGKILL) Job: 9.')
2024-09-19T08:43:41.23-0400 [APP/PROC/WEB/0] ERR Traceback (most recent call last):
2024-09-19T08:43:41.23-0400 [APP/PROC/WEB/0] ERR File "/home/vcap/deps/1/python/lib/python3.10/site-packages/billiard/pool.py", line 1265, in mark_as_worker_lost
2024-09-19T08:43:41.23-0400 [APP/PROC/WEB/0] ERR raise WorkerLostError(
2024-09-19T08:43:41.23-0400 [APP/PROC/WEB/0] ERR billiard.exceptions.WorkerLostError: Worker exited prematurely: signal 9 (SIGKILL) Job: 9.
will continue testing.
top
or htop
while ssh'd into machine during csv export (no other concurrent operations) - if mem climbs, leak somewhere - celery DEBUG
is on
Summary of Changes
Pull request closes #3137
queryset.iterator()
to aid memory use for large querysetsHow to Test
search_indexes
model pages. select any number of models and execute the "Export as csv" action.http://localhost:4566/tdp-datafiles-localstack/{returned path}
LogEntry
objects created in the admin console.Deliverables
More details on how deliverables herein are assessed included here.
Deliverable 1: Accepted Features
Checklist of ACs:
lfrohlich
and/oradpennington
confirmed that ACs are met.Deliverable 2: Tested Code
CodeCov Report
comment in PR)CodeCov Report
comment in PR)Deliverable 3: Properly Styled Code
Deliverable 4: Accessible
iamjolly
andttran-hub
using Accessibility Insights reveal any errors introduced in this PR?Deliverable 5: Deployed
Deliverable 6: Documented
Deliverable 7: Secure
Deliverable 8: User Research
Research product(s) clearly articulate(s):