Skip to content

Ensure completed flag is set on remote query history items#1434

Merged
charisk merged 1 commit intomainfrom
charisk/query-history-fix
Jul 19, 2022
Merged

Ensure completed flag is set on remote query history items#1434
charisk merged 1 commit intomainfrom
charisk/query-history-fix

Conversation

@charisk
Copy link
Copy Markdown
Contributor

@charisk charisk commented Jul 19, 2022

Query history items have a completed flag as well as a status that could be Completed. I believe the reason we have a completed flag is historical. This PR makes sure the completed flag is set if the status is Completed for remote query history items and also adds some logic to patch up existing data.

Checklist

N/A:

  • 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 a review from a team as a code owner July 19, 2022 07:56
@charisk charisk added the secexp label Jul 19, 2022
Copy link
Copy Markdown
Contributor

@shati-patel shati-patel left a comment

Choose a reason for hiding this comment

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

Works locally and looks good to me! Thanks for thinking of "patching" older items too 🩹

@charisk charisk merged commit 651a6fb into main Jul 19, 2022
@charisk charisk deleted the charisk/query-history-fix branch July 19, 2022 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants