Conversation
This was referenced May 26, 2026
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.
Why: this is the Android companion canary for the contract-generated TUS effort.
tus-android-clientdelegates wire-level behavior totus-java-client, so this PR keeps protocol truth generated from the shared contract while proving Android-specific content URI, storage, callback, and request-observation paths still work.Experimental Status
Experimental work: this PR is part of an exploratory contract/generated docs and SDK effort, and is intentionally kept as a Draft while the approach is validated.
What Changed
singleUploadLifecyclefeature and verifiesTusPreferencesURLStoresatisfies the generatedstore-resume-urlprimitivetus-java-clientGradle composite builds so Android QA can use the companion Java branch before the new hooks/deferred-length APIs are released to Mavenruns-on, addingready_for_review, and enabling manualworkflow_dispatchValidation
ANDROID_HOME=/Users/kvz/.cache/devdock/android-sdk ANDROID_SDK_ROOT=/Users/kvz/.cache/devdock/android-sdk ./gradlew checkapi2/bin/cli.ts contracts sdks --no-motd --target tus --platform android --sdk-root ../tus-android-client --compare-existingapi2/bin/cli.ts contracts sdks qa --no-motd --target tus --platform android --dry-runcore/bin/devdock.ts exec tstrun cmds/ContractsCommand.vitest.ts -vv --max-time-per-test 420from the API2 companion checkoutcore/bin/devdock.ts exec tstrun system/sdk_examples/android-tus-transloadit-assembly-upload.test.ts -vv --max-time-per-test 900from the API2 companion checkoutandroid (17)andandroid (21)passed on commit21b3cdfCompanion PRs (tus org only)
Notes
Standalone CI checks out
tus-java-client@tus-geninto the Android checkout andsettings.gradleaccepts both sibling and nested composite builds. That keeps this Draft consumable before the Java lifecycle hooks and deferred-length API are released to Maven.Latest: Android now proves deferred-length uploads, request lifecycle hooks, and retry-offset recovery. The latest retry proof simulates one post-PATCH IO failure from scenario data, observes the recovery
HEAD, and finishes with the finalPATCHagainst real API2/tusd.