You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy the backend openapi.filtered.yaml into the CLI public OpenAPI spec and regenerate the Rust client.
Align upload/preprocess with tellers-app: upload requests include file_type, preprocess uses cutter_sensitivity = 0.2, and MXF UMIDs are no longer sent as override_entity_ids.
Remove the public --generate-proxy upload option. The behavior is now fixed: --local-encoding sends generate_proxy: []; non-local uploads omit generate_proxy.
Add a machine-readable local-encoding path that avoids initializing the terminal progress UI, so local downscale/upload can run in non-interactive contexts.
Update dry-run preprocess output to reflect the payload that will be sent.
Why
CLI uploads with local downscale, especially MXF, diverged from app uploads and could interfere with config-driven description generation. The main issue was that the CLI could send backend preprocess fields that the app does not send, including MXF-derived override_entity_ids. For local encoding, the backend still needs an explicit empty proxy list so it does not enqueue server-side proxy generation after the CLI has already uploaded the locally generated proxy.
Verified target/debug/tellers upload upload --help no longer lists --generate-proxy.
Tested MXF local upload against localhost: --local-encoding --qualities 720p --show-status-until-analysed --V01BV.mxf succeeded with asset 0fb83a6f-0fcd-4f4f-b819-1fcd6eedd827 in 42s.
Update: added --api-key to tellers upload upload. It uses the provided argument first and still falls back to TELLERS_API_KEY when omitted.\n\nValidation:\n- cargo check --all-targets\n- cargo build\n- Verified target/debug/tellers upload upload --help lists --api-key <API_KEY>.
Fix: the 401 was caused by the CLI passing the API key as the generated client's authorization parameter for /users/assets/preprocess, leaving x-api-key unset. Updated both preprocess call sites to pass Some(api_key) as the x_api_key argument and the bearer token separately.\n\nValidation:\n- cargo check --all-targets\n- cargo build\n\nNote: a local end-to-end retry got past the immediate 401 point but the local backend task endpoint stopped returning, so I stopped the waiting client process.
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
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
openapi.filtered.yamlinto the CLI public OpenAPI spec and regenerate the Rust client.tellers-app: upload requests includefile_type, preprocess usescutter_sensitivity = 0.2, and MXF UMIDs are no longer sent asoverride_entity_ids.--generate-proxyupload option. The behavior is now fixed:--local-encodingsendsgenerate_proxy: []; non-local uploads omitgenerate_proxy.Why
CLI uploads with local downscale, especially MXF, diverged from app uploads and could interfere with config-driven description generation. The main issue was that the CLI could send backend preprocess fields that the app does not send, including MXF-derived
override_entity_ids. For local encoding, the backend still needs an explicit empty proxy list so it does not enqueue server-side proxy generation after the CLI has already uploaded the locally generated proxy.Validation
cargo checkcargo check --all-targetscargo test --no-runcargo buildrustfmt --edition 2021 --check src/commands/upload/main.rs src/commands/upload/dry_run.rstarget/debug/tellers upload upload --helpno longer lists--generate-proxy.--local-encoding --qualities 720p --show-status-until-analysed --V01BV.mxfsucceeded with asset0fb83a6f-0fcd-4f4f-b819-1fcd6eedd827in 42s.