Trailblazer 2.1.3: How we made tracing +4x faster

(PaaS providers hate this trick!) With the release of Trailblazer 2.1.3 not only does #wtf? tracing...

DEV Community
Request for test: new Model::Find() as a replacement for Model() https://github.com/trailblazer/trailblazer/discussions/257 #trailblazer_to
Request for test: new `Model::Find()` as a replacement for `Model()` · trailblazer/trailblazer · Discussion #257

The Model() macro turned out to be quiet helpful, but super hard to extend, and it broke down as soon as you had the slightest change, e.g. finding the ID in params[:song][:id] and not in params[:i...

GitHub
The new #patch function allows to customize deeply nested operations without having to subclass and replace all the involved components manually. https://trailblazer.to/2.1/docs/activity.html#activity-dsl-options-patching #trailblazer_to
Trailblazer - Activity

[Blog] Trailblazer 2.1.2 bringing the Each() macro, composable variable mapping and a debugger IDE.
https://dev.to/trailblazer/trailblazer-212-bringing-the-each-macro-1j5l
#trailblazer_to
Trailblazer 2.1.2 bringing the Each() macro.

Recently we released a bunch of updated Trailblazer gems and along with those the trailblazer...

DEV Community 👩‍💻👨‍💻
Using the upcoming TRB IDE to work on Reform 3. Check the trace (from #wtf?) on the left, and the incoming and outgoing ctx being displayed on the right-hand side. Even if you don't understand TRB, this helps a lot to understand the flow (and find bugs). #trailblazer_to
Cool new feature in Trailblazer to inject configuration variables. #trailblazer_to
Our users often get confused by mixing up Activity and Operation in our docs. We are fixing this now by simply providing both, everywhere! #trailblazer_to
Each() macro to iterate over datasets in Trailblazer is coming, sneek peek at the docs: https://macro-chapter--ornate-heliotrope-1c15e2.netlify.app/2.1/docs/macro#macro-each #trailblazer_to
Trailblazer - Macro

Trailblazer - Macro

Does anyone know if zeitwerk supports an "after-loaded" callback, so you can do something with the loaded constant if it's, say, a subclass of `Operation`?
I know that dry-system supports that, right @solnic ?
Is Xavier Noria on Mastodon, yet?

Idea is to speed up TRB's compilation as described here https://github.com/trailblazer/trailblazer-activity-dsl-linear/issues/63#issue-1446832313 #trailblazer_to

Feature: Speed up compilation with `finalize!` · Issue #63 · trailblazer/trailblazer-activity-dsl-linear

We could avoid having to compile the activity with every invocation of step by "marking" the activity as final in the end, which then could trigger compilation (and much better error hand...

GitHub