google / google/turbinia

[FR]: Implement request poll/wait in turbinia-client

Open
#1,376 3 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

### What would this feature improve or what problem would it solve?

This would allow someone to see when a request is done without having to continuously check.

### What is the feature you are proposing?

Implement a `--wait` flag or similar to `turbinia-client status request` so that the client will continuously poll until the request is completed and then report the full output. A `--poll_interval` flag would also be nice to be able to adjust how often the client polls the state. These are similar to `turbiniactl` flags.

### What alternatives have you considered?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the turbinia-client `status request` command and compare its existing options with the similar `turbiniactl` flags. Trace how request status is reported, then define completion as supporting a wait option that polls until the request completes and reports the full output, with an adjustable poll interval.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.