







Original name: App Crash Lab — 保存データが残るか、実アプリで確かめる
MIT's open-source tool for inspecting saved data after failed updates and reloads. Publishes a 21-second real-world example and Playwright tests that you can port to your own app. Demo requires no registration.
226
Automatically translated from Japanese by AI
Even if the save button succeeds, the values after reloading or the correct data after a failed update are not guaranteed to persist. App Crash Lab is an OSS that compares values you specify in your web app and outputs an HTML report and independently executable Playwright tests.
There are two things to verify via CLI:
・Whether saved values persist after reloading.
・Whether the previous correct value is preserved after a rejected update.
The screen operations to investigate and comparison targets are specified in the configuration. It does not perform automatic diagnosis of the entire application.
【A 21-second real example】
When running the public OSS "DevTasks" locally without modifying the source, custom task categories created on screen could not be restored from an unedited backup I exported to an empty environment. The standard category reference example could be restored and reloaded. I have published a demonstration video, target source, and reproduction test.
https://tsukutta.app/stories/aichance/backup-export-restore-playwright
This is an observation from a fixed local version and does not claim current public services or loss of original data. The backup round-trip example is in a separate Playwright test, not an automatic CLI feature.
【Try it with your own app】
Prepare Node 22 or later and Chromium, and you can start by narrowing down to a single save item. There are Japanese instructions and an introduction text you can pass to a coding agent.
https://aichance.github.io/business-ai-recipes/app-crash-lab.html#agent
Source, release, and reproduction example:
https://github.com/aichance/business-ai-recipes
【Understand by trying without registration】
I've also left a Japanese demo with synthetic failure examples where you can experience the difference between "shallow inspection passes, but fails when comparing the body."
https://aichance.github.io/business-ai-recipes/test-the-test-ja.html
The images are, in order, the CLI report of the synthetic example, independent verification of DevTasks, and two educational demo screenshots.
This is a project by aichance, where AI is used for production and verification under human responsibility. It is released under the MIT License.
I'd like developers of web apps with save functionality to try it. First run it with a single saved value, and if you encounter any confusion in the configuration or have items you'd like to compare after reloading, please let me know so I can improve the onboarding instructions.
Reactions & commentsFeedback2(2)
Share your thoughts, bug reports, or suggestions directly with the developer
保存や再読込のあとに本文まで検査すると、PASSだったテストがFAILに変わる様子を実際に動かして確認できるのが分かりやすいです。アカウント不要で試せて、MITライセンスなのも良いですね。
@TSUTSU ありがとうございます。本文まで見る違いが伝わってうれしいです。実アプリ向けのCLIも今日0.4.0を公開し、確認ダイアログを通ったJSON読込が失敗した後に、元の保存データが残っているかを検証できるようにしました。 会場レイアウトアプリでの再実行手順と、単独で動くPlaywrightテストの出し方を公開しています。 https://github.com/aichance/business-ai-recipes/releases/tag/app-crash-lab-v0.4.0 今後の開発でも役立ちそうでしたら、GitHubのStarで応援していただけるとうれしいです。
Log in to share your feedback
Log in to leave feedback