Skip to content

[V2][EPIC] Ensure Run Service endpoints work correctly #6971

@machichima

Description

@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 [V2] Example script for run service #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:///localhost:30080
  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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions