feat(messaging): persist channel manifest plans#4536
Conversation
|
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:
📝 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 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: Dispatch required scenario E2E:
Full scenario advisor summaryE2E Scenario AdvisorBase: Required scenario E2E
Optional scenario E2E
Relevant changed files
|
PR Review AdvisorFindings: 2 needs attention, 8 worth checking, 0 nice ideas Review findings🛠️ Needs attention
🔎 Worth checking
🌱 Nice ideas
Since last review detailsCurrent findings:
This is an automated advisory review. A human maintainer must make the final merge decision. |
Signed-off-by: San Dang <sdang@nvidia.com>
Selective E2E Results — ✅ All requested jobs passedRun: 26940918197
|
Signed-off-by: San Dang <sdang@nvidia.com>
Signed-off-by: San Dang <sdang@nvidia.com>
Selective E2E Results — ✅ All requested jobs passedRun: 26943037345
|
752ace3
into
u/sdang/3896-phase-2-messaging-enrollment
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