You were absolutely right about the inter-process issue with DiscourseEvent - thank you for that clarification!
After your feedback, we tested properly with a simple send_chat_message automation using the same post_created_edited trigger. When we edited a post, the automation DID trigger (we saw it processing in the logs and got a 500 error due to misconfiguration of the chat settings, not the trigger itself).
This confirms: The post_created_edited trigger works correctly.
Our confusion came from:
- Testing with a Rails console listener (wrong - inter-process)
- Our custom PDF scriptable was lost during a rebuild and we were having trouble re-registering it persistently
The trigger mechanism itself is functioning as expected. Sorry for the confusion and thank you for the help!