Skip to content

Stop allowing running MRVA with query outside of workspace#3302

Merged
charisk merged 5 commits intomainfrom
charisk/remove-single-query-special-case
Feb 5, 2024
Merged

Stop allowing running MRVA with query outside of workspace#3302
charisk merged 5 commits intomainfrom
charisk/remove-single-query-special-case

Conversation

@charisk
Copy link
Copy Markdown
Contributor

@charisk charisk commented Jan 31, 2024

We currently allow users to run a MRVA with a query that is not in their workspace. However, this can become problematic, specially when adding multi-query support.

In this change we introduce a restriction where users cannot run a MRVA if the query is not in their workspace.

Checklist

TODO:

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

@charisk charisk requested review from a team as code owners January 31, 2024 14:49
Copy link
Copy Markdown
Contributor

@robertbrignull robertbrignull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM assuming we have agreement that we want this behaviour change

charisk and others added 2 commits January 31, 2024 15:08
Co-authored-by: Robert <robertbrignull@github.com>
@charisk charisk merged commit bc4d742 into main Feb 5, 2024
@charisk charisk deleted the charisk/remove-single-query-special-case branch February 5, 2024 11:17
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.

2 participants