Implement perry/container and perry/workloads modules#67
Implement perry/container and perry/workloads modules#67yumin-chen wants to merge 3 commits intomainfrom
Conversation
Implemented a production-ready container management system for the Perry language. Key features: - OCI container lifecycle management (run, create, start, stop, remove). - Multi-service orchestration via the `ComposeEngine` in a new `perry-container-compose` crate. - Platform-adaptive backend detection (apple/container, podman, orbstack, etc.). - Workload Graph API for typed DAG-based deployments. - Security-first image verification using Sigstore/cosign. - Ephemeral capability containers for sandboxed shell commands. - Full compiler integration in HIR and codegen for native module dispatch. - Opaque handle registry for JS-to-Rust resource tracking. - WIT interface definition for non-JS execution targets. Co-authored-by: yumin-chen <10954839+yumin-chen@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
Fixed the failing cargo tests and warnings. Specifically:
|
Acknowledged. I have fixed the build errors and warnings that were causing the CI failures. |
|
Fixed the build by resolving the |
- Implemented OCI container lifecycle management and Compose orchestration.
- Added `perry-container-compose` crate for backend-agnostic deployments.
- Implemented Workload Graph API for typed DAG-based workloads.
- Integrated image verification using Sigstore/cosign.
- Added support for ephemeral capability containers.
- Fixed various build warnings and FFI signature mismatches reported in PR comments:
- Unified `js_string_from_bytes` signatures to `(ptr: *const u8, len: u32) -> i64`.
- Fixed `msg_send!` macro syntax in `qrcode.rs`.
- Corrected `class_addMethod` and `sel_registerName` extern declarations.
- Addressed unused variable and unnecessary `unsafe` block warnings.
- Properly exported `cli` module in `perry-container-compose`.
Co-authored-by: yumin-chen <10954839+yumin-chen@users.noreply.github.com>
Implemented the
perry/containerandperry/workloadsmodules, providing a comprehensive Rust-backed infrastructure for OCI container management and orchestration. The implementation includes theperry-container-composecrate for core logic, a robust FFI bridge inperry-stdlib, and full compiler support inperry-hirandperry-codegen. Features image verification, automatic backend detection, and support for multi-service workloads.PR created automatically by Jules for task 16210019807064439760 started by @yumin-chen