influxdata / influxdata/ui

Tasks Editing: Shared state causes race conditions

Open
#4,673 1 comment 0 reactions 0 assignees View on GitHub
IceBox kind/bug team/automation team/dumplings team/ui
Dominant language
TypeScript
Stars
117
Forks
51
Avg merge
2d 15h
Merged PRs (30d)
4

Description

### Background

A race condition in the Task Editing flow exists that is exposed by our e2e tests.

[`TaskForm`](https://github.com/influxdata/ui/blob/master/src/tasks/components/TaskForm.tsx) doesn't have any internal state, it uses global redux state. All tasks refer to the same `taskOptions` in memory, which causes a race condition when changing the reference between tests

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.