mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-04 11:01:16 +01:00
Update the closed-workspace route tests: the resume, checkout, and comment guards now reopen the workspace and continue instead of a 409 dead end. A non-reopenable workspace returns 409 and a rebuild failure returns 503. Add embedded-Postgres tests for the reopen service: - a round trip reopens the archived row in place, keeps the issue link, and raises the lifecycle generation; - two issues that share one workspace both keep access after a reopen; - a failed rebuild keeps the row closed and retryable; - a workspace in another company cannot be reopened; - an already-active workspace reports success without a rebuild; - the destruction fence runs the destroy when the generation matches and skips it after a reopen raised the generation. Co-authored-by: Paperclip <noreply@paperclip.ing>