Skip to content

chore: merge test to preprod - #396

Merged
mdiapenabc merged 15 commits into
pre-prodfrom
test
Jun 29, 2026
Merged

chore: merge test to preprod#396
mdiapenabc merged 15 commits into
pre-prodfrom
test

Conversation

@mdiapenabc

Copy link
Copy Markdown
Collaborator

merge test to preprod in the context of the next production release

mdiapenabc and others added 15 commits June 24, 2026 00:38
* fix: avoid concurrent query warning on pg clients

Set search_path during pool.connect so each checked-out client is initialized before use, preventing deprecated concurrent client.query calls triggered by the connect event hook.
…sion (#375)

* fix weekly file processing date

* reused the date transformation function for transforming dates in the weekly file tab

---------

Co-authored-by: Raza <mdsaraza@deloitte.com>
Co-authored-by: plakkara <preethi.lakkaraju@gov.bc.ca>
…table (#383)

* added api filter calls for the details table in weekly file processing tab

* added api filter calls for the details table in weekly file processing tab

* added api filter calls for the details table in weekly file processing tab

* added api filter calls for the details table in weekly file processing tab

* added api filter calls for the details table in weekly file processing tab

* added api filter calls for the details table in weekly file processing tab

* added api filter calls for the details table in weekly file processing tab

* removed search boxes from weekly file and details tables

* removed column filter list for a few columns in details table

* removed column filter list for a few columns in details table

* removed column filter list for a few columns in details table

* removed column filter list for a few columns in details table

* removed column filter list for a few columns in details table

* removed column filter list for a few columns in details table

* disabled filters on certai columns

* disabled filters on certai columns

* disabled filters on certai columns

* disabled filters on certai columns

* created columns for filtering

* updated the cra status filter list

* created migrations for the 3 new columns

* fixed failing migrations

* removed transformation from migrations

* removed transformation from migrations

* added migrations for one time backfill

* fix: align CRA status filter with in-progress display format

Normalize stored hyphenated statuses to "IN PROGRESS" for filtering and
update the details dropdown label to match the table display.

* fix: whitelist CRA status filters from WEEKLY_FILE.STATUS

Derive display labels and filter-to-stored mapping from the canonical
status constants so filtering matches persisted values without SQL
normalization.

* fix lint

* fix: use stored filter values and Prisma where for weekly file records

Send database values from filter dropdowns while keeping display labels in
the UI, and replace raw SQL string building with a typed Prisma where builder.

* fixed db error

---------

Co-authored-by: Madjo Diapena <Madjo.Diapena@gov.bc.ca>
Terminated Out of Care agreement lines were excluded from ICM sync because
the SearchSpec only matched Active and Inactive statuses.
* feat: add source_agreement for agreement details display

Introduce source_agreement so OOC contacts show ICM/MIS in Agreement Details
while placement source stays scoped to primary placement. Includes migration
backfill from source_placement, eligibility extract, API/frontend wiring, and
tests for OOC and MIS agreement fallback paths.

* fix lint

* updated the version of migrations

---------

Co-authored-by: plakkara <preethi.lakkaraju@gov.bc.ca>
* fix: scope WKL in-progress batch lookup by batch date

Prevent WKL associated-record processing from reusing in-progress batch
details from a different batch date when preferExistingInProgressDetail is set.

* fix lint

* fix: use CSA processing date for WKL CRA batch lookup on poll

Poll processing was finding or creating CRA batches from the WKL header
date instead of CSA Processing Date, causing records to land on the
wrong batch when those dates differ. Align the poll path with manual
reprocess via shared csaProcessingBatchDate and findOrCreate by Pacific
processing date, while keeping in-progress detail reuse across any batch.

---------

Co-authored-by: plakkara-bc <Preethi.Lakkaraju@gov.bc.ca>
fix: merge latest dev to test 24/06/26
* fix: improve CRA send batch failure handling and UI feedback

Record job failures on batch system comments and system_error status,
invoke onFailure when send setup fails, show batch numbers in send
messages, and hide the running banner when the job fails or completes.

* fix lint

* fix: refresh batch UI after CRA send job failures

Reload batch requests and details when a send job fails so updated
system_error status and system comments appear without a manual refresh.
chore: merge dev to test
pool.query (used by $executeRawUnsafe) acquires clients through
connect(callback), which skipped search_path after the recent pool
refactor and caused staging upserts to fail with missing relations.
fix: set search_path via pg pool onConnect for Prisma raw queries
- Pg Connection Fix 
- Cra enable CI
…ssing tab (#391)

* updated mapping for cra status filter

* Created backend api calls for sort

* Created backend api calls for sort

* enabled sort and filter on transformed values

* fixed failing health checks

* fixed failing health checks

* updated mapping and normalization function

* updated column filter labels

* revert: restore health.controller.ts to dev
…ayed in 2 lines (#392)

* dynamically adjusted the column width to ensures dates get disaplyed in 2 lines

* dynamically adjusted the column width to ensures dates get disaplyed in 2 lines
chore: merge dev to test
@plakkara-bc
plakkara-bc self-requested a review June 29, 2026 14:57
@mdiapenabc
mdiapenabc merged commit 923d303 into pre-prod Jun 29, 2026
19 checks passed
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