Repository navigation
Add generated TUS protocol canary #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
kvz
wants to merge
101
commits into
master
Choose a base branch
from
tus-gen
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
101 commits
Select commit
Hold shift + click to select a range
65932e9
Add generated TUS protocol contract canary
kvz 177b8f8
Regenerate TUS protocol contract fixture
kvz e91f12a
Regenerate TUS feature contract fixture
kvz 15d1231
Regenerate upload body protocol fixture
kvz 4e92795
Assert generated TUS upload events
kvz deab9a5
Cover TUS request lifecycle conformance
kvz 50a702f
Cover TUS abort conformance
kvz ed1f367
Cover TUS URL storage conformance
kvz af4d6ca
Cover TUS relative Location conformance
kvz 907218a
Refresh TUS input source contract
kvz d9ca945
Refresh TUS retry state contract
kvz 74cee7c
Refresh TUS URL storage contract
kvz f8a871b
Refresh TUS protocol selection contract
kvz 95952fe
Refresh TUS start validation contract
kvz 8da958d
Update detailed error conformance
kvz 8883866
Add generated URL storage backend
kvz 290220e
Add generated URL storage resume flow
kvz f009da6
Add generated URL storage create flow
kvz 618236d
Add generated file upload helper
kvz 9a30c6a
Add generated file-backed upload helper
kvz 1274cd6
Add generated retry offset recovery flow
kvz e5db73f
Add generated termination retry flow
kvz 9096f2d
Add generated request lifecycle hooks
kvz de17f62
Add generated upload event hooks
kvz a03bc15
Add generated upload success hooks
kvz 86eef80
Add generated upload abort context
kvz 7a4045e
Add generated abort termination flow
kvz 90c44a0
Add generated parallel upload flow
kvz c002eec
Add generated parallel cleanup flow
kvz b305045
Add generated creation extension flows
kvz 300ee80
Add generated creation continuation validation
kvz de35f87
Add generated request policy flows
kvz a2660c6
Add generated abort request policy
kvz 66248b7
Add generated parallel cleanup request policy
kvz 262b456
Regenerate TUS protocol fixture
kvz 4b9898b
Emit creation upload chunk completion
kvz a265686
Use generated TUS event policies
kvz 27d2214
Assert generated TUS retry events
kvz a3c66e0
Use generated TUS termination execution hints
kvz 30df86e
Use generated TUS request-start cancellation hints
kvz cb24023
Use generated TUS parallel request gates
kvz 69eb89d
Expose TUS managed upload contract
kvz 55a8567
Expose managed upload proof cases
kvz 5cd3279
Update managed upload proof fixture
kvz bf1a839
Update managed upload proof fixture
kvz 64583ef
Update managed upload proof fixture
kvz b812d95
Update managed upload proof fixture
kvz ab13e22
Update generated protocol contract fixture
kvz ac05505
Update generated managed upload contract
kvz 6f075b9
Add devdock Transloadit upload example
kvz 2df2b65
Use prepared Assembly in devdock example
kvz 21f47ca
Regenerate TUS URL storage proofs
kvz fd9cd69
Use generated TUS header defaults
kvz f27b23f
Use generated protocol header defaults
kvz 9e80f85
Add generated TUS request ID proof
kvz 2371b94
Use generated TUS method override table
kvz efe9d87
Derive parallel TUS header assertions
kvz 1e9b633
Derive creation and deferred TUS headers
kvz 41f8c9f
Derive retry TUS header assertions
kvz 2ed094f
Derive event TUS header assertions
kvz e03d996
Derive create TUS header assertions
kvz b0ee935
Derive remaining TUS header assertions
kvz 9c12c19
Regenerate TUS deferred length proofs
kvz ac042de
Regenerate Go TUS event key helpers
kvz 79729d9
Regenerate Go TUS per-proof event prefixes
kvz 888a1fb
Use generic TUS extra event matching policy
kvz 06883d9
Regenerate TUS event key helpers
kvz f48657e
Regenerate contract TUS flow tests
kvz 0ae7f60
Regenerate TUS termination retry contract test
kvz ae0b4a7
Assert abort termination headers
kvz 81605c6
Assert parallel cleanup termination headers
kvz 03f40b3
Regenerate TUS transport fixture
kvz b1d0e4e
Regenerate TUS protocol response fixtures
kvz f7a43f0
Add termination devdock example
kvz c149ad7
Add resume devdock example
kvz 112299d
Fix resume devdock URL storage proof
kvz b1eb712
Add Go TUS devdock coverage for creation and retry
kvz 828c82f
Add request lifecycle devdock proof
kvz 5f8f15c
Add API2 upload callback proof
kvz f8bf320
Add API2 custom request headers proof
kvz 309646e
Add API2 request ID headers proof
kvz a1b364f
Add API2 upload body headers proof
kvz f6c53c3
Add deferred-length TUS devdock proof
kvz 73cf8f4
Add API2 file URL storage proof
kvz c4fae1b
Add API2 abort upload proof
kvz 172a7ec
Add API2 override PATCH proof
kvz 6e62371
Add API2 relative Location proof
kvz cd429da
Add API2 parallel upload proof
kvz 7b5703a
Add API2 retry state proof
kvz 14c4ecd
Match conformance requests by facts
kvz 3370dc3
Add API2 start validation proof
kvz 2321ad3
Add API2 protocol version proof
kvz 6c42eaf
Add Go node path input source proof
kvz 009fbb9
Add Go detailed error proof
kvz f2a1680
Make repo gofmt-clean
kvz ff0526b
Use generated Go TUS endpoint paths
kvz cde1474
Use generated Go TUS request counts
kvz d1a47c8
Load TUS contract tests from canonical fixture
kvz 5320941
Compile away generated policy assertions
kvz 192273c
Generate TUS failure response facts
kvz e597b08
Simplify generated TUS policy paths
kvz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -75,4 +75,3 @@ var _ = Describe("HashBase64ReadWriter", func() { | |
| }) | ||
| }) | ||
| }) | ||
|
|
||
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[P1] Do not mark partial creation data as complete. Passing
trueoverrides the completion value thatuploadChunkImplalready calculates. With draft-05, a creation request with 2 of 5 bytes sendsUpload-Complete: ?1. This marks an unfinished upload as complete. Remove this override so the stream calculation controls the header.