HF RL Explorer

The FAB auth manager performs redundant and expensive database queries on every authenticated API request…

The FAB auth manager performs redundant and expensive database queries on every authenticated API request…: a task in LegoFlow-SWE (Harbor dataset). When a request is authenticated using the FAB auth manager, the user object is fetched from the database multiple times per request — once in the…

The task

When a request is authenticated using the FAB auth manager, the user object is fetched from the database multiple times per request — once in the middleware layer and once during dependency resolution (e.g., `GetUserDep`). Each fetch involves: 1. A query to retrieve the user by ID 2. A complex JOIN query to fetch the…

Part of Lego-X/LegoFlow-SWE.