Skip to content

Conversation

@appletreeisyellow
Copy link
Contributor

Fix https://github.com/influxdata/EAR/issues/3937

Users cannot save complicated flux queries even though the queries can be executed and show graphs. See the EAR issue comment for the finding.

This PR is a quick fix that removes the validation on flux so that users can save scripts regardless if that's valid or not. This gives users a way to save any work in progress flux quires and/or complicated flux queries.

Checklist

Authors and Reviewer(s), please verify the following:

  • A PR description, regardless of the triviality of this change, that communicates the value of this PR
  • Well-formatted conventional commit messages that provide context into the change
  • Documentation updated or issue created (provide link to issue/PR)
  • Signed CLA (if not already signed)
  • Feature flagged, if applicable

so that users can save complicated flux as well as
WIP scripts that may contain invalid flux
@appletreeisyellow appletreeisyellow marked this pull request as ready for review February 10, 2023 16:51
@appletreeisyellow appletreeisyellow requested a review from a team as a code owner February 10, 2023 16:51
@appletreeisyellow appletreeisyellow requested review from a team, alejom99 and wiedld February 10, 2023 16:51
wiedld
wiedld previously approved these changes Feb 10, 2023
@wiedld
Copy link
Contributor

wiedld commented Feb 10, 2023

This makes sense, especially given this point about editing scripts in progress.

Glad we're able to keep the validation elsewhere, especially in our UI-generated flux (which has been known to be broken for extended amounts of time previously 🤦🏼‍♀️ ).

@appletreeisyellow
Copy link
Contributor Author

Rebased the PR and updated the test case

@appletreeisyellow appletreeisyellow added this pull request to the merge queue Feb 10, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 10, 2023
@appletreeisyellow appletreeisyellow added this pull request to the merge queue Feb 10, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 10, 2023
@appletreeisyellow appletreeisyellow added this pull request to the merge queue Feb 10, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 10, 2023
@appletreeisyellow appletreeisyellow added this pull request to the merge queue Feb 10, 2023
Merged via the queue into master with commit 3e1d810 Feb 10, 2023
@appletreeisyellow appletreeisyellow deleted the chunchun/fix-valid-flux branch February 10, 2023 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants