hubot-stackstorm icon indicating copy to clipboard operation
hubot-stackstorm copied to clipboard

All the alias matching should be performed on the server

Open Kami opened this issue 7 years ago • 0 comments

Right now hubot plugin basically duplicates all the API logic for alias matching. That's bad because hard to maintain and error prone.

StackStorm API offers all the primitives for performing alias matching and everything else server-side. All the bot plugins should be very thin and simple wrappers around the API and be trivially to maintain (right now it's exactly the opposite).

That's something I already mentioned as blocker a long time ago when we worked on improved ChatOps, but it never materialized, we just added more regexes which makes everything even harder to maintain.

Kami avatar Sep 28 '17 14:09 Kami