Skip to content

Make it easier to run functions #5728

Closed as not planned
Closed as not planned

Description

@shykes

Problem

So far Zenith focused on two modes of usage:

  1. "Easy mode": run a limited set of functions from the CLI
  2. "Power mode": run any functions with unlimited power, from your own functions written with an SDK

We're getting feedback that there is interest in a hybrid: unlimited function execution, without having to go all the way, choose an SDK, setup your own configuration, and write your own functions.

Solution

Possible solutions include:

  • Make it easy to run the GraphQL playground against the API
  • Add a command to the CLI that runs an interactive language interpreter with environment codegen preloaded (kind of like the cloud playground with native language support, but in the command-line)
  • A simple web UI :) Possibly packaged in an IDE extension? 0:-) cc @TomChv @grouville

Activity

  1. TomChv commented on Sep 8, 2023

    @TomChv
    Member

    A simple web UI :) Possibly packaged in an IDE extension? 0:-) cc @TomChv @grouville

    That's a great idea! I'm trying to figure out how we could technically get to that.
    What we basically need to do is:

    • Introspect functions (as Zenith do) to retrieve the GQL schema and display it into a WebUI
    • A call to action to run on of these function from the Web UI, with forms to fill parameters
    • An integration with dagger cloud maybe? To follow the progress of your run? We could handle that by embedding dagger cloud?

    I wonder how we can embed this web-ui . Should it be a new dagger command in the CLI like dagger ui?
    What is the process to power up this UI? Should we deploy it through a docker image that we pull and bind the user workdir?

    If we can do a web UI, the IDE extension will be more or less the same on the principle, the difference will be on the user experience.

  2. changed the title [-]Zenith: make it easier to run functions[/-] [+]Make it easier to run functions[/+] on Mar 25, 2024
  3. shykes commented on Mar 26, 2024

    @shykes
    ContributorAuthor

    This issue is pretty generic. I will close it in favor of more specific proposals:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions