refactor middleware pipeline and improve ci checks #4
Reference in New Issue
Block a user
No description provided.
Delete Branch "refactor/pipeline-execution-to-satic"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
runRoute
toIInternalRoute
for compiled middleware chainsRouteBuilder
TypeError
for invalid middleware or handler signaturesHttpKernel
to userunRoute
and simplify error handlingHttpKernel
ci
task todeno.jsonc
for local checksThis update introduces a statically compiled middleware and handler execution pipeline via a new
runRoute
method on internal routes. Middleware and handler signatures are validated at route registration, with invalid signatures causing immediateTypeError
exceptions. TheHttpKernel
now delegates execution to the route's compiled chain and handles errors with a streamlined internal handler. Parallel benchmarks are added for performance assessment. Tests are updated to expect compile-time exceptions for invalid signatures. The CI workflow is improved with separate steps for formatting, linting, testing, and benchmarking, including explicit failure detection. A localci
task is added to the configuration for convenience.e763351087
to8656682b28