<#6971 [V2][EPIC] Ensure Run Service endpoints wor...
# flyte-github
a
#6971 [V2][EPIC] Ensure Run Service endpoints work correctly Issue created by machichima We should ensure all run service endpoints work and give the expected response How to contribute Setup dev env 1. Switch to
v2
branch 2. Run
make sandbox-build
to build the sandbox 3. Do
make sandbox-run
to run the sandbox / or
make sandbox-run FLYTE_DEV=True
to start local dev mode and run single binary with
make -C manager run
4. Then do
export KUBECONFIG=~/.flyte/sandboxv2/kubeconfig
Run 1. Copy the script from #6983 for the endpoint you take 2. You may need to execute an action first, you can do: 1. Add following config to `flyte-sdk`
.flyte/config.yaml
, then run an example (e.g.
python examples/basics/devbox_one.py
) admin: endpoint: dns///localhost30080 insecure: True logger: show-source: true level: 0 image: builder: local task: domain: development project: testproject org: testorg 1. Run the command showed in the sub-issue (may need some modification like update the
RUN_NAME
) 2. Check the result, you can see fields missing (refer to the “Response” table in the sub-issues) RunService Endpoints Checklist • CreateRun • ListRuns • GetActionData • WatchActionDetails • GetRunDetails • WatchRunDetails • GetActionDetails • ListActions • WatchRuns • WatchActions • WatchClusterEvents • AbortRun and AbortAction flyteorg/flyte