Files
vibe-kanban/crates/services
Louis Knight-Webb 9f1c4b9416 The implementation is complete. Here's a summary of the change: (#1928)
## Summary

Added auto-archive functionality to the PR monitor service in `crates/services/src/services/pr_monitor.rs`.

**Change:** When the PR monitor detects a PR has been merged (via polling every 60 seconds), it now archives the workspace automatically (unless the workspace is pinned).

**Code added (lines 128-131):**
```rust
// Archive workspace unless pinned
if !workspace.pinned {
    Workspace::set_archived(&self.db.pool, workspace.id, true).await?;
}
```

This makes the PR monitor behavior consistent with the other two merge paths:
- Direct merge (already archives)
- Attaching an already-merged PR (already archives)
- PR monitor detecting merge (now archives too)
2026-01-11 10:18:55 +00:00
..
2026-01-09 18:36:00 +00:00