Thinkmill / Thinkmill/keystatic
Randomly deletting images from my blog
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 159
- Avg merge
- 21h 41m
- Merged PRs (30d)
- 2
Description
Images Randomly Deleted on Commit in Keystatic
Description
We have set up Keystatic on our website and structured our content folders as shown in the image below:
📂 Folder Structure
However, when making simple text edits via ourpage.com/keystatic and committing the changes, Keystatic randomly deletes images from our repository—specifically the hero-image and various images within the blog folder.
In the commit history, we can see that these images are being removed, even though we never modified or interacted with them:
📉 Commit Showing Deleted Images
Steps to Reproduce
Open ourpage.com/keystatic
Edit any text content and commit the changes
Check the commit history – images are deleted unexpectedly
Expected Behavior
Keystatic should only commit the text changes made in the editor, without deleting any unrelated images.
Actual Behavior
The commit removes images from the blog folder and the hero-image, even though they were not edited.
Environment
Keystatic Version: [ "@keystatic/astro": "^5.0.3", "@keystatic/core": "^0.5.39" ]
Hosting: [ Netlify ]
Repository: [GitHub]
Browser: [Chrome, Brave]
Has anyone else encountered this issue? Could this be a bug in how Keystatic handles file tracking? Any insights or solutions would be greatly appreciated.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue through the Keystatic admin URL using @keystatic/astro 5.0.3 and @keystatic/core 0.5.39, then inspect the resulting GitHub commit for unrelated image deletions. Compare a text-only edit with the repository’s folder structure and Netlify environment; done means text changes commit without removing the hero image or blog images.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, typescript
- Domain
- content
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100