PEP-230: сессии с Mac после переезда перезапускаются в контейнере
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
parent
c46e11f72f
commit
714b002cf5
@ -93,7 +93,9 @@ update projects set workspace_path = '$H/workspaces/' || slug;
|
|||||||
update projects set gitea_owner = 'peppa-bot' where gitea_owner = 'peppa';
|
update projects set gitea_owner = 'peppa-bot' where gitea_owner = 'peppa';
|
||||||
update tasks set pr_url = replace(replace(pr_url, '$OLD/peppa/peppa/', '$NEW/peppa-bot/peppa/'), '$OLD/', '$NEW/') where pr_url like '$OLD/%';
|
update tasks set pr_url = replace(replace(pr_url, '$OLD/peppa/peppa/', '$NEW/peppa-bot/peppa/'), '$OLD/', '$NEW/') where pr_url like '$OLD/%';
|
||||||
update settings set value = replace(replace(value, '$OLD/peppa/peppa/', '$NEW/peppa-bot/peppa/'), '$OLD/', '$NEW/') where value like '%$OLD/%';
|
update settings set value = replace(replace(value, '$OLD/peppa/peppa/', '$NEW/peppa-bot/peppa/'), '$OLD/', '$NEW/') where value like '%$OLD/%';
|
||||||
update sessions set claude_session_id = null, workspace_path = null, container = null, watch_state = null where status not in ('done', 'failed');
|
update sessions set claude_session_id = null, workspace_path = null, watch_state = null where status not in ('done', 'failed');
|
||||||
|
-- Сессия запускается в контейнере, только если у неё записано имя контейнера: старые сессии с Mac шли без него.
|
||||||
|
update sessions set container = 'peppa-s' || id where container is null and host_id is null;
|
||||||
delete from settings where key = 'platform.runner' and value = '{\"isolation\":\"none\"}';
|
delete from settings where key = 'platform.runner' and value = '{\"isolation\":\"none\"}';
|
||||||
delete from settings where key like 'heartbeat:%';
|
delete from settings where key like 'heartbeat:%';
|
||||||
select 'projects', count(*) from projects where deleted_at is null;
|
select 'projects', count(*) from projects where deleted_at is null;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user