acceptable-knife-37130
08/27/2026, 4:28 AMwide-vegetable-51116
08/27/2026, 1:32 PMacceptable-knife-37130
08/27/2026, 1:39 PMacceptable-knife-37130
09/03/2026, 4:46 PMpython-plugin using pyo3.
├── Cargo.toml
├── src
│ ├── condition.rs
│ ├── config
│ │ └── loader.rs
│ ├── config.rs
│ ├── context.rs
│ ├── controller.rs
│ ├── deploy.rs
│ ├── environment.rs
│ ├── error.rs
│ ├── hash.rs
│ ├── idl.rs
│ ├── image.rs
│ ├── interface.rs
│ ├── lib.rs
│ ├── runtime
│ │ ├── local.rs
│ │ ├── remote
│ │ │ ├── client
│ │ │ │ ├── auth.rs
│ │ │ │ └── cluster.rs
│ │ │ ├── client.rs
│ │ │ ├── run.rs
│ │ │ └── task.rs
│ │ └── remote.rs
│ ├── runtime.rs
│ ├── storage.rs
│ ├── submit.rs
│ ├── trace.rs
│ ├── types.rs
│ ├── worker
│ │ ├── contract.rs
│ │ └── execute.rs
│ └── worker.rs
└── tests
├── context_propagation.rs
├── devbox_deploy.rs
├── golden.rs
├── image_context_builds.rs
├── local_mode.rs
└── storage_local.rs
I also plan to add a cli using clap to it, so people can register task using rust.
Hopefully i can get some time over the weekend to test a few more things and paln to submit it by latest next weekend.
Just so everyone one is aware:
1. Created flyteidl rust in flyte repo.
2. Changes flyte-rs-controller in flyte-sdk repo. (I seriously think you shoudl take it out from there and put it in its own repo).
3. Flyte-rs-sdk repo with the new idl.
4. Currently your -flyte-go-sdk cannot register new task. I think it will use the rs-controller as well. If all your SDK’s are using/plan-to-be-using it, take it out of flyte-sdkacceptable-knife-37130
09/04/2026, 1:24 PMflyte run in rust-sdk
1. There should be two modes for running a task :
a) Binary (where the binary will be provided by the user, who would be running cargo build/release separately, and the binary along with if/any arguments will be run in the backend )
b) Module : The user will provide the rust module path which should have a cargo.toml and the build will happen as the part of the task execution in the backend.
What do you suggest should be the default : like if the use just runs flyte run instead of `flyte run binary`/ flyte run rust-module.freezing-airport-6809
freezing-airport-6809
Flyte-rs-sdk repo with the new idl. this is the same sdk rightacceptable-knife-37130
09/04/2026, 1:33 PMacceptable-knife-37130
09/04/2026, 1:34 PMpython-sdk where ever it makes sensefreezing-airport-6809
b) *Module* : The user will provide the rust module path which should have a cargo.toml and the build will happen as the part of the task execution in the backend. but this will be very slow 😞freezing-airport-6809
acceptable-knife-37130
09/04/2026, 1:38 PMflyte run --help
Usage: flyte run [OPTIONS] [FILE] [TASK] [TASK_ARGS]... [COMMAND]
Commands:
deployed-task Run remote task from the Flyte backend
rust-module Run a rust module/folder containing Cargo.toml on a remote Flyte cluster.
binary Run rust binary file on a remote Flyte cluster.
help Print this message or the help of the given subcommand(s)
But i want to provide a default just in case use types flyte run instead of flyte run binary or flyte run rust-module.
I think rust-module make more sense as the user just will point to the src folder, but yes the build will happen as a part of the taskfreezing-airport-6809
freezing-airport-6809
freezing-airport-6809
acceptable-knife-37130
09/04/2026, 1:58 PMmandatory for remote execution.
[rust-toolchain.toml]
[toolchain]
channel = "1.97.1"
profile = "default"
components = [ "clippy", "rustfmt", "rust-analyzer" ]
targets = [ "wasm32-unknown-unknown" ]
[Cargo build inside task exec]
cargo build--target <aarch64-unknown-linux-gnu>
The user has to provide the target env: wasm (web assemble)/arrch64/x86_64acceptable-knife-37130
09/04/2026, 2:00 PMacceptable-knife-37130
09/04/2026, 2:00 PMacceptable-knife-37130
09/04/2026, 2:13 PMfreezing-airport-6809
acceptable-knife-37130
09/04/2026, 2:51 PMacceptable-knife-37130
09/04/2026, 4:06 PMFROM rust:1-bookworm
WORKDIR /app
COPY . .
RUN cargo build --release
So the docker image will be pulled based on the target env, since we are not providing any --platform tag and cargo will build based on the same env as well. If we pass the --platform tag cargo builds as per the provided platform automatically.
Currently your Image Class in python-sdk takes platform tags for images.acceptable-knife-37130
09/04/2026, 4:08 PMacceptable-knife-37130
09/12/2026, 3:20 PMflyte run is implemented , everything else has a placeholder.
You can try running the example in the example folder:
flyte --config <PATH_TO_CONFIG_YAML> run ./hello-trace my_task --x 21 --label demo
flyte run takes default a folder with src, but has 2 sub commands
rust-module Run a rust module/folder containing Cargo.toml on a remote Flyte cluster.
binary Run rust binary file on a remote Flyte cluster.freezing-airport-6809
freezing-airport-6809
acceptable-knife-37130
09/13/2026, 3:32 PMacceptable-knife-37130
09/13/2026, 3:32 PM