Skip to content

web-provider: only active configuration fetched for the current context #6

@andreas-karlsson

Description

@andreas-karlsson

Expected behavior

When a new configuration is fetched it should only become active if the context it was fetched for, is (still) the current context when the fetch is resolved.

Actual behavior

If the context is changed in rapid succession we have a race condition. If the fetches don't resolve in the same order they were started, we might activate the "wrong" configuration.

See for instance here. Note: The same problem is applicable to initialise followed by a context change.

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