feat(container): add explicit data workflows and snapshot rollback (#193)

* feat(container): add explicit data workflows and snapshot rollback

Make container upgrades and recreation data-safe by adding explicit preserve, export, import, restore, and rollback flows across the backend, SDK, and web UI.

* fix(container): resolve go lint issues

Fix formatting and lint violations introduced by the container data workflow changes so the Go CI lint job passes cleanly.
This commit is contained in:
BBQ
2026-03-06 17:57:48 +08:00
committed by GitHub
parent 47a425baf5
commit 21999b49f4
27 changed files with 2777 additions and 759 deletions
+1 -1
View File
@@ -425,7 +425,7 @@ func (s *Service) enqueueDeleteLifecycle(ctx context.Context, botID string) {
defer cancel()
if s.containerLifecycle != nil {
if err := s.containerLifecycle.CleanupBotContainer(lifecycleCtx, botID); err != nil {
if err := s.containerLifecycle.CleanupBotContainer(lifecycleCtx, botID, false); err != nil {
s.logger.Error("bot container cleanup failed",
slog.String("bot_id", botID),
slog.Any("error", err),