Skip to content

feat(bots): approve bulk thread archiving once - #1478

Merged
nixuuu merged 2 commits into
devfrom
feat/bulk-archive-approval
Nov 29, 2026
Merged

nixuuu merged 2 commits into
devfrom
feat/bulk-archive-approval

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

Behavior

  • Add a single approval for an explicit selection of up to 200 threads on the bot's home computer. The card shows the count, titles and IDs. Each request needs its own decision, including in full auto.
  • Recheck access and availability inside the archive transaction. Reject the entire batch if a target is unavailable or if archiving a main thread would also archive a side thread outside the approved list.
  • Reuse the thread lifecycle and durable approval flow. Add integration fixtures for approval, denial, changed availability a side thread created while approval was pending, and a concurrent side-thread restore.

Verification

  • Local Linux, revision a1bbea207: scoped format and lint checks on the changed TypeScript files, plus the diff whitespace check.
  • CI: repository-wide typecheck, integration tests, builds and required checks. The new scenarios run in the existing bot integration suite.

Copy audit

Individual archive prompts become “Archive N threads” with the exact selection under “Threads”. The existing Approve and Discard controls retain their approval-card labels. The count and list communicate scope without relying on color. The web card uses its existing expandable details. Browser and native app rendering were not exercised locally.

@nixuuu
nixuuu enabled auto-merge (squash) November 29, 2026 16:20
@nixuuu
nixuuu disabled auto-merge November 29, 2026 16:22
@nixuuu
nixuuu enabled auto-merge (squash) November 29, 2026 16:23
@nixuuu
nixuuu merged commit eae69fb into dev Nov 29, 2026
25 checks passed
@nixuuu
nixuuu deleted the feat/bulk-archive-approval branch November 29, 2026 16:29
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