Skip to content

Ensure list_threads drops stale rollout files#11572

Merged
jif-oai merged 2 commits intomainfrom
jif/harden-listthreads-path-validation
Feb 12, 2026
Merged

Ensure list_threads drops stale rollout files#11572
jif-oai merged 2 commits intomainfrom
jif/harden-listthreads-path-validation

Conversation

@jif-oai
Copy link
Collaborator

@jif-oai jif-oai commented Feb 12, 2026

Summary

  • trim state_db::list_threads_db results to entries whose rollout files still exist, logging and recording a discrepancy for dropped rows
  • delete stale metadata rows from the SQLite store so future calls don’t surface invalid paths
  • add regression coverage in recorder.rs to verify stale DB paths are dropped when the file is missing

@jif-oai jif-oai merged commit adad23f into main Feb 12, 2026
33 checks passed
@jif-oai jif-oai deleted the jif/harden-listthreads-path-validation branch February 12, 2026 12:49
@github-actions github-actions bot locked and limited conversation to collaborators Feb 12, 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.

2 participants

Comments