Skip to content

Commit aaafe2a

Browse files
thomhurstclaude
andcommitted
refactor: remove MarkCompleted calls - output is flushed immediately
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 7921f71 commit aaafe2a

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/ModularPipelines/Console/ProgressSession.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,6 @@ public void OnModuleCompleted(ModuleState state, bool isSuccessful)
174174
var increment = 100.0 / _totalModuleCount;
175175
_totalTask?.Increment(increment);
176176

177-
// Mark buffer as completed for ordering
178-
_coordinator.GetModuleBuffer(state.ModuleType).MarkCompleted();
179-
180177
// Check if all done
181178
if (_completedModuleCount >= _totalModuleCount)
182179
{
@@ -216,8 +213,6 @@ public void OnModuleSkipped(ModuleState state)
216213
var increment = 100.0 / _totalModuleCount;
217214
_totalTask?.Increment(increment);
218215

219-
_coordinator.GetModuleBuffer(state.ModuleType).MarkCompleted();
220-
221216
if (_completedModuleCount >= _totalModuleCount)
222217
{
223218
_totalTask?.StopTask();

0 commit comments

Comments
 (0)