feat(cli): show media state in list command #82 - #112
Open
FaiziNerd wants to merge 1 commit into
Open
Conversation
Collaborator
|
Please update PR title/description according to contributions guidelines and clarify any public facing change. |
Author
|
This is issue number 82. Improved the Title and the description of the PR. Do tell me if anything can be improved |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
vidxp media listnow displays the existingMediaAsset.statevalue in aStatecolumn in the human-readable table.This allows users to distinguish
ready,pending, andfailedmedia without opening each media item.The change is needed because the media state was already available to the CLI but was omitted from the human-readable table.
The existing JSON output and pagination contract are unchanged. No new lifecycle states, state-computation logic, dependencies, environment variables, downloads, or migrations are introduced.
This is a public-facing CLI output change.
Validation
Focused regression test:
py -m uv run pytest -q tests/test_cli.py -k media_list_shows_media_stateManual CLI verification:
py -m uv run vidxp media listStatecolumn.Full test suite:
py -m uv run pytest -qtests/test_frontend_app.py::FrontendAppTests::test_ready_page_renders_once_and_submits_first_searchAppTest script run timed out after 10(s)timeout.