Skip to content

fix: clear prompt traces during --fresh and rerun reset#569

Merged
Muizzkolapo merged 1 commit into
integration/batch-online-unificationfrom
fix/f5-clear-prompt-traces
May 19, 2026
Merged

fix: clear prompt traces during --fresh and rerun reset#569
Muizzkolapo merged 1 commit into
integration/batch-online-unificationfrom
fix/f5-clear-prompt-traces

Conversation

@Muizzkolapo
Copy link
Copy Markdown
Owner

Summary

  • clear_prompt_traces() existed on the storage backend but was never called from production code, causing unbounded growth of the prompt_trace table across runs
  • Added clear_prompt_traces(action_name) call in both _clear_for_fresh_run and _reset_retryable_actions alongside existing delete_target and clear_disposition calls

Verification

  • 5 new regression tests covering both paths (fresh run + retryable reset) plus error resilience
  • 7014 passed, 0 failed, ruff clean

@Muizzkolapo Muizzkolapo force-pushed the fix/f5-clear-prompt-traces branch from 542319e to 6ba5ec0 Compare May 19, 2026 17:29
clear_prompt_traces() existed on the storage backend but was never
called from production code, causing unbounded growth of the
prompt_trace table across runs. Add calls in both _clear_for_fresh_run
and _reset_retryable_actions alongside the existing delete_target and
clear_disposition calls.
@Muizzkolapo Muizzkolapo force-pushed the fix/f5-clear-prompt-traces branch from 6ba5ec0 to 9372046 Compare May 19, 2026 17:50
@Muizzkolapo Muizzkolapo merged commit d32d433 into integration/batch-online-unification May 19, 2026
1 check passed
@github-actions github-actions Bot locked and limited conversation to collaborators May 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant