feat(drop): deploy uploaded source archives - #549
Draft
dviejokfs wants to merge 3 commits into
Draft
Conversation
Add browser and CLI Drop flows, preset inspection, persisted source bundles, uploaded-source workflow planning, and project container cleanup.
📓 Changelog previewThis is what your commits will add to the generated ## [Unreleased]
### Added
- **drop:** Deploy uploaded source archives
### Fixed
- **drop:** Harden uploaded deployments and cleanup |
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
/dropproject inspection and uploaded-source deployment APIsPaired fixture PR: gotempsh/temps-examples#13
Status
Draft — security review is currently
REQUEST_CHANGES. Do not merge yet.Known blocking work:
uploaded-source-*treesproject.directoryneeds strict relative-path validation and canonical containment before becoming a Docker build contextAdditional follow-up findings include streaming large multipart uploads rather than buffering 500 MB, enforcing extraction quotas from actual bytes written, regenerating SDK operations for both endpoints, restricting advertised archives to implemented formats, and adding .NET manifest detection.
Evidence
Rust
Result: both completed successfully. Cargo check built 540 crates with zero errors; clippy completed with zero errors.
Web
Result: TypeScript passed; 11 tests passed, 0 failed.
Compatibility harness
Result:
zero-config compatibility harness test passed.Uploaded-source runtime matrix
The paired
temps-examplesrunner packaged each source directory, called/api/drop/inspect, created an uploaded-source project, deployed it, verified/and/health, deleted the project, and checked Docker cleanup..csprojdetection is not implementedProject rows, stored fixture archives, and labeled Docker containers were removed. The run reproduced the extraction-directory leak; the seven test directories were then removed manually.
Known baseline check failure
apps/temps-cli/bun run typecheckreports existing errors inopenapi-ts.config.ts,env-sync, environments, notifications, and providers. It reported no error in the new Drop command. This draft does not claim the repository-wide CLI type-check is green.Review findings to resolve
.tempsignore/.gitignorepackaging behavior to avoid uploading secrets and build directories