[Nest] 66 - 04/09/2026, 3:31:24 PM DEBUG [ActionService] [getGlobalSearchActionList] Function started at 2026-04-09T15:31:24.580Z [Nest] 66 - 04/09/2026, 3:31:24 PM DEBUG [ActionService] [getGlobalSearchActionList] Fetching viewable action IDs for user [Nest] 66 - 04/09/2026, 3:31:24 PM DEBUG [CacheService] Retrieved 1221 members from set actions:tenant:71c29bc9-5e1d-4862-abaf-8fb80bb348a7:action-ids [Nest] 66 - 04/09/2026, 3:31:24 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:31:24 PM DEBUG [ActionService] [getPermittedActionIds] Calling checkPermissions for 1221 action IDs [Nest] 66 - 04/09/2026, 3:31:24 PM DEBUG [ActionService] [checkPermissions] Started checking permissions for 1221 actions and user 5ecb117d-d04e-4799-b10e-f33b9799773e [Nest] 66 - 04/09/2026, 3:31:24 PM DEBUG [ActionService] [checkPermissions] Built 1221 FGA relation checks in 0ms [Nest] 66 - 04/09/2026, 3:31:24 PM DEBUG [ActionService] [checkPermissions] Calling Descope checkRelationFGA API [Nest] 66 - 04/09/2026, 3:31:24 PM DEBUG [CacheService] Retrieved 1221 members from set actions:tenant:71c29bc9-5e1d-4862-abaf-8fb80bb348a7:action-ids [Nest] 66 - 04/09/2026, 3:31:24 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:31:24 PM DEBUG [ActionService] [getPermittedActionIds] Calling checkPermissions for 1221 action IDs [Nest] 66 - 04/09/2026, 3:31:24 PM DEBUG [ActionService] [checkPermissions] Started checking permissions for 1221 actions and user 5ecb117d-d04e-4799-b10e-f33b9799773e [Nest] 66 - 04/09/2026, 3:31:24 PM DEBUG [ActionService] [checkPermissions] Built 1221 FGA relation checks in 0ms [Nest] 66 - 04/09/2026, 3:31:24 PM DEBUG [ActionService] [checkPermissions] Calling Descope checkRelationFGA API [Nest] 66 - 04/09/2026, 3:31:24 PM DEBUG [ActionService] [checkPermissions] Descope checkRelationFGA API completed in 107ms (response size: 1221 checks) [Nest] 66 - 04/09/2026, 3:31:24 PM DEBUG [ActionService] [checkPermissions] Function completed. Total duration: 108ms - FGA relation builder: 0ms - Descope API call: 107ms - Result mapping: 0ms - Results mapped to 1221 actions [Nest] 66 - 04/09/2026, 3:31:24 PM DEBUG [ActionService] [getPermittedActionIds] checkPermissions completed in 109ms [Nest] 66 - 04/09/2026, 3:31:24 PM DEBUG [ActionService] [getPermittedActionIds] Function completed. Total duration: 110ms - checkPermissions call: 109ms - Result filtering: 1ms - Permitted actions: 1221/1221 [Nest] 66 - 04/09/2026, 3:31:24 PM DEBUG [ActionService] [getGlobalSearchActionList] Fetched viewable action IDs for user: 1221 actions in 115ms [Nest] 66 - 04/09/2026, 3:31:24 PM DEBUG [ActionService] [getGlobalSearchActionList] Constructing queries [Nest] 66 - 04/09/2026, 3:31:24 PM DEBUG [ActionService] [getGlobalSearchActionList] Queries constructed in 0ms [Nest] 66 - 04/09/2026, 3:31:24 PM DEBUG [ActionService] [getGlobalSearchActionList] Executing database queries (count + list in parallel) [Nest] 66 - 04/09/2026, 3:31:24 PM DEBUG [ActionService] [checkPermissions] Descope checkRelationFGA API completed in 157ms (response size: 1221 checks) [Nest] 66 - 04/09/2026, 3:31:24 PM DEBUG [ActionService] [checkPermissions] Function completed. Total duration: 159ms - FGA relation builder: 0ms - Descope API call: 157ms - Result mapping: 2ms - Results mapped to 1221 actions [Nest] 66 - 04/09/2026, 3:31:24 PM DEBUG [ActionService] [getPermittedActionIds] checkPermissions completed in 160ms [Nest] 66 - 04/09/2026, 3:31:24 PM DEBUG [ActionService] [getPermittedActionIds] Function completed. Total duration: 160ms - checkPermissions call: 160ms - Result filtering: 0ms - Permitted actions: 1221/1221 [Nest] 66 - 04/09/2026, 3:31:25 PM DEBUG [ActionService] [getGlobalSearchActionList] Database queries completed in 1269ms [Nest] 66 - 04/09/2026, 3:31:25 PM DEBUG [ActionService] [getGlobalSearchActionList] Fetched 20 actions from database [Nest] 66 - 04/09/2026, 3:31:25 PM DEBUG [ActionService] [getGlobalSearchActionList] Running permission checks and transformations in parallel [Nest] 66 - 04/09/2026, 3:31:25 PM DEBUG [ActionService] [checkPermissions] Started checking permissions for 20 actions and user 5ecb117d-d04e-4799-b10e-f33b9799773e [Nest] 66 - 04/09/2026, 3:31:25 PM DEBUG [ActionService] [checkPermissions] Built 100 FGA relation checks in 0ms [Nest] 66 - 04/09/2026, 3:31:25 PM DEBUG [ActionService] [checkPermissions] Calling Descope checkRelationFGA API [Nest] 66 - 04/09/2026, 3:31:29 PM DEBUG [ActionService] [checkPermissions] Descope checkRelationFGA API completed in 3866ms (response size: 100 checks) [Nest] 66 - 04/09/2026, 3:31:29 PM DEBUG [ActionService] [checkPermissions] Function completed. Total duration: 3868ms - FGA relation builder: 0ms - Descope API call: 3866ms - Result mapping: 0ms - Results mapped to 20 actions [Nest] 66 - 04/09/2026, 3:31:32 PM DEBUG [ActionService] [getGlobalSearchActionList] Permission checks and transformations completed in 6661ms [Nest] 66 - 04/09/2026, 3:31:32 PM DEBUG [ActionService] [getGlobalSearchActionList] Permission result count: 20 [Nest] 66 - 04/09/2026, 3:31:32 PM DEBUG [ActionService] [getGlobalSearchActionList] Function completed. Total duration: 8046ms - Viewable IDs retrieval: 115ms - Query construction: 0ms - Database queries: 1269ms - Permissions & transformations: 6661ms