Releases: flyteorg/flyte
Flyte v1.6.2 milestone release
Flyte v1.6.2 Patch Release
Changes
Admin - v1.1.104
- Save execution namespace in system metadata by @katrogan in flyteorg/flyteadmin#568
- Update startedAt timestamp only if not set by @pmahindrakar-oss in flyteorg/flyteadmin#567
- Tiny url improvements by @wild-endeavor in flyteorg/flyteadmin#565
- Fix utf-8 encoding issues with trimmed error messages by @katrogan in flyteorg/flyteadmin#569
Flyte v1.6.1 milestone release
Flyte v1.6.1 Patch Release
Changes
Admin - v1.1.100
- Inject user identifier to ExecutionSpec by @ByronHsu in flyteorg/flyteadmin#549
- Fix flaky test by @eapolinario in flyteorg/flyteadmin#563
- Add oauth http proxy for external server & Extract email from azure claim by @ByronHsu in flyteorg/flyteadmin#553
- Remove single task execution default timeout by @hamersaw in flyteorg/flyteadmin#564
- Revert conditional setting of SecurityContext when launching security context by @wild-endeavor in flyteorg/flyteadmin#566
Console - v1.8.2
- Export Flytedecks support for TLRO by @james-union in flyteorg/flyteconsole#757
- fix: filter executions by version and name by @ursucarina in flyteorg/flyteconsole#758
- fix: task recent runs should filter by version by @ursucarina in flyteorg/flyteconsole#759
- Bug: Execution Page's back button returns Workflows route from Launch Plan route #patch by @FrankFlitton in flyteorg/flyteconsole#760
- chore: add item when mapped task by @jsonporter in flyteorg/flyteconsole#761
- Feature: Fullview Flyte Deck modal by @FrankFlitton in flyteorg/flyteconsole#764
Propeller - v1.1.90
- Add grpc plugin to loader.go by @pingsutw in flyteorg/flytepropeller#562
Flyte v1.6.0 milestone release
Flyte v1.6.0 release
In this release we're announcing support for writing backend plugins in python. This is in experimental state, feedback
and bug reports are welcome!
Database migrations
This release contains a database migration that remediates an issue that we discovered with very old installations of Flyte.
For more details, please read the Flyte [https://github.com/flyteorg/flyte/releases/tag/v1.5.1](1.5.1 release notes).
Platform
As mentioned in the previous release, we are working to improve performance investigations. In this release we're announcing:
- Runtime metrics UI
- Profile time spent in a task via @timeit decorator
- Lazy loading of flytekit dependencies
flytekit
Lots of features shipped in 1.6, including:
For a full changelog, go to https://github.com/flyteorg/flytekit/releases/tag/v1.6.0.
Console
- feat: show launchplan in execution table by @pradithya in flyteorg/flyteconsole#738
- feat: show launch plan information in workflow's schedules by @pradithya in flyteorg/flyteconsole#739
- fix: passthrough runtime env vars by @ursucarina in flyteorg/flyteconsole#741
- chore: add fallback to task execution link by @ursucarina in flyteorg/flyteconsole#743
- chore: allow custom subnav by @ursucarina in flyteorg/flyteconsole#734
- fix: force node executions to pull their status by @ursucarina in flyteorg/flyteconsole#737
- chore: fix details panel card padding by @ursucarina in flyteorg/flyteconsole#745
- chore: fix crash by @ursucarina in flyteorg/flyteconsole#746
- [UI Feature] Add full-list log output to execution detail panel by @james-union in flyteorg/flyteconsole#744
- TLM add log-message window to left panel by @james-union in flyteorg/flyteconsole#748
- [Snyk] Upgrade eslint from 8.31.0 to 8.33.0 by @EngHabu in flyteorg/flyteconsole#695
- chore: [tlm] comprehensive node execution query by @ursucarina in flyteorg/flyteconsole#749
- chore: guard against /tasks failing by @ursucarina in flyteorg/flyteconsole#750
- chore: propagate dynamic parent id by @ursucarina in flyteorg/flyteconsole#751
- Add support fetching description entity by @pingsutw in flyteorg/flyteconsole#735
Admin
- Infer GOOS and GOARCH from environment by @jeevb in flyteorg/flyteadmin#550
- Enrich TerminateExecution error to tell propeller the execution already terminated by @EngHabu in flyteorg/flyteadmin#551
- Address resolution by @wild-endeavor in flyteorg/flyteadmin#546
- Add migration to turn
parent_id
column intobigint
only if necessary by @eapolinario in flyteorg/flyteadmin#554
Propeller
- Moved controller-runtime start out of webhook Run function by @hamersaw in flyteorg/flytepropeller#546
- Fixing recovering of SKIPPED nodes by @hamersaw in flyteorg/flytepropeller#551
- Remove resource injection on the node for container task by @ByronHsu in flyteorg/flytepropeller#544
- Infer GOOS and GOARCH from environment by @jeevb in flyteorg/flytepropeller#552
- fix makefile to read variables from environment and overrides by @jeevb in flyteorg/flytepropeller#554
- Remove BarrierTick by @hamersaw in flyteorg/flytepropeller#545
- Check for TerminateExecution error and eat Precondition status by @EngHabu in flyteorg/flytepropeller#553
- Setting primaryContainerName by default on Pod plugin by @hamersaw in flyteorg/flytepropeller#555
- Implement ability to specify additional/override annotations when using Vault Secret Manager by @pradithya in flyteorg/flytepropeller#556
- Maintaining Interruptible and OverwriteCache for reference launchplans by @hamersaw in flyteorg/flytepropeller#557
- Added support for aborting task nodes reported as failures by @hamersaw in flyteorg/flytepropeller#541
- Added support for EnvironmentVariables on ExecutionConfig by @hamersaw in flyteorg/flytepropeller#558
- Fast fail if task resource requests exceed k8s resource limits by @hamersaw in flyteorg/flytepropeller#488
New Contributors
- @wckdman made their first contribution in flyteorg/flytekit#1588
- @peridotml made their first contribution in flyteorg/flytekit#1599
- @ringohoffman made their first contribution in flyteorg/flytekit#1631
- @elibixby made their first contribution in flyteorg/flytekit#1615
- @ByronHsu made their first contribution in flyteorg/flytepropeller#544
Flyte v1.5.1 milestone release
Flyte 1.5.1 Patch Release
This is a patch release that only contains one change - flyteorg/flyteadmin#560
which cherry-picks flyteorg/flyteadmin#554.
PR #554 adds a migration that remediates an issue that we discovered with very old installations of Flyte. Basically one of the tables node_executions
has a self-referencing foreign key. The main id
column of the table is a bigint
whereas the self-foreign-key parent_id
was an int
. This was a rooted in an early version of gorm and should not affect most users. Out of an abundance of caution however, we are adding a migration to patch this issue in a manner that minimizes any locking.
To Deploy
When you deploy this release of Flyte, you should make sure that you have more than one pod for Admin running. (If you are running the flyte-binary helm chart, this patch release does not apply to you at all. All those deployments should already have the correct column type.) When the two new migrations that #554 added runs, the first one may take an extended period of time (hours). However, this is entirely non-blocking as long as there is another Admin instance available to serve traffic.
The second migration is locking, but even on very large tables, this migration was over in ~5 seconds, so you should not see any noticeable downtime whatsoever.
The migration will also check to see that your database falls into this category before running (ie, the parent_id
and the id
columns in node_executions
are mismatched). You can also do check this yourself using psql. If this migration is not needed, the migration will simply mark itself as complete and be a no-op otherwise.
Flyte v1.6.0-b1 milestone release
Flyte v1.6.0-b1
What's Changed
Console
- feat: show launchplan in execution table by @pradithya in flyteorg/flyteconsole#738
- feat: show launch plan information in workflow's schedules by @pradithya in flyteorg/flyteconsole#739
- fix: passthrough runtime env vars by @ursucarina in flyteorg/flyteconsole#741
- chore: add fallback to task execution link by @ursucarina in flyteorg/flyteconsole#743
- chore: allow custom subnav by @ursucarina in flyteorg/flyteconsole#734
- fix: force node executions to pull their status by @ursucarina in flyteorg/flyteconsole#737
- chore: fix details panel card padding by @ursucarina in flyteorg/flyteconsole#745
- chore: fix crash by @ursucarina in flyteorg/flyteconsole#746
- [UI Feature] Add full-list log output to execution detail panel by @james-union in flyteorg/flyteconsole#744
- TLM add log-message window to left panel by @james-union in flyteorg/flyteconsole#748
- [Snyk] Upgrade eslint from 8.31.0 to 8.33.0 by @EngHabu in flyteorg/flyteconsole#695
- chore: [tlm] comprehensive node execution query by @ursucarina in flyteorg/flyteconsole#749
- chore: guard against /tasks failing by @ursucarina in flyteorg/flyteconsole#750
- chore: propagate dynamic parent id by @ursucarina in flyteorg/flyteconsole#751
- Add support fetching description entity by @pingsutw in flyteorg/flyteconsole#735
Admin
- Infer GOOS and GOARCH from environment by @jeevb in flyteorg/flyteadmin#550
- Enrich TerminateExecution error to tell propeller the execution already terminated by @EngHabu in flyteorg/flyteadmin#551
- Address resolution by @wild-endeavor in flyteorg/flyteadmin#546
- Add migration to turn
parent_id
column intobigint
only if necessary by @eapolinario in flyteorg/flyteadmin#554
Propeller
-
Moved controller-runtime start out of webhook Run function by @hamersaw in flyteorg/flytepropeller#546
-
Fixing recovering of SKIPPED nodes by @hamersaw in flyteorg/flytepropeller#551
-
Remove resource injection on the node for container task by @ByronHsu in flyteorg/flytepropeller#544
-
Infer GOOS and GOARCH from environment by @jeevb in flyteorg/flytepropeller#552
-
fix makefile to read variables from environment and overrides by @jeevb in flyteorg/flytepropeller#554
-
Remove BarrierTick by @hamersaw in flyteorg/flytepropeller#545
-
Check for TerminateExecution error and eat Precondition status by @EngHabu in flyteorg/flytepropeller#553
-
Setting primaryContainerName by default on Pod plugin by @hamersaw in flyteorg/flytepropeller#555
-
Implement ability to specify additional/override annotations when using Vault Secret Manager by @pradithya in flyteorg/flytepropeller#556
-
Maintaining Interruptible and OverwriteCache for reference launchplans by @hamersaw in flyteorg/flytepropeller#557
-
Added support for aborting task nodes reported as failures by @hamersaw in flyteorg/flytepropeller#541
-
Added support for EnvironmentVariables on ExecutionConfig by @hamersaw in flyteorg/flytepropeller#558
-
Fast fail if task resource requests exceed k8s resource limits by @hamersaw in flyteorg/flytepropeller#488
-
@ByronHsu made their first contribution in flyteorg/flytepropeller#544
Flyte v1.5.0 milestone release
Flyte 1.5 release
Platform
We're laying the foundation for an improved experience to help performance investigations. Stay tuned for more details!
We can now submit Ray jobs to separate clusters (other than the one flytepropeller is running). Thanks to flyteorg/flyteplugins#321.
Several bug fixes, including:
- Fix fast-cache bug on first node event
- Split flyte-binary services into http and grpc in helm charts
Database Migrations
One of the improvements planned requires us to clean up our database migrations. We have done so in this release so you should see a series of new migrations.
These should have zero impact if you are otherwise up-to-date on migrations (which is why they are all labeled noop
) but please be aware that it will add a minute or so to the
init container/command that runs the migrations in the default Helm charts. Notably, because these should be a no-op, they also do not come with any rollback commands.
If you experience any issues, please let us know.
Flytekit
Python 3.11 is now officially supported.
Revamped Data subsystem
The data persistence layer was completely revamped. We now rely exclusively on fsspec to handle IO.
Most users will benefit from a more performant IO subsystem, in other words,
no change is needed in user code.
The data persistence layer has undergone a thorough overhaul. We now exclusively utilize fsspec for managing input and output operations.
For the majority of users, the improved IO subsystem provides enhanced performance, meaning that no modifications are required in their existing code.
This change opened the door for flytekit to rely on fsspec streaming capabilities. For example, let's say we want to stream a file, now we're able to do:
@task
def copy_file(ff: FlyteFile) -> FlyteFile:
new_file = FlyteFile.new_remote_file(ff.remote_path)
with ff.open("r", cache_type="simplecache", cache_options={}) as r:
with new_file.open("w") as w:
w.write(r.read())
return new_file
This feature is marked as experimental. We'd love feedback on the API!
Limited support for partial tasks
We can use functools.partial to "freeze"
some task arguments. Let's take a look at an example where we partially fix the parameter for a task:
@task
def t1(a: int, b: str) -> str:
return f"{a} -> {b}"
t1_fixed_b = functools.partial(t1, b="hello")
@workflow
def wf(a: int) -> str:
return t1_fixed_b(a=a)
Notice how calls to t1_fixed_b
do not need to specify the b
parameter.
This also works for MapTasks in a limited capacity. For example:
from flytekit import task, workflow, partial, map_task
@task
def t1(x: int, y: float) -> float:
return x + y
@workflow
def wf(y: List[float]):
partial_t1 = partial(t1, x=5)
return map_task(partial_t1)(y=y)
We are currently seeking feedback on this feature, and as a result, it is labeled as experimental for now.
Also worth mentioning that fixing parameters of type list is not currently supported. For example, if we try to register this workflow:
from functools import partial
from typing import List
from flytekit import task, workflow, map_task
@task
def t(a: int, xs: List[int]) -> str:
return f"{a} {xs}"
@workflow
def wf():
partial_t = partial(t, xs=[1, 2, 3])
map_task(partial_t)(a=[1, 2])
We're going to see this error:
❯ pyflyte run workflows/example.py wf
Failed with Unknown Exception <class 'ValueError'> Reason: Map tasks do not support partial tasks with lists as inputs.
Map tasks do not support partial tasks with lists as inputs.
Flyteconsole
Multiple bug fixes around waiting for external inputs.
Better support for dataclasses in the launch form.
Flyte v1.5.0-a0 milestone release
Flyte v1.5.0-a0 Changelog
- This is an alpha release to help test changes internally before the official release. *
- Noop migrations (flyteorg/flyteadmin#542)
- Tracking reasons time-series (flyteorg/flyteadmin#540)
- Fix fast-cache bug on first node event (flyteorg/flyteadmin#483)
- Bug fix: Branch operator not taking dependencies into account (#3512)
- Persist k8s plugin state between evaluations (flyteorg/flytepropeller#540)
- Add support for GCP Secret Manager (flyteorg/flytepropeller#547)
- Reject button on gate nodes (flyteorg/flyteconsole#733)
- Better error message in casea of invalid json in launch form (flyteorg/flyteconsole#693)
- Split flyte-binary services into http and grpc (#3518)
Flyte v1.4.3 milestone release
Flyte 1.4.3 release
This patch release pulls in the compiler changes necessary to compile gate nodes and the fix for StructuredDataset in flyteorg/flyteadmin#541.
Flyte v1.4.2 milestone release
Flyte 1.4.2 release
This patch release pulls in flyteorg/flyteconsole#721
Flyte v1.4.1 milestone release
Flyte 1.4.1 release
A patch release containing a few bug fixes, including: