Skip to content

Do the isBuiltin check on module runner side #20840

@sapphi-red

Description

@sapphi-red

Description

We currently do the isBuiltin check on the server side. But isBuiltin is serializable, so we can move this check to the module runner side.

isBuiltin(environment.config.resolve.builtins, url)

That would reduce the communication between the module runner and the server.

Suggested solution

Move the check on module runner side.

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    feat: ssrp2-nice-to-haveNot breaking anything but nice to have (priority)performancePerformance related enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions