Diagnostics replaces build errors along with source maps support on executions.
The recent Builder updates come hand in hand with the following Console updates.
As some of you face issues while building your applications, we realized that plain build errors could be more helpful, as well as executions errors.
Finally, the console gets more actionable with the executions filter and the ability to pause functions.
Most build errors are now replaced with diagnostics, with detailed information to fix the identified issues.
Because your time is precious, the Defer Console is now pointing you to the solution, making it easy to move forward.
For example, a project without a yarn/npm/pnpm lock file will now trigger the following diagnostic:
Here, is another hard-to-catch error where a background function is defined twice:
Note: The Defer Builder is now more silent and does not leak unnecessary logs to the Defer Console, making it easy to locate errors.
While we work on releasing live logs on builds, the Defer Console now displays the build running time (as many of you requested):
The Defer Builder compiles your background functions when building your project, which gets executed by the Defer Runner, as .js files.
This led errors to point to compiled path and line numbers, making it hard to locate the exact line of error:
The Defer Builder is now generating source maps, enabling the Defer Console to display actual the line of the actual source files.
Execution that reached the maximum memory limit ended up with truncated logs.
Such errors are now gracefully handled and results in an associated error message.
The first version of the Defer Console was great for small projects that ran dozens of execution.
We quickly need to release the Function Insights view for users that have many functions.
Now, many of you run thousands of execution per day and had a hard time navigating the executions list.
For this reason, we released a new executions list view that features some quick filters:
Allowing you to apply multiple filters with a few clicks:
You can now filter executions on 3 criteria:
We will soon roll out 2 new filters: see the “Upcoming features” section of this article!
Build diagnostics is the first step in improving the onboarding experience with Defer; we will soon release a new onboarding experience that avoids going back and forth between the Console and the docs.
2 new filters will soon roll out on the executions list:
We are looking forward to get your feedback!
Got a feature request? Join our Discord Community and post it!