feat(messaging): persist channel manifest plans#4536
Conversation
|
Caution Review failedFailed to post review comments 📝 WalkthroughWalkthroughIntroduces manifest-driven messaging: adds manifests and hooks, compiler/planner, and appliers; updates onboarding to select/apply plans and persist them; integrates manifest lifecycle into sandbox actions and rebuild; extends registry to store messaging plans; updates tests and E2E. ChangesCore messaging manifests, hooks, compiler, and appliers
Onboarding integration and messaging selection flow
Sandbox actions: policy-channel and rebuild plan staging
State registry messaging persistence
Sequence Diagram(s)sequenceDiagram
participant CLI
participant Planner
participant SetupApplier
participant Registry
CLI->>Planner: buildPlan(workflow: onboard/add/rebuild)
Planner-->>CLI: SandboxMessagingPlan
CLI->>SetupApplier: writePlanToEnv(plan)
CLI->>Registry: applyPlanToRegistry(plan, mode)
Registry-->>CLI: messaging state stored/merged
Estimated code review effort🎯 5 (Critical) | ⏱️ ~120 minutes Possibly related issues
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
|
E2E Advisor RecommendationRequired E2E: Dispatch hint: Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
Dispatch hint
|
E2E Scenario Advisor RecommendationRequired scenario E2E: None Full scenario advisor summaryE2E Scenario AdvisorBase: Required scenario E2E
Optional scenario E2E
Relevant changed files
|
PR Review AdvisorFindings: 2 needs attention, 5 worth checking, 0 nice ideas Review findings🛠️ Needs attention
🔎 Worth checking
🌱 Nice ideas
This is an automated advisory review. A human maintainer must make the final merge decision. |
Summary
Persist manifest messaging plans through channel lifecycle operations so add, stop, start, remove, and rebuild can carry the new architecture state in
SandboxEntrywhile legacy registry fields continue to work.Related Issue
Fixes #4535
Refs #3896
Changes
MessagingWorkflowPlannerhelpers that merge a compiled add-channel plan into a stored sandbox plan and mutate stored plans for stop/start/remove/rebuild.channels add,channels stop,channels start, andchannels removeto writeSandboxEntry.messaging.planwithout removing legacy registry updates.Type of Change
Verification
npx prek run --all-filespassesnpm testpassesnpm run docsbuilds without warnings (doc changes only)Signed-off-by: San Dang sdang@nvidia.com
Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
Tests