Skip to content

Archive terminal Codex threads from backlog - #345

Merged
yvette-carlisle merged 2 commits into
mainfrom
xy/thread-archive-closeout-gaps
Jun 12, 2026
Merged

Archive terminal Codex threads from backlog#345
yvette-carlisle merged 2 commits into
mainfrom
xy/thread-archive-closeout-gaps

Conversation

@yvette-carlisle

@yvette-carlisle yvette-carlisle commented Jun 12, 2026

Copy link
Copy Markdown
Member

Summary

  • add a project-level terminal Codex thread archive reconciler
  • scan terminal run attempts with thread ids and no successful thread/archive event
  • wire the reconciler into issue-run completion, daemon ticks, closeout tail, and idle non-dry-run cycles
  • add SQLite-backed project attempt/event lookup and regression coverage
  • satisfy the CI Rust vstyle spacing gate

Root Cause

The existing archive call only covered specific successful app-server closeout paths. Terminal attempts produced by daemon/reconciliation/retained closeout paths could remain unarchived even though the run was no longer active.

Validation

  • vstyle curate --language rust --workspace --all-features
  • cargo make check-rust
  • cargo make fmt-check
  • cargo make test
  • git diff --check

@yvette-carlisle
yvette-carlisle merged commit d6c5fa0 into main Jun 12, 2026
14 checks passed
@yvette-carlisle
yvette-carlisle deleted the xy/thread-archive-closeout-gaps branch June 12, 2026 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant