google / google/turbinia

Healthcheck and status updates during TurbiniaTask.exec()

Open
#559 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
794
Forks
172
PR merge metrics
No merged PRs in 30d

Description

The `exec()` method is currently synchronous, but it would be nice if it would run things in the background and give status updates while long-running tasks are still running. We could also add health-checks which could look for things like whether a give file output is changing size or MAC times, and kill the task if the health checks fail. Maybe each task could have an optional `Task.healthcheck()` method.

Contributor guide

Open the contributing guide

Research direction

Start by reading the TurbiniaTask.exec() entry point and the Task interface, then determine how long-running tasks currently report completion. Define how background execution, status updates, optional Task.healthcheck() methods, output-file size or MAC-time checks, and termination on failed checks should fit together. Done should include an agreed design and coverage for the new behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.