Skip to content

API stability proposal  #3390

Open
Open

Description

@mattklein123

This is an extension of the conversation started in:
https://docs.google.com/document/d/1eDQQSxqx2khTXfa2vVm4vqkyRwXYkPzZCcbjxJ2_AvA/edit?ts=5af97a4e

Ultimately, we would like to stabilize the API and have a deprecation period like we do for config changes. Getting there is going to take a bunch of thought and a solid plan. We also need to make sure we don't reduce velocity when the project is still relatively young.

Related to #827

cc @brian-pane @htuch @alyssawilk @envoyproxy/maintainers

Activity

  1. htuch commented on May 15, 2018

    @htuch
    Member

    FWIW, and not that I think it's a good idea, but if we ever want to support binary modules with a stable ABI (e.g. as with vendor supplied Linux kernel binary drivers), this would be needed.

  2. ggreenway commented on May 15, 2018

    @ggreenway
    Member

    I think we should wait for this until the project is more mature. Or at most make this a best-effort idea. I don't want to restrict refactoring and code-cleanup due to out-of-tree code.

  3. lizan commented on May 17, 2018

    @lizan
    Member

    I think we should wait for this until the project is more mature. Or at most make this a best-effort idea. I don't want to restrict refactoring and code-cleanup due to out-of-tree code.

    That was my feeling when I filed #2925 and I agree. Tough I would love to see some level of API stability for a subset of them.

  4. dnoe commented on May 8, 2019

    @dnoe
    Contributor

    Noting here for future reference that PR #6826 was the sort of thing that caused breakage after a subtle internal API change, and we should make sure that the API stability proposal covers this kind of case.

  5. htuch commented on May 8, 2019

    @htuch
    Member

    @dnoe are you talking about internal API/ABI stability or Envoy's control and configuration APIs?

  6. dnoe commented on May 8, 2019

    @dnoe
    Contributor

    Internal, basically the extensions APIs. We need to think especially carefully about how we communicate and what the process looks like for cases where the API changes in ways that would not immediately break compilation.

  7. htuch commented on May 8, 2019

    @htuch
    Member

    Yeah, there's a lot of work to be done here. I actually was confused by the title, it's the same almost as my current proposal on external API stability :)

  8. mattklein123 commented on Dec 5, 2019

    @mattklein123
    MemberAuthor

    FYI I think the current plan here is to adopt the WASM ABI as our stable filter API.

  9. htuch commented on Feb 10, 2023

    @htuch
    Member

    @mattklein123 any update to thinking here or should we close this out with #3390 (comment) as PoR?

  10. mattklein123 commented on Feb 10, 2023

    @mattklein123
    MemberAuthor

    @mattklein123 any update to thinking here or should we close this out with #3390 (comment) as PoR?

    Sorry which comment as the PoR? I'm not sure we have any good plan here still.

  11. htuch commented on Feb 14, 2023

    @htuch
    Member

    The one I linked to (#3390 (comment)). Basically, we will use Wasm ABI as the only stable ABI for filters (Wasm, C++ NullVm etc).

  12. mattklein123 commented on Feb 14, 2023

    @mattklein123
    MemberAuthor

    I don't know that we have made any progress on this one way or the other. Practically, the Wasm ABI is the only way today to have any hope of a stable ABI. I would be fine just saying this is the way it always will be but I don't feel super strongly about it.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions