Skip to content

Surface persistence in start and status commands#244

Open
gtsiolis wants to merge 3 commits into
mainfrom
des-230-surface-persistence-state-in-status-and-start-commands
Open

Surface persistence in start and status commands#244
gtsiolis wants to merge 3 commits into
mainfrom
des-230-surface-persistence-state-in-status-and-start-commands

Conversation

@gtsiolis
Copy link
Copy Markdown
Member

@gtsiolis gtsiolis commented May 13, 2026

Adds a Persistence: Enabled bullet to the start info block and the status output when the running instance has LOCALSTACK_PERSISTENCE=1 set — either via --persist or by inheriting the env var from the host shell. restart benefits transitively since it dispatches through start.

BEFORE AFTER
Screenshot 2026-05-13 at 16 39 33 Frame 852839935
Screenshot 2026-05-13 at 16 39 38 Frame 852839936

@carole-lavillonniere
Copy link
Copy Markdown
Collaborator

@gtsiolis can you open separate PRs for the other changes? There seem to be some changes about the displayed host and some snowflake header changes? Not sure. It's a little hard to read at the moment.

@gtsiolis
Copy link
Copy Markdown
Member Author

gtsiolis commented May 13, 2026

Makes sense. I had a feeling I would have to split this one, will split later. ⏳

@gtsiolis gtsiolis marked this pull request as draft May 13, 2026 14:46
@gtsiolis gtsiolis force-pushed the des-230-surface-persistence-state-in-status-and-start-commands branch 2 times, most recently from b046e9b to dfac5a0 Compare May 13, 2026 17:44
@gtsiolis gtsiolis marked this pull request as ready for review May 13, 2026 17:57
@gtsiolis
Copy link
Copy Markdown
Member Author

Updated PR to include only the Persistence metadata in the header without additional cleanup, plus show the metadata only for AWS emulation. Curious what you think!

Copy link
Copy Markdown
Collaborator

@anisaoshafi anisaoshafi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks George, this is useful 🙌🏼

PR description mentions this should work when LOCALSTACK_PERSISTENCE=1 is set in shell, but doesn't seem to.

Same when LOCALSTACK_PERSISTENCE is set in the config profile.

Image

@gtsiolis gtsiolis force-pushed the des-230-surface-persistence-state-in-status-and-start-commands branch from b548c5c to 082c7e1 Compare May 14, 2026 18:11
@gtsiolis
Copy link
Copy Markdown
Member Author

Great catch, @anisaoshafi! Added 082c7e1 to make this work also with the inline environment variable. Thoughts?

@gtsiolis gtsiolis requested a review from anisaoshafi May 14, 2026 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants