fix(build): recover ConfigDumpInfo after failed Designer build - #47
fix(build): recover ConfigDumpInfo after failed Designer build#47zeegin wants to merge 10 commits into
Conversation
- keep isolated worktree directories out of version control
- define transactional snapshot and recovery boundaries\n- split successful reconcile into issue #46
- define test-first recovery tasks\n- include verification and review gates
- snapshot tracked ConfigDumpInfo before Designer load\n- restore raw bytes without XML rewriting
- persist snapshots after failed restoration\n- use durable atomic CDFI replacement
- recover snapshots on load and update failure paths - retain platform output after successful update
- expose typed recovery status in build results - document failed-build source protection
- expose truthful typed recovery diagnostics on success and failure - preserve cleanup warnings and retained recovery artifacts - cover idempotent and absent-baseline recovery paths
Warning Review limit reached
Next review available in: 21 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
WalkthroughДобавлен механизм byte-exact snapshot и восстановления ChangesВосстановление CDFI
Estimated code review effort: 5 (Critical) | ~120 minutes Sequence Diagram(s)sequenceDiagram
participant BuildProject
participant CdfiRecoveryGuard
participant Designer
participant BuildResult
participant CLIorMCP
BuildProject->>CdfiRecoveryGuard: capture ConfigDumpInfo.xml
BuildProject->>Designer: execute Designer load
Designer-->>BuildProject: build outcome
BuildProject->>CdfiRecoveryGuard: restore or cleanup
CdfiRecoveryGuard-->>BuildResult: cdfi_recovery summary
BuildResult-->>CLIorMCP: serialized recovery diagnostics
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Actionable comments posted: 1 🧹 Nitpick comments (4)
🤖 Prompt for all review comments with AI agents🪄 Autofix (Beta)Fix all unresolved CodeRabbit comments on this PR:
ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (12)
|
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Тест не проверяет само восстановление.
🤖 Prompt for AI Agents✅ Addressed in commit f2d9629 |
Closes upstream #24.
Verification:
Known baseline: two pre-existing compiler warnings and repository-wide strict-clippy debt remain outside this change.
Summary by CodeRabbit
Новые возможности
ConfigDumpInfo.xmlпосле сбоев или отмены Designer-сборки.Документация
Исправления
ConfigDumpInfo.xmlпосле неудачной сборки.