Skip to content

Releases: Netflix/metaflow

2.10.2

09 Oct 20:22
0acf15a
Compare
Choose a tag to compare

2.10.2

Features

  • New configuration option to use same headers as metadata service for argo events webhook calls by @oavdeev in #1560 . Default behavior is the same as before.

  • Metaflow CLI now supports list-workflow-templates command to list deployed argo workflows by @saikonen in #1577

Full Changelog: 2.10.0...2.10.2

2.10.0

06 Oct 01:21
9d3f860
Compare
Choose a tag to compare

Coming soon!

Full Changelog: 2.9.15...2.10.0

2.9.15

29 Sep 17:42
Compare
Choose a tag to compare

Improvements

Improve the performance of parallel_map

We now check for processes in the order in which they complete not in the order in which they are launched. This also increases the likelihood of failing fast.

Fix issues with the environment escape mechanism

Deadlocks and errors could occur when using the environment escape mechanism in two cases: (a) GC would occur at an inopportune moment or (b) subprocesses were involved. Both issues were fixed.

What's Changed

  • Fix two possible issues with the environment escape communication by @romain-intel in #1555
  • Check for the first finished parallel proccess by @maxzheng in #1546

New Contributors

Full Changelog: 2.9.14...2.9.15

2.9.14

18 Sep 15:23
2b1eab8
Compare
Choose a tag to compare

Improvements

Fixes merging of log lines

This release fixes an issue with merging broken log lines.

Fix issue with using LD_LIBRARY_PATH with Conda environments

In a Conda environment, it is sometimes necessary to set LD_LIBRARY_PATH to first include the Conda's environment libraries before anything else. Prior to this release, this used to cause issues with the escape hatch.

What's Changed

Full Changelog: 2.9.13...2.9.14

2.9.13

29 Aug 23:19
06840c0
Compare
Choose a tag to compare

Bug fix

Revert annotations changes to fix a regression

The recent annotations feature introduced an issue where project, flow_name or user annotations are not being populated for Kubernetes. This release reverts the changes.

What's Changed

Full Changelog: 2.9.12...2.9.13

2.9.12

29 Aug 18:25
6fddf5b
Compare
Choose a tag to compare

Known issues

The annotations feature introduced in this release has an issue where project, flow_name or user annotations are not being populated for Kubernetes. This has been reverted in the next release.

Features

Custom annotations for K8S and Argo Workflows

This release enables users to add custom annotations to the Kubernetes resources that Flows create. The annotations can be configured much in the same way as custom labels

  1. Globally with an environment variable. For example with
export METAFLOW_KUBERNETES_ANNOTATIONS="first=A,second=B"
  1. At a step level by passing a dictionary to the Kubernetes decorator.
@kubernetes(annotations={"first": "A", "second": "B"})

What's Changed

  • Adds custom annotations via env variables by @tylerpotts in #1442
  • Pass the user-defined executable to environment's executable by @romain-intel in #1454
  • Remove validate_environment from task lifecycle by @savingoyal in #1507
  • Fix/863 - Improve error message in metaflow.S3 class when DATATOOLS_S3ROOT is not configured. by @tfurmston in #1491
  • Fix an issue where 0 was not considered False for extension debug opt… by @romain-intel in #1511
  • Bump version to 2.9.12 by @saikonen in #1514

Full Changelog: 2.9.11...2.9.12

2.9.11

17 Jul 14:03
ec8fd6c
Compare
Choose a tag to compare

Bug Fix

Fix regression for @Batch decorator introduced by v2.9.10

This release reverts a validation fix introduced in 2.9.10, which prevented executions of Metaflow tasks on AWS Batch

What's Changed

Full Changelog: 2.9.10...2.9.11

2.9.10

13 Jul 16:40
70cbae9
Compare
Choose a tag to compare

Features

Introduce PagerDuty support for workflows running on Argo Workflows

With this release, Metaflow users can get events on PagerDuty when their workflows succeed or fail on Argo Workflows.
Setting up the notifications is similar to the existing Slack notifications support

  1. Follow these instructions on PagerDuty to set up an Events API V2 integration for your PagerDuty service
  2. You should be able to view the required integration key from the Events API V2 dropdown
  3. To enable notifications on PagerDuty when your Metaflow flow running on Argo Workflows succeeds or fails, deploy it using the --notify-on-error or --notify-on-success flags:
python flow.py argo-workflows create --notify-on-error --notify-on-success --notify-pager-duty-integration-key <pager-duty-integration-key>
  1. You can also set the following environment variable instead of specifying --notify-slack-webhook-url on the CLI everytime
METAFLOW_ARGO_WORKFLOWS_CREATE_NOTIFY_PAGER_DUTY_INTEGRATION_KEY=<pager-duty-integration-key>
  1. Next time the flow fails or succeeds, you should receive a new event on PagerDuty under Incidents (Flow failed) or Changes (Flow succeeded)

What's Changed

Full Changelog: 2.9.9...2.9.10

2.9.9

11 Jul 08:24
fd1f8db
Compare
Choose a tag to compare

Improvements

Fixes a bug with the S3 operations affecting @conda with some S3 providers

This release fixes a bug with the @conda bootstrapping process. There was an issue with the ServerSideEncryption support, that affected some of the S3 operations when using S3 providers that do not implement the encryption headers (for example MinIO).
Affected operations were all that handle multiple files at once:

get_many / get_all / get_recursive / put_many / info_many

which are used as part of bootstrapping a @conda environment when executing remotely.

What's Changed

Full Changelog: 2.9.8...2.9.9

2.9.8

07 Jul 17:34
8547074
Compare
Choose a tag to compare

Improvements

Fixes bug with Argo events parameters

This release fixes an issue with mapping values with spaces from the Argo events payload to flow parameters.

What's Changed

Full Changelog: 2.9.7...2.9.8