GitHub
03/30/2023, 2:57 PM<https://github.com/flyteorg/flytekit-java/tree/master|master>
by github-actions[bot]
<https://github.com/flyteorg/flytekit-java/commit/707398f90c32578e59b28529d59d74f26cdeaa2d|707398f9>
- [maven-release-plugin] prepare for next development iteration
flyteorg/flytekit-javaGitHub
03/30/2023, 4:10 PMGitHub
03/30/2023, 4:47 PMGitHub
03/30/2023, 5:21 PM<https://github.com/flyteorg/flytepropeller/tree/master|master>
by hamersaw
<https://github.com/flyteorg/flytepropeller/commit/01218d2636a30c05b3daf362c335f2b21b793b49|01218d26>
- persisting k8s plugin state between evaluations (#540)
flyteorg/flytepropellerGitHub
03/30/2023, 5:55 PM{"asctime": "2023-03-30 10:54:22,803", "name": "flytekit", "levelname": "WARNING", "message": "FlyteSchema is deprecated, use Structured Dataset instead."}
Expected behavior
That I only get this warning if I am doing something that involves FlyteSchema
Additional context to reproduce
No response
Screenshots
No response
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyteGitHub
03/30/2023, 5:56 PM<https://github.com/flyteorg/flyteconsole/tree/master|master>
by jsonporter
<https://github.com/flyteorg/flyteconsole/commit/ca1b5b83e7177efd941e0c29b0c539fc610dfa87|ca1b5b83>
- gate node in dynamic task (#729)
flyteorg/flyteconsoleGitHub
03/30/2023, 5:56 PMmainwf
that we've been testing on, except that it happens inside a dynamic task instead of the top level workflow.
However when run inside a dynamic workflow, things don't look the same. None of the gate node stuff is there and the approval node only shows Running not Paused.
image▾
GitHub
03/30/2023, 6:05 PMGitHub
03/30/2023, 7:36 PMalpine:3.14
, as this image has only 0 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:
* * *
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information: https://camo.githubusercontent.com/a181da9b8d903a5b93ab84f1a9e0434cafbd927f88695cc88b2ba64ccc456fb9/68747470733a2f2f6170692e7365676d656e742e696f2f76312f706978656c2f747261636b3f646174613d65794a33636d6c305a55746c65534936496e4a79576d785a634564485932527954485a7362306c596430645563566734576b4652546e4e434f5545774969776959573576626e6c746233567a535751694f69497a5a6a646c5a47526c4d69316d596a63334c5451785a4449744f5441304f43316b4f5459354d7a426c4e5759355a6a4d694c434a6c646d567564434936496c425349485a705a58646c5a434973496e42796233426c636e52705a584d694f6e736963484a4a5a434936496a4e6d4e32566b5a4755794c575a694e7a63744e44466b4d6930354d4451344c5751354e6a6b7a4d4755315a6a6c6d4d794a3966513d3d
🧐 View latest project report
🛠️ Adjust project settings
* * *
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.
flyteorg/flyteadmin
GitHub Actions: Goreleaser
GitHub Actions: Build & Push Flytescheduler Image
GitHub Actions: Build & Push Flyteadmin Image
GitHub Actions: Bump Version
Codecov: 58.81% (-0.04%) compared to eb695b1
DCO: DCO
✅ 8 other checks have passed
8/14 successful checksGitHub
03/30/2023, 8:21 PM<https://github.com/flyteorg/flyteconsole/tree/master|master>
by jsonporter
<https://github.com/flyteorg/flyteconsole/commit/c82e7556250582d315d3f6cb3edafb7ab2a16fdf|c82e7556>
- fix: type error on invalid nested json input (#693)
flyteorg/flyteconsoleGitHub
03/30/2023, 8:21 PMdataclass
the UI breaks with an unhelpful react error as shown in the screenshot:
The error we received was:
TypeError: can't convert null to object
There may be additional information in the browser console.
Please find this minimal example workflow:
from typing import Optional, Dict
from dataclasses import dataclass
from dataclasses_json import dataclass_json
from flytekit import task, workflow
@dataclass_json
@dataclass
class MyConfig:
k: Optional[Dict] = None
@task
def t1(a: MyConfig) -> str:
if a.k and "foo" in a.k:
return a.k["foo"]
else:
return "42"
@workflow
def my_wf(a: MyConfig = MyConfig()) -> str:
x = t1(a=a)
return x
where k
has a wrong default. Instead of k: Optional[Dict] = None
, it should be
from dataclasses import field
@dataclass_json
@dataclass
class MyConfig:
k: Optional[Dict] = field(default_factory=lambda: {})
Expected behavior
I am aware of the error on the user side.
Still: I think flyte could show a more helpful error message here to point to the bad parameter.
Additional context to reproduce
The error shown in the browser dev console is:
TypeError: can't convert null to object
**REDACTED**
Object { componentStack: "\n in Unknown\n in div\n in S\n in section\n in ForwardRef\n in div\n in ForwardRef\n in ForwardRef\n in Unknown\n in Unknown\n in div\n in ForwardRef\n in ForwardRef\n in div\n in t\n in ForwardRef\n in s\n in div\n in ForwardRef\n in ForwardRef\n in ForwardRef\n in ForwardRef\n in Unknown\n in E\n in Unknown\n in Unknown\n in Unknown\n in E\n in div\n in Unknown\n in Unknown\n in t\n in t\n in Unknown\n in E\n in t\n in div\n in t\n in Unknown\n in l\n in c\n in l\n in Unknown\n in Unknown\n in Unknown" }
main-965d5331.js:1:369655
Screenshots
image▾
GitHub
03/30/2023, 8:35 PMGitHub
03/30/2023, 9:13 PMfrom flytekit import Secret, task, workflow
@task(secret_requests=[Secret(group="mainsecret", key="na", group_version="1")])
def secret_task() -> str:
with open("/etc/flyte/secrets/mainsecret/1") as f:
return f.read()
@workflow
def wf() -> str:
x = secret_task()
return x
Screenshot 2023-03-30 at 2 03 25 PM▾
key
, even though the secrets plugin does not use it. @Yee: we may want to consider making this optional. Flytekit will also need support for including the group version in the file path when fetching secrets.
flyteorg/flytepropeller
GitHub Actions: Goreleaser
GitHub Actions: Build & Push Flytepropeller Image
GitHub Actions: Bump Version
✅ 11 other checks have passed
11/14 successful checksGitHub
03/30/2023, 9:52 PMGitHub
03/30/2023, 11:22 PMGitHub
03/31/2023, 12:57 AM<https://github.com/flyteorg/flytepropeller/tree/master|master>
by wild-endeavor
<https://github.com/flyteorg/flytepropeller/commit/f88f165ccf8f9896223dfc61936948fda3de29e4|f88f165c>
- Add support for GCP secret manager (#547)
flyteorg/flytepropellerGitHub
03/31/2023, 12:57 AM<https://github.com/flyteorg/flytekit/tree/master|master>
by wild-endeavor
<https://github.com/flyteorg/flytekit/commit/9658b02fc674db1f89db4fda64c988a153953ca3|9658b02f>
- Support GCP secrets (#1571)
flyteorg/flytekitGitHub
03/31/2023, 1:59 AMGitHub
03/31/2023, 3:38 AMflyteidl/plugins/
to flyteidl/plugins/kubeflow/
2. Create flyteidl/plugins/kubeflow/common.proto
that contains the definition RestartPolicy, RunPolicy and CleanPodPolicy
3. Add xxxReplicaSpec
in each job type to allow settings of replicas
, image
, resources
and restart_policy
Tracking Issue
fixes flyteorg/flyte#3308
Follow-up issue
flyteorg/flyteidl
✅ All checks have passed
2/2 successful checksGitHub
03/31/2023, 7:32 AMScreenshot 2023-03-31 at 3 31 06 PM▾
GitHub
03/31/2023, 9:21 AMGitHub
03/31/2023, 9:39 AMtask_config
argument.
Currently this fails with:
Failed with Unknown Exception <class 'TypeError'> Reason: __init__() got multiple values for keyword argument 'task_config'
__init__() got multiple values for keyword argument 'task_config'
Expected behavior
This code should execute without any error message:
from flytekitplugins.pod import Pod
from kubernetes.client.models import V1PodSpec
from flytekit import ContainerTask, workflow, kwtypes, Resources
TC = Pod(
pod_spec=V1PodSpec(
containers=[],
node_selector={"key": "value"},
)
)
ct_task = ContainerTask(
name="ellipse-area-metadata-shell",
task_config=TC,
input_data_dir="/var/inputs",
output_data_dir="/var/outputs",
inputs=kwtypes(a=float, b=float),
outputs=kwtypes(area=float, metadata=str),
image="<http://ghcr.io/flyteorg/rawcontainers-shell:v2|ghcr.io/flyteorg/rawcontainers-shell:v2>",
command=[
"./calculate-ellipse-area.sh",
"{{.inputs.a}}",
"{{.inputs.b}}",
"/var/outputs",
],
requests=Resources(
cpu="100m",
mem="1G",
),
)
@workflow
def wf():
ct_task
Additional context to reproduce
No response
Screenshots
No response
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyteGitHub
03/31/2023, 2:04 PMGitHub
03/31/2023, 4:21 PMGitHub
03/31/2023, 4:21 PMGitHub
03/31/2023, 4:38 PMGitHub
03/31/2023, 5:03 PMGitHub
03/31/2023, 5:08 PMGitHub
03/31/2023, 5:54 PMGitHub
03/31/2023, 6:08 PM<https://github.com/flyteorg/flyte/tree/master|master>
by jeevb
<https://github.com/flyteorg/flyte/commit/4bc87b92d90d529863ad8fde04720506f78618c0|4bc87b92>
- Render flyte-sandbox manifests to pick up any changes during release automation (#3561)
flyteorg/flyteGitHub
03/31/2023, 6:08 PM<https://github.com/flyteorg/flyte/tree/master|master>
by jeevb
<https://github.com/flyteorg/flyte/commit/4bc87b92d90d529863ad8fde04720506f78618c0|4bc87b92>
- Render flyte-sandbox manifests to pick up any changes during release automation (#3561)
flyteorg/flyte