curved-television-6568
01/04/2022, 3:30 PMRuleRunner
test util.. it pretty much does this already.. so I’ve got a little toy POC, that is a mix of the regular PantsRunner
and the test RuleRunner
, where I can create a scheduler session with some “backends” registered and then issue requests against that rule graph. Perfect! 😄
This gives me the possibility to write arbitrary applications, leveraging the structure and semantics of @rule
methods for the core logic. Awesome! 🚀
As stated, it’s still on a toy level, so haven’t actually used this for anything meaningful yet.. that’ll be for the coming month to show how this scales up 😉bitter-ability-32190
01/04/2022, 5:27 PMcurved-television-6568
01/05/2022, 11:50 AMbitter-ability-32190
01/05/2022, 12:10 PMhappy-kitchen-89482
01/05/2022, 12:12 PMcurved-television-6568
01/05/2022, 12:14 PMI was actually thinking you could have a flavor that’s engineless so you don’t end up with 2 pants enginesSure, shipping the lib, will just have pants as a dependency, so it shouldn’t end up with two engines…
bitter-ability-32190
01/05/2022, 12:26 PMSure, shipping the lib, will just have pants as a dependency, so it shouldn’t end up with two engines… (edited)oh duh
hundreds-father-404
01/05/2022, 6:49 PMwitty-crayon-22786
01/05/2022, 7:00 PMScheduler
API upstream are also very welcome… i’ve found in the past that making it as easy as possible to write tests without shim code is a good sign that the API is easy to use. and right now, RuleRunner abstracts/shims away a bunch of rough edges of Scheduler
which could probably also be directly smoothed outhundreds-father-404
01/05/2022, 7:01 PMrapid-bird-79300
01/05/2022, 7:10 PMunderpants
hahah