Remove progress file writing, keep reading for context#226
Conversation
Removes the automatic progress file appending that was causing: 1. Duplicate entries (agent + engine both writing progress) 2. Gibberish notes from extractCompletionNotes() capturing JSON fragments Agents now have sole responsibility for writing to progress.md via template instructions. This gives them full control over progress content and eliminates the corrupted data issue. Fixes #218
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. WalkthroughRemoved cross-iteration progress entry creation and append logic from the engine and simplified the progress logging module to a read-focused API: builders and appenders were deleted; functions for reading, summarising and extracting codebase patterns remain. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #226 +/- ##
==========================================
+ Coverage 45.04% 45.08% +0.04%
==========================================
Files 84 84
Lines 24596 24409 -187
==========================================
- Hits 11079 11006 -73
+ Misses 13517 13403 -114
🚀 New features to boost your workflow:
|
…DqaCR Remove progress file writing, keep reading for context
Summary
This PR removes the automatic progress file writing logic from the execution engine while retaining the ability to read progress files for agent context. The progress file is now intended to be written by agents themselves rather than the engine.
Changes
createProgressEntry()andappendProgress()functions that automatically created progress entries after each iterationappendProgress()in the execution engine's iteration completion and failure pathsreadProgress(),getRecentProgressSummary(), andextractCodebasePatterns()functions so agents can still access progress history for contextProgressEntrytype and progress writing functions from the public API insrc/logs/index.tsRationale
This change shifts responsibility for progress tracking from the engine to the agents themselves. Agents can now decide what progress information is worth recording and how to format it, while still having access to previously recorded progress for context. This provides more flexibility and reduces unnecessary file I/O in the engine.
Implementation Details
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.