-
Notifications
You must be signed in to change notification settings - Fork 7
Improvements around packaging #368
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
Conversation
WalkthroughThe deployment and bundling logic was refactored to introduce a zip archive mutator mechanism. The preflight check now returns a mutator callback, which is passed to the zip creation process, allowing post-processing of the archive. The zip utility was updated to support options for matchers and mutators. Spinner labels were clarified in the deployment workflow. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant CLI
participant Deployer
participant Bundler
participant Util
User->>CLI: Initiate deployment
CLI->>Deployer: PreflightCheck()
Deployer->>Bundler: Bundle()
Bundler-->>Deployer: Bundle result
Deployer->>Bundler: CreateDeploymentMutator()
Deployer-->>CLI: zipMutator, error
CLI->>Util: ZipDir(..., WithMutator(zipMutator))
Util-->>CLI: Deployment zip created
CLI->>Server: Upload deployment zip
Server-->>CLI: Upload response
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
🧰 Additional context used🧬 Code Graph Analysis (1)internal/bundler/bundler.go (1)
⏰ Context from checks skipped due to timeout of 90000ms (2)
🔇 Additional comments (11)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
This was some code left over from a prototype i made last night around potentially bundling python. It has some good capabilities to allow us to inject additional data on-the-fly into the bundle before upload so I'm going to leave it in.
Summary by CodeRabbit
Refactor
Style