Skip to content

Mango Ataulfo (Patch 2)

Choose a tag to compare

@kasunamare kasunamare released this 26 Aug 18:13
· 206 commits to master since this release

In version 5.5.1, we fixed a bug where files stored in /tmp during matrix creation were not being deleted after matrix creation was completed. However, Triage’s unit tests use the /tmp folder to store temporary mock matrices and objects; the new matrix generation script impacted the unit test execution. This patch refines the fix in 5.5.1 by explicitly detecting when the storage class is an S3 bucket and deleting only the files downloaded from S3, ensuring unit tests run successfully.

Bug Fixes

  • /tmp cleanup now occurs only if the project’s storage is S3, allowing unit tests to run without unintended file deletions.
  • Added a check to detect when entities in the protected groups and cohort data frames have diverged. If detected, an explicit error message is shown.

New functionality

  • Crosstabs can now also be generated directly from matrices instead of database tables (run_crosstabs_from_matrix), accommodating potential differences between the two.