Skip to content

Decide if we should package generated core SDK with Dagger or rely on user-run codegen #3320

Closed

Description

@sipsma

One possibility: we package the core sdk for now. In the future we transitioned to codegen but provide some light tooling to ease the transition. There are already tools for rewriting go imports automatically so I don't think this would require great effort on our part (🤞)

Activity

  1. changed the title [-]Decide if we should package generated `core` SDK with Dagger or rely on codegen[/-] [+]Decide if we should package generated `core` SDK with Dagger or rely on user-run codegen[/+] on Oct 11, 2022
  2. shykes commented on Oct 11, 2022

    @shykes
    Contributor

    Based on today's live discussion (link?) the consensus seems to be:

    • Drop user-run codegen for now
    • Plan on re-introducing it later as part of the Extensions feature
    • In the meantime, look for opportunities to "nudge" the DX in the right direction, so that switching to extensions is easier. For example, the Go SDK could be structured to encourage creating the equivalent of an operations document, but in Go. Basically a named collection of reusable functions, which could later be moved into an extension with minimal effort
  3. sipsma commented on Oct 13, 2022

    @sipsma
    ContributorAuthor

    Based on today's live discussion (link?) the consensus seems to be:

    Yeah I opened this in case I or anyone came up with any better ideas but this is the route we're going. Closing now

  4. helderco commented on Oct 14, 2022

    @helderco
    Contributor

    The core api is already powerful. I like the idea of being able to start writing a script without having to generate first. Generate only if having other dependencies. I'm not just talking about Go, Python and Typescript can be the same.

    Drop user-run codegen for now

    I don't have context. What's the reason? Was there a difficulty getting this to user? Or is it just for easier adoption?

    Plan on re-introducing it later as part of the Extensions feature

    What's the plan? Do we intend to eventually "user-run" codegen even for core? Just trying to understand if this is temporary.

  5. shykes commented on Oct 14, 2022

    @shykes
    Contributor

    Drop user-run codegen for now

    I don't have context. What's the reason? Was there a difficulty getting this to user? Or is it just for easier adoption?

    It’s a consequence of cutting extensions from first tech preview, to buy us time to finish the extensions design. Codegen is part of that design, so we’re cutting it too.

    Plan on re-introducing it later as part of the Extensions feature

    What's the plan? Do we intend to eventually "user-run" codegen even for core? Just trying to understand if this is temporary.

    We don’t know exactly how we’ll reintroduce it, since that’s part of the unfinished extensions design. We’re taking a leap of faith that we’ll figure it out, and that having actual usage on the tech preview will make it easier.

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