feat: add tenant-scoped artifact uploads - #63
Merged
Conversation
Notyet1307
force-pushed
the
feat/sas-201-artifact-upload
branch
from
September 8, 2026 01:49
99fdd79 to
1192d2c
Compare
4 tasks
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.
Change
POST /v1/runs/{runID}/artifacts?name=...for bounded, streaming raw-byte uploads.X-Artifact-SHA256; validate media type, name, and non-empty size.Security boundaries
404responses.SAS_MAX_BODY_BYTESis enforced with structured413 artifact_too_largeerrors.Verification
make SAS_EXECUTOR=mock SAS_VERIFY_AGENT_COMPOSE=0 verifymake SAS_EXECUTOR=mock SAS_VERIFY_AGENT_COMPOSE=0 race202, terminalsucceeded, upload201, list count2, download200, cross-tenant404, oversized upload413.Non-goals
This local-file baseline does not claim chunked upload, presigned object storage, HA, encryption-at-rest, or lifecycle management. Those belong to the later object-storage phase.
Rollback
Stop new uploads, revert this PR, and retain
SAS_ARTIFACT_DIRuntil the retention decision is complete. Older binaries ignore.metadata, so API-uploaded files remain on disk but are not listed or downloaded.Closes #15