fix(minimald): correct command over ssh exec for package build - #984
Conversation
📝 WalkthroughWalkthroughThe SSH exec handler now accepts ChangesPackage build exec routing
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
crates/minimald/src/exec.rs (1)
859-875: 🩺 Stability & Availability | 🔵 TrivialRun the daemon integration coverage for this SSH routing change.
Please run
just e2eand/orjust test-vm, including the applicable root-integration harnesses; do not rely only on unit tests for channel acknowledgment and VM/networking behavior.As per coding guidelines, daemon/VM changes require the repository’s relevant integration coverage and root-integration harnesses.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@crates/minimald/src/exec.rs` around lines 859 - 875, Run the applicable daemon integration coverage for the SSH routing change, including just e2e and/or just test-vm and the relevant root-integration harnesses. Verify channel acknowledgment and VM/networking behavior through these integration tests rather than relying solely on unit tests.Source: Coding guidelines
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@crates/minimald/src/exec.rs`:
- Around line 859-875: Run the applicable daemon integration coverage for the
SSH routing change, including just e2e and/or just test-vm and the relevant
root-integration harnesses. Verify channel acknowledgment and VM/networking
behavior through these integration tests rather than relying solely on unit
tests.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 777df59a-b599-4f8d-9e19-6cd5103229e3
📒 Files selected for processing (1)
crates/minimald/src/exec.rs
Forgot the ssh exec path in #976
Note
Fix SSH exec routing in
minimaldto acceptmin package buildinstead ofmin buildUpdates
handle_execin exec.rs to match thepackage buildsubcommand form rather than the barebuildform. Unknown or malformedpackagesubcommands are now rejected with a warning before the channel is acknowledged. Risk: any SSH exec callers still using the oldmin buildform will be rejected.Macroscope summarized 047a335.