Skip to content

Guarantee ordering between plugin hooks #8486

Open

Description

@hendrikmakait

Problem

Currently, there are no ordering guarantees between plugin hooks. In particular, start/setup and close/teardown get executed concurrently for all plugins. This creates problems in some cases (e.g., #8485) and makes it generally harder to reason about things.

Proposed Solution

It would be nice if we could guarantee ordering between the individual plugins. This probably means that we choose their registration order to ensure that the ordering is always the same, e.g. for existing and new workers.

Notes

There are some caveats to this, like non-ordered RPC calls (#7480), that we need to consider.

Activity

  1. added
    enhancementImprove existing functionality or make things work better
    on Jan 31, 2024
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

    enhancementImprove existing functionality or make things work better

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions