Skip to content

Data persistence issues with untracked files in the db/ folder when running gdk update

Problem Statement

Developers experience data persistence issues when running gdk update, specifically with untracked files in the db/ folder. It's unclear whether the managed sandbox feature resolves this pain point.

Background

This investigation stems from user feedback in #2949 (comment 2795700912), where developers reported frustration with database-related files persisting unexpectedly during GDK updates.

Investigation Goals

  • Test gdk update behavior with managed sandbox enabled
  • Document what happens to untracked files in db/ folder during updates
  • Determine if managed sandbox resolves the reported user pain point
  • Provide clear guidance on expected behavior

Acceptance Criteria

  • Behavior of untracked db/ files during gdk update is documented
  • Difference between sandbox enabled/disabled scenarios is clear
  • Recommendation provided on whether sandboxes address the user concern
  • Documentation updated if behavior differs from user expectations

Expected Outcome

Clear understanding of how managed sandbox affects database file persistence during GDK updates, enabling better user guidance and potential improvements.

Impacted Categories

Edited by Mohga Gamea