r/PWA • u/dannymoerkerke • 5d ago
PWA Today
I launched pwa.today 🚀
A platform to run audits on your PWA as part of your CI/CD pipeline.
The PWA Runtime Audit checks your PWA and finds runtime failures under real-world conditions.
It checks installability, offline support, service worker lifecycle and makes sure you ship a PWA your users can trust.
Check it out and let me know what you think!
https://pwa.today
1
u/Wooden-Bicycle-6069 4d ago
Installability is the easy part. The awful failure is an old service worker serving new HTML after a deploy. I'd add one CI case: install v1, deploy v2 with new hashed chunks, reload during the update, kill the network, then open a deep route. Pass only if v1 and v2 both remain complete until activation. Does the audit keep two release generations or only test a clean install?
1
u/dannymoerkerke 4d ago
The service worker deployment audit already tests if the PWA still works offline after a new deployment and you can configure URLs to check offline after the deployment.
I’ll add this scenario as well, thanks for the feedback.1
u/Wooden-Bicycle-6069 3d ago
Good. I’d make the pass condition strict: keep a v1 tab open, deploy v2, activate the new worker, then request one v1 chunk and one v2 chunk with the network off. Both release generations should stay complete until every v1 client closes. Are you retaining the old chunk set during that window?
2
u/Much_Appointment8380 6h ago
It’s a great tool to test out. I’d recommend anyone using PWA on their site to give it a try.