From 0959b19989ebc2994b3813bf3e454ac35c0b50d4 Mon Sep 17 00:00:00 2001 From: Taras Priadka Date: Sat, 12 Oct 2024 11:01:15 -0700 Subject: [PATCH 1/3] add nextflow option to enable fsync in workflow tasks --- latch_cli/nextflow/workflow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/latch_cli/nextflow/workflow.py b/latch_cli/nextflow/workflow.py index d9fa0898..e8427a95 100644 --- a/latch_cli/nextflow/workflow.py +++ b/latch_cli/nextflow/workflow.py @@ -146,6 +146,7 @@ def nextflow_runtime(pvc_name: str, {param_signature}) -> None: "NXF_OPTS": "-Xms{heap_initial}M -Xmx{heap_max}M -XX:ActiveProcessorCount={cpu}", "NXF_DISABLE_CHECK_LATEST": "true", "NXF_ENABLE_VIRTUAL_THREADS": "false", + "NXF_ENABLE_FS_SYNC": "true", }} if {upload_command_logs}: From aaebc52ca1abcf4801aae2512fdaa499217b9ce1 Mon Sep 17 00:00:00 2001 From: Taras Priadka Date: Wed, 16 Oct 2024 09:48:46 -0700 Subject: [PATCH 2/3] fix: bump version --- CHANGELOG.md | 8 ++++++++ latch_cli/constants.py | 2 +- setup.py | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3cc95bc..2a74a202 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,14 @@ Types of changes # Latch SDK Changelog +## 2.53.7 - 2024-10-16 + +### Added + +* Nextflow + - bump nf runtime version to 2.3.0 + - use `NXF_ENABLE_FS_SYNC` flag in workflows + ## 2.53.6 - 2024-10-11 ### Added diff --git a/latch_cli/constants.py b/latch_cli/constants.py index 8efaab3b..885dfb18 100644 --- a/latch_cli/constants.py +++ b/latch_cli/constants.py @@ -22,7 +22,7 @@ class LatchConstants: base_image: str = ( "812206152185.dkr.ecr.us-west-2.amazonaws.com/latch-base:fe0b-main" ) - nextflow_latest_version: str = "v2.2.0" + nextflow_latest_version: str = "v2.3.0" file_max_size: int = 4 * Units.MiB file_chunk_size: int = 64 * Units.MiB diff --git a/setup.py b/setup.py index 79e1f898..a2cee049 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ setup( name="latch", - version="v2.53.6", + version="v2.53.7", author_email="kenny@latch.bio", description="The Latch SDK", packages=find_packages(), From ec9e8bcc84c8b68acb95d8cd51fad7068c691bf1 Mon Sep 17 00:00:00 2001 From: Taras Priadka Date: Wed, 16 Oct 2024 10:13:43 -0700 Subject: [PATCH 3/3] fix comment --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a74a202..f31fe5a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,7 +22,7 @@ Types of changes * Nextflow - bump nf runtime version to 2.3.0 - - use `NXF_ENABLE_FS_SYNC` flag in workflows + - use `NXF_ENABLE_FS_SYNC` flag in workflows to enable using sync on task finish ## 2.53.6 - 2024-10-11