feat(messaging): add manifest compiler#4069
Conversation
Signed-off-by: San Dang <sdang@nvidia.com>
E2E Advisor RecommendationRequired E2E: Dispatch hint: Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
Dispatch hint
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
PR Review AdvisorRecommendation: blocked This is an automated advisory review. A human maintainer must make the final merge decision. Limitations: Review was based on trusted gathered context, the provided diff, and read-only inspection of key changed/current files; no scripts, package-manager commands, tests, or E2E jobs were executed by this advisor.; The linked issue had no comments in gathered context; acceptance coverage maps the issue body clauses and the PR/E2E advisor context only.; The diff in the prompt was truncated outside the displayed files, though the main compiler, engine, type, hook, and registry files relevant to the findings were inspected from the worktree.; CodeRabbit auto review was skipped because the base branch is not the default branch, so there is no automated line-review signal to incorporate. Full advisor summaryPR Review AdvisorBase: The manifest compiler shape is well tested for serialization and secret-free plans, but merge should wait on required messaging/network E2E jobs and resolution of purity/input-validation/policy-boundary concerns. Gate status
🔴 Blockers
🟡 Warnings
🔵 Suggestions
Acceptance coverage
Security review
Test / E2E status
✅ What looks good
Review completeness
|
✨Related open issues: |
Summary
Adds the phase-1 messaging manifest compiler that converts channel manifests into a serializable sandbox messaging plan. The compiler resolves channel inputs through env keys and interactive enrollment hooks, then delegates credential, policy, render, build-step, state-update, and health-check planning to small pure engines.
Related Issue
Fixes #3994
Changes
ManifestCompilerwith interactive enrollment-hook input resolution and env-key input initialization.SandboxMessagingPlanand related manifest plan types to the top-level plan shape required by [Messaging] Add pure manifest compiler and plan engines #3994.Type of Change
Verification
npx prek run --all-filespassesnpm testpassesmake docsbuilds without warnings (doc changes only)Additional verification performed:
npm test -- --project cli src/lib/messagingpasses.npm run typecheck:clipasses.npm run lint -- src/lib/messagingpasses with the existing unrelated warning insrc/lib/onboard/child-exit-tracker.test.ts.git diff --checkpasses.npm run source-shape:checkpasses.npx prek run --all-filesand the normal pre-push hook were attempted and currently fail in unrelated full CLI doctor/debug/snapshot tests outside the messaging compiler changes.Signed-off-by: San Dang sdang@nvidia.com
Summary by CodeRabbit
New Features
Tests