pgflow 0.7.2: Fix Missing Realtime Broadcasts for Step Events
pgflow 0.7.2 fixes missing realtime broadcasts that prevented clients from receiving step:started and step:completed events. PostgreSQL’s query optimizer was eliminating CTEs containing realtime.send() calls because they weren’t referenced by subsequent operations.
What’s Fixed
Section titled “What’s Fixed”step:startedevents now broadcast when steps begin executingstep:completedevents now broadcast for empty map stepsstep:completedevents now broadcast for cascade completions- Client applySnapshot() methods added for proper initial state hydration without event emission
Additional Changes
Section titled “Additional Changes”- Enhanced test coverage for realtime event lifecycles
- Documentation updates for abort signal support and empty map step behavior
Upgrading
Section titled “Upgrading”Questions or issues? Join our Discord community or open an issue on GitHub.