Skip to content

[codex] fix skip complete threads resume#694

Merged
rusq merged 2 commits into
masterfrom
review-679
May 21, 2026
Merged

[codex] fix skip complete threads resume#694
rusq merged 2 commits into
masterfrom
review-679

Conversation

@rusq

@rusq rusq commented May 21, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes the resume -threads -skip-complete-threads flow so historical direct thread resume items are not dropped before the skip predicate can evaluate them.

The previous mitigation relied on discovering threads from channel history, which meant threads whose parent message was outside the channel lookback window could be missed. This change includes thread resume items again when -threads is enabled and applies the complete-thread skip check after the first direct conversations.replies page.

Impact

Complete direct threads still avoid full pagination and database writes, while incomplete historical threads remain resumable even when their parent messages are outside -lookback.

Validation

  • go test ./stream ./cmd/slackdump/internal/resume ./internal/chunk/backend/dbase

@rusq rusq marked this pull request as ready for review May 21, 2026 16:07
@rusq rusq merged commit 0d7e1c6 into master May 21, 2026
4 checks passed
@rusq rusq deleted the review-679 branch May 21, 2026 16:12
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