feat(docker): add Runtime Execution Layer with language-specific containers#6
Conversation
…ainers Add 6 Docker containers for HCA autonomous code execution: - Base: OpenCode 1.1.8, ast-grep, ripgrep, jq, yq, fd, python3 - Rust: rustc 1.92, cargo, clippy, nextest, sqlx-cli - TypeScript: Bun 1.3.5, Node 20, tsc, vitest, eslint, biome - Python: Python 3.11, uv 0.9, pytest, ruff, mypy - Generic: markdownlint, prettier, pandoc, aspell - Infrastructure: kubectl 1.35, helm 3.19, helmfile 1.2, kustomize Each container includes SKILL.md templates defining capabilities and allowed tools for OpenCode autonomous operation. Updates ARCHITECTURE.md with Runtime Execution Layer documentation including RuntimeCoordinatorHolon specification and routing logic. Relates to: ARDGBL-1073 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
📝 WalkthroughWalkthroughAdds a Runtime Coordinator holon and a Runtime Execution Layer with five language-specific runtime containers (Rust, TypeScript, Python, Generic, Infrastructure), container images/CI, SKILL.md definitions, routing and port mappings, updated architecture docs/diagrams, and related Dockerfiles and entry/config files. Changes
Sequence Diagram(s)sequenceDiagram
actor Issue as Incoming Issue
participant RC as Runtime Coordinator
participant Detector as Project Detector
participant Registry as Container Registry
participant Container as Runtime Container
participant OpenRouter as OpenRouter/OpenCode
Issue->>RC: Submit task / description
RC->>Detector: Analyze description, extract project markers
Detector-->>RC: Detected language/runtime
RC->>Registry: Lookup matching container (ports 4100–4104)
Registry-->>RC: Return chosen container endpoint
RC->>Container: Route issue + SKILL to chosen runtime
Container->>OpenRouter: Invoke toolchain / external LLMs
OpenRouter-->>Container: Return execution results
Container-->>Issue: Deliver results / artifacts
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Free 📒 Files selected for processing (1)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
- Fix unnecessary regex escape characters in cursor-reviewer.ts - Fix unnecessary regex escape characters in github-client.ts - Run prettier on all TypeScript files Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add docker-runtimes.yml workflow for automated multi-platform builds - Build base image first, then all runtime images in parallel - Support for linux/amd64 and linux/arm64 platforms - Add BASE_IMAGE build arg to all runtime Dockerfiles for CI compatibility - Trigger on push/PR to master when runtime files change - Generate build summaries with pull/run commands Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Looks like there are a few issues preventing this PR from being merged!
If you'd like me to help, just leave a comment, like Feel free to include any additional details that might help me get this PR into a better state. You can manage your notification settings |
- Use digest-based image references (immutable, immediately available) - Add registry availability check with retry loop (30 attempts, 10s each) - Skip runtime builds on PRs (base isn't pushed, so runtimes can't build) - Add separate PR validation summary - Pass base image digest to runtime builds via BASE_IMAGE arg Fixes issue where runtime builds failed because base image wasn't propagated in registry yet after push. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Summary
Container Details
Relates to
Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit
Documentation
New Features
Chores
✏️ Tip: You can customize this high-level summary in your review settings.