[Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [getGlobalSearchActionList] Function started at 2026-04-09T15:22:22.496Z [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [getGlobalSearchActionList] Fetching viewable action IDs for user [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [CacheService] Retrieved 1221 members from set actions:tenant:71c29bc9-5e1d-4862-abaf-8fb80bb348a7:action-ids [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [getPermittedActionIds] Started filtering 1221 action IDs for user 5ecb117d-d04e-4799-b10e-f33b9799773e with permission: view [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [getPermittedActionIds] Calling checkPermissions for 1221 action IDs [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [checkPermissions] Started checking permissions for 1221 actions and user 5ecb117d-d04e-4799-b10e-f33b9799773e [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [checkPermissions] Built 1221 FGA relation checks in 0ms [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [checkPermissions] Calling Descope checkRelationFGA API [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [CacheService] Retrieved 1221 members from set actions:tenant:71c29bc9-5e1d-4862-abaf-8fb80bb348a7:action-ids [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [getPermittedActionIds] Started filtering 1221 action IDs for user 5ecb117d-d04e-4799-b10e-f33b9799773e with permission: view [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [getPermittedActionIds] Calling checkPermissions for 1221 action IDs [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [checkPermissions] Started checking permissions for 1221 actions and user 5ecb117d-d04e-4799-b10e-f33b9799773e [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [checkPermissions] Built 1221 FGA relation checks in 0ms [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [checkPermissions] Calling Descope checkRelationFGA API [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [checkPermissions] Descope checkRelationFGA API completed in 351ms (response size: 1221 checks) [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [checkPermissions] Function completed. Total duration: 352ms - FGA relation builder: 0ms - Descope API call: 351ms - Result mapping: 1ms - Results mapped to 1221 actions [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [getPermittedActionIds] checkPermissions completed in 352ms [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [getPermittedActionIds] Function completed. Total duration: 353ms - checkPermissions call: 352ms - Result filtering: 0ms - Permitted actions: 1221/1221 [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [getGlobalSearchActionList] Fetched viewable action IDs for user: 1221 actions in 359ms [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [getGlobalSearchActionList] Constructing queries [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [getGlobalSearchActionList] Queries constructed in 1ms [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [getGlobalSearchActionList] Executing database queries (count + list in parallel) [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [checkPermissions] Descope checkRelationFGA API completed in 364ms (response size: 1221 checks) [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [checkPermissions] Function completed. Total duration: 370ms - FGA relation builder: 0ms - Descope API call: 364ms - Result mapping: 5ms - Results mapped to 1221 actions [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [getPermittedActionIds] checkPermissions completed in 371ms [Nest] 66 - 04/09/2026, 3:22:22 PM DEBUG [ActionService] [getPermittedActionIds] Function completed. Total duration: 372ms - checkPermissions call: 371ms - Result filtering: 0ms - Permitted actions: 1221/1221 [Nest] 66 - 04/09/2026, 3:22:24 PM DEBUG [ActionService] [getGlobalSearchActionList] Database queries completed in 1480ms [Nest] 66 - 04/09/2026, 3:22:24 PM DEBUG [ActionService] [getGlobalSearchActionList] Fetched 20 actions from database [Nest] 66 - 04/09/2026, 3:22:24 PM DEBUG [ActionService] [getGlobalSearchActionList] Running permission checks and transformations in parallel [Nest] 66 - 04/09/2026, 3:22:24 PM DEBUG [ActionService] [checkPermissions] Started checking permissions for 20 actions and user 5ecb117d-d04e-4799-b10e-f33b9799773e [Nest] 66 - 04/09/2026, 3:22:24 PM DEBUG [ActionService] [checkPermissions] Built 100 FGA relation checks in 0ms [Nest] 66 - 04/09/2026, 3:22:24 PM DEBUG [ActionService] [checkPermissions] Calling Descope checkRelationFGA API [Nest] 66 - 04/09/2026, 3:22:28 PM DEBUG [ActionService] [checkPermissions] Descope checkRelationFGA API completed in 4227ms (response size: 100 checks) [Nest] 66 - 04/09/2026, 3:22:28 PM DEBUG [ActionService] [checkPermissions] Function completed. Total duration: 4227ms - FGA relation builder: 0ms - Descope API call: 4227ms - Result mapping: 0ms - Results mapped to 20 actions [Nest] 66 - 04/09/2026, 3:22:30 PM DEBUG [ActionService] [getGlobalSearchActionList] Permission checks and transformations completed in 6488ms [Nest] 66 - 04/09/2026, 3:22:30 PM DEBUG [ActionService] [getGlobalSearchActionList] Permission result count: 20 [Nest] 66 - 04/09/2026, 3:22:30 PM DEBUG [ActionService] [getGlobalSearchActionList] Function completed. Total duration: 8330ms - Viewable IDs retrieval: 359ms - Query construction: 1ms - Database queries: 1480ms - Permissions & transformations: 6488ms