8000 Delay flow error until the flow is completed. by scudette · Pull Request #4210 · Velocidex/velociraptor · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Delay flow error until the flow is completed. #4210

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 27, 2025
Merged

Delay flow error until the flow is completed. #4210

merged 1 commit into from
Apr 27, 2025

Conversation

scudette
Copy link
Contributor

Prevously the flow state was set to error as soon as a log was issued at level ERROR however the query continued running until the end. This caused the GUI to disable the cancel button so it was impossible to cancel the flow.

This PR Keeps the flow at the IN_PROGRESS state until completion while tagging the error message in the flow. This allows the flow to be cancelled after the error by the GUI. After completion the flow will be switched to the ERROR state.

Also:

  1. Fix Registry accessor parsing of MULTI_SZ fields.
  2. Fix Generic.Client.Profile artifact
  3. Refactor tests to use the global mock clock

Prevously the flow state was set to error as soon as a log was issued
at level ERROR however the query continued running until the end. This
caused the GUI to disable the cancel button so it was impossible to
cancel the flow.

This PR Keeps the flow at the IN_PROGRESS state until completion while
tagging the error message in the flow. This allows the flow to be
cancelled after the error by the GUI. After completion the flow will
be switched to the ERROR state.

Also:
1. Fix Registry accessor parsing of MULTI_SZ fields.
2. Fix Generic.Client.Profile artifact
3. Refactor tests to use the global mock clock
@scudette scudette merged commit cda0eb7 into master Apr 27, 2025
3 checks passed
@scudette scudette deleted the flowstate branch April 27, 2025 13:35
scudette added a commit that referenced this pull request May 20, 2025
Prevously the flow state was set to error as soon as a log was issued at
level ERROR however the query continued running until the end. This
caused the GUI to disable the cancel button so it was impossible to
cancel the flow.

This PR Keeps the flow at the IN_PROGRESS state until completion while
tagging the error message in the flow. This allows the flow to be
cancelled after the error by the GUI. After completion the flow will be
switched to the ERROR state.

Also:
1. Fix Registry accessor parsing of MULTI_SZ fields.
2. Fix Generic.Client.Profile artifact
3. Refactor tests to use the global mock clock
scudette added a commit that referenced this pull request May 20, 2025
Prevously the flow state was set to error as soon as a log was issued at
level ERROR however the query continued running until the end. This
caused the GUI to disable the cancel button so it was impossible to
cancel the flow.

This PR Keeps the flow at the IN_PROGRESS state until completion while
tagging the error message in the flow. This allows the flow to be
cancelled after the error by the GUI. After completion the flow will be
switched to the ERROR state.

Also:
1. Fix Registry accessor parsing of MULTI_SZ fields.
2. Fix Generic.Client.Profile artifact
3. Refactor tests to use the global mock clock
scudette added a commit that referenced this pull request May 20, 2025
Prevously the flow state was set to error as soon as a log was issued at
level ERROR however the query continued running until the end. This
caused the GUI to disable the cancel button so it was impossible to
cancel the flow.

This PR Keeps the flow at the IN_PROGRESS state until completion while
tagging the error message in the flow. This allows the flow to be
cancelled after the error by the GUI. After completion the flow will be
switched to the ERROR state.

Also:
1. Fix Registry accessor parsing of MULTI_SZ fields.
2. Fix Generic.Client.Profile artifact
3. Refactor tests to use the global mock clock
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.

1 participant
0