Skip to content

Commit e0283a8

Browse files
committed
test: cover apply cycle telemetry wiring
1 parent a12b0cb commit e0283a8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎test/sweep-workflow.test.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,11 @@ test("apply workflow bounds checkpoints and requeues with a fresh token", () =>
148148
assert.ok(applyFlagInit < applyStep.indexOf("auto_selected_apply_batch=true"));
149149
assert.match(applyStep, /apply_cursor_path="results\/apply-cursors\/\$\{target_slug\}\.json"/);
150150
assert.match(applyStep, /write_apply_health\(\)/);
151+
assert.match(applyStep, /proposed-item-count/);
152+
assert.match(applyStep, /apply-cursor-advance-count/);
153+
assert.match(applyStep, /--candidate-count "\$health_candidate_count"/);
154+
assert.match(applyStep, /--cursor-advance-count "\$health_cursor_advance_count"/);
155+
assert.match(applyStep, /--scheduled-interval-minutes "\$health_scheduled_interval_minutes"/);
151156
assert.match(applyStep, /pnpm run --silent workflow -- summarize-apply-report/);
152157
assert.match(applyStep, /health_cursor_path="\$\{5:-\}"/);
153158
assert.match(applyStep, /comment_sync_health_cursor_path="\$cursor_path"/);

0 commit comments

Comments
 (0)