|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Code changed:
Hide
Sync Changes
Hide This Notification
2
3
Previous Highlighted Error
Next Highlighted Error
<?php
declare(strict_types=1);
namespace Jiminny\Mail\Reports;
use Illuminate\Contracts\Queue\ShouldQueue;
use Jiminny\Mail\Mailable;
class AskJiminnyReportExpiringMail extends Mailable implements ShouldQueue
{
public function __construct(
private readonly string $reportName,
private readonly string $expiresAtFormatted,
private readonly string $reportsPageUrl,
) {
}
public function build(): Mailable
{
$fromAddress = config('mail.from.address');
if (config('jiminny.deploy_region') === 'eu') {
$fromAddress = '[EMAIL]';
}
$logoCDN = config('logos.cdn.header');
$fullLogoCDN = config('logos.cdn.footer');
return $this
->from($fromAddress, config('mail.from.name'))
->subject("\u{1F4E3} Your '{$this->reportName}' report is expiring soon")
->view('emails.reports.ask-jiminny-report-expiring', [
'reportName' => $this->reportName,
'expiresAtFormatted' => $this->expiresAtFormatted,
'reportsPageUrl' => $this->reportsPageUrl,
'isReport' => true,
'headerLogoCdn' => $logoCDN,
'footerLogoCdn' => $fullLogoCDN,
]);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
473
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1310,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1310,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1310,"provider":"google","refreshToken":"e34818922c2830a660813a63f6169a4a9a992ae2cccd7dc8dd7796cfdb470ef1","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1310,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1310,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1333,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1333,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1333,"provider":"google","refreshToken":"6c902986546d8e8da1dc539b046cdc1d458f519acc972e5b5f1d6a1a295165e0","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1333,"provider":"google","responseBody":{"error":"unauthorized_client","error_description":"Unauthorized"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1333,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1368,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1368,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1368,"provider":"google","refreshToken":"d2f128898ff8543bd16b69cfae37896ab85119b0f5ed2b431d739593bb600333","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:48] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1368,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:48] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:48] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1368,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:48] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1365,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:48] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1365,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:48] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:48] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1365,"provider":"google","refreshToken":"7676e4a9afcd082b413248ab5ec6e487021fec6a9bdf315860a59cefad9caad8","state":"full-refresh...
|
PhpStorm
|
faVsco.js – AskJiminnyReportExpiringMail.php
|
NULL
|
79131
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
PhostormVIewINavigarecodeKeractorWindowFV faVsco.js°9 JY-20508-notify-before-AJ-report-expirationProledeyD Crmv D Reports© AskJiminnyReportExpiringMail.phpAskJIminnykeportexpiringmall.onpask-jiminny-report-expiring.blade.phg<> index.html© UserAutoС кepопwinAttachment.onp© Mailable.phpV _ Models0 ActivityD) AlD AskAnythingw calendar0 Connectionw Contracts0 Crmc)BusinessProcess.onC) Confiauration.ohoC) ContactRole.ohoC) Field.oho© FieldData.php© FieldValue.phpo) lavout nhn© LayoutEntity.php© Log.php© Profile.phpС кеcoralype.ono© SyncBatch.phpT CinctinCoarchD FeatureOoponunity0 Participant_ Playback Theme— PlavlistScorecard_ Webhook(c) Account.php(c) Activitv.ono© Address.pho.(C) AiPromot.ohv© AutomatedReport.php(C) AutomatedReportResult.oho(c) Calllimnort.oho© CoachingFeedback.php(C) CoachinaFeedbackVisibilitv.nhn(C) CoachinaSection.nhn© CoachingSectionCriterion.php@ CoachinaSectionCriterionFeedback. nhnmespace Jiminny Ma1l Reports:use Illuminate\Contracts\Queue\ShouldQueue:use Jiminny Mai Marahle:class AskJiminnyReportExpiringMail extends Mailable implements ShouldQueueclass askulminnyreporccxolrinenall excenos Malladlepublic function __construct(public function buildo: MarlaoleSfromAddress = confia key:"marl.from.address'):if (config( key: 'jiminny.deploy_region') === 'eu') ≤SfromAddress=no-reni.voriminnv.com'$LogoCDN = config( key;Loaos cdn header!):$fullLogoCDN = config( key: 'logos.cdn.footer');->from($fromAddress, config( key:->subject( subject: "\u{1F4E3} Your '{$this->reportName}' report is expiring soon")->view( view: 'emails.reports.ask-jiminny-report-expiring'. ['reportName' => $this->reportName'expuresAcrormacced = sch1s->exp1resacrormacced,'reportsPageUrl' => Sthis->reportsPageUrl,"1Skeport => crue,'headerLogoCdn' => $logoCDN'toorerLogoton = StuLLLogoLUN1):© CoachingSectionFeedback.php@. commentAbstract.php© Commentinterface.php@ contact.php© Device.phpX Reject File txg€ 2 0f 2 files →Helner Code will hoin IDF to underctand vour Laravel ann code II Generate II Don't Show Anvmore (todav 14-04)• senakeportsob.onpsenakeportexpiningsoonmallJoolest.ongRenect= laravel.log X4 SF [jiminny@localhost]A HS_local jiminny@localhost]console [PKOD)A console [STAGING)Fixing Favicon Incons• Automated Report:-04-24 10:28:49] local.ERROR:[SocialAccountService] Failed mY473 A VI-04-24 10:28:49] local.INF0: [SocialAccountObserver] Saving model-04-24 10.20.47 LocaL.EкKUK[SocialAccountServicel Failed to refresh toke-04-24 10.20.4% Local. LNFU.[SocialAccountServicel Fetching token {"social• AskJiminnvReportExpirinaMail.ohr-04-24 10:28:49 Local.INFU: Soc1alAccountServicel Token needs retreshing •-04-24 10:28:49] local.INF0:-04-24 10:28:49 Local.INFU:Soc1aLAccountService Refreshing token trom pi-04-24 10:28:49 Local.ERROR[SocialAccountService] Failed to refresh tokei-04-24 10:28:50 Local.INFO:Soc1aLAccountubserver Saving model""correl[SocialAccountService] Failed to refresh toke-04-24 10:28:5011LoCOLINFO.Fetchina token <"sochal[SocialAccountServicel Token retrieved {"socia-04-24 10:28:501 LocaL.INF0:EncrvotedtokenManager Generatina access tokeiCalendar svnc iob dispatched -"calenda-04-24 10:28:501 LocaLINF0: SocialAccountServicel Fetchina token "social-04-24 10:28:50] local.INF0: [SocialAccountService] Token needs refreshing-04-24 10•28•S0l TocolTNS0• EncryntedtokenManagen Genenatina accocs tokei-04-24 10:28:50] local.INF0: [SocialAccountService] Refreshing token from pi-04-24 10•28•501 1oc01 EPROR[SocialAccountServicel Failed to refresh toker-04-24 10:28:50] local.INF0: [SocialAccountObserver] Saving model {"correla-04-24 10•28•501 1ocn1 EPROR[SocialAccountServicel Failed to refresh tokei-04-24 10:28:50] local.INF0: [SocialAccountService] Fetching token {"social)-04-24 10:28:50] local.INF0: [SocialAccountService] Token needs refreshing-04-24 10:28:50] local.INF0: [EncryptedTokenManager] Generating access tokei-04-24 10:28:50] local.INF0: [SocialAccountService] Refreshing token from pi-04-24 10:28:50] local.INF0: [SocialAccountServicel Fetching token {"social-04-24 10:28:50] local.INF0: [SocialAccountServicel Token retrieved {"socia-04-24 10:28:50 Local.LNFU: EncryptedlokenManager benerating access tokei-04-24 10:28:50] local.INF0: [Calendar] Processing sync {"calendarId":"a330-04-24 10:28:50 Local.ERRUR[SocialAccountServicel Failed to refresh tokei-04-24 10:28:50] local.INF0: [Crm0wnerResolverl Integration owner matched a:-04-24 10:28:501 LocoL. INFO"SociaLAccountServicelFetching token {"social-04-24 10:28:501 local, INF0: [SocialAccountObserverl Saving mode1-04-24 10:28:501 LocaL, ERRORISocialAccountServicel Failed to refresh tokei[SocialAccountServicel Token retrieved {"socia-04-24 10:28:501 LocaL.INFOEncrvotedtokenManager Generatina access tokei[SocialAccountServicel Fetching token {"social-04-24 10:28:501LocaL. INFO:SocialAccountServicel Token needs refreshing •[EncryptedTokenManager) Generating access tokelSocialAccountSenvicel Refrechina token from ni-04-24 10•28•501 Jocol ERROR•[SocialAccountService] Failed to refresh tokei-04-24 10•28•501 localTNE0• [SocialAccount0hsenven Savina mode]≤"cornel[SocialAccountService] Failed to refresh toker-04-24 10•28•501 localTNE0• [SocialAccountServicel Fetchina token «"cocial-04-24 10:28:50] local.INF0:[SocialAccountService] Token needs refreshing1-04-24 10.29•501 Jocol TAS0•EnenvntodTakenMananon Gononatina accoce toleianp/Mail/Renorts/M Ask.liminnorts/ M SendRenortEypirinaSoonMail.lobTest.oho-04-24 10:28:50] local.INF0: [SocialAccountService] Refreshing token from pi-04-04 10.29•511 1o601 TNSO-Icoodlo Colondanl Sailod to watch channol fon ,ket anuthins 19eAlrorl":{+ « CodeClaude Onus 4.7 Medium100% CFri 24 Apr 17:30:42ReportControllerTest+0...so remove it and continue with tests and reviewMiow ol•Peiect allAccent allW Windsurf Toams 7-1 /1219 charc 20 line breakcl UITF.92 4 spaces...
|
PhpStorm
|
faVsco.js – AskJiminnyReportExpiringMail.php
|
NULL
|
79132
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingQueued();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingQueued();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingQueued();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
853
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountServi...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79133
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79134
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79135
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79136
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79137
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79138
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79139
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79140
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79141
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79142
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79143
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79144
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79145
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79146
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79147
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79148
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79149
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79150
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79151
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79152
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79153
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79154
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79155
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79156
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79157
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79158
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79159
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79160
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79161
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79162
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79163
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79164
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79165
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79166
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79167
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79168
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79169
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79170
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79171
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
iTerm2ShellEditViewSessionScriptsProfilesWindowHelp(23screenpipe"APP (-zsh)DOCKER381DEV (-zsh)O $82*3audio chunk durationportaudio disabledvision disabledpause on DRM contentaudio enginevad enginedata directorydebug modetelemetryuse pii removaluse all monitorsignored windowsincluded windowscloud syncauto-destruct piddeepgram keyapi auth2026-04-24T13:24:23.186334Z2026-04-24113:24:23.1984892encrypt secretsretention days30 seconds3030truefalsefalseParakeetSilero/Users/lukas/.screenpipefalsetruetruetrue["Boosteroid"]disablednot setenabledINFO screenpipe_core::pipes: pipe scheduler started (generation 2)WARN screenpipe: pi agent install failed: bun not found - install from https://bun.shdisabled14languagesall languagesmonitorsid: 1id: 2screenpipe"884100% <478-zshFri 24 Apr 18:29:38T81*5audio devicesdisabledyou are using local processing. all your data stays on your computer.warning: telemetry is enabled. onlyerror-level data will be sent.to disable, use the --disable-telemetry flag.check latest changes here: https://github.com/screenpipe/screenpipe/releases2026-04-24T13:24:23.2161982INFO screenpipe: starting Ul event capture2026-04-24T13:24:23.238868ZINFO screenpipe_engine::ui_recorder: Starting UI event capture2026-04-24T13:24:23.260906ZINFO screenpipe_engine::ui_recorder: UI recording session started: 9676eafd-ea8f-4ela-a5f1-de7bdb79c0712026-04-24T13:24:23.260911ZINFO screenpipe_engine::calendar_speaker_id: speaker identification: started (user_name=<not set>)2026-04-24T13:24:23.260972ZINFO screenpipe_engine::hot_frame_cache: hot_frame_cache: warming from DB (2026-04-23 10:24:23.260965 UTC to 2026-04-24 10:24:23.260965 UTC)...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79172
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
PhostormVIeWINavigarecodeLaravelKeractorWindowFV faVsco.js°9 JY-20508-notify-before-AJ-report-expirationProledeyOrganizationRolesFeatureTest.php© PlanhatServiceFeatureTest.php@ ScimUsersFeatureTest.php© TeamRetentionPolicyFeatureTest.php© ThemeTopicUpdateFeatureTest.phpUserOnboardFeatureTest.php© SendReportExpiringSoonMailJob.phpsenakepormallJoe.pnp© AskJiminnyReportExpiringMail.phpask-jiminny-report-expiring.blade.phg< index.html© UserAut›Incearauionservicesv D Uni›use ..•Actions20 Dclass SendReportExpiringSoonMailJobTest extends TestCaseContiqurationConsole1a contractsDomainMоTOM EnumsM EventsM ExcentionsM GuardeM HelnersD HttpIM AccoccTokenProvider28 đ >v M Controllerc› D Api.,mKinck45 D >~MWohhonk50 D >>@ Hubspot> C IntegrationAppSubscriptions© CalendarControllerTest.php© ReportControllerTest.php© ConferencesOptinOutControllerTest 112> 0 Middleware77D>93 D ›113 D>• Requests> M Transformer136 D>> Transformers© ValidateCrmConnectionRequiredTraitTe 121 D ›> M integrations>M InteractionsJobs>MActivitAiAutomation> M Audiol• M AutomatedRenortsc) CreateRecultsTect nhnC) RequestGenerateAck.liminnvRenort.llC) RequestGenerateRenort.lobTest nhnh CondDonortEynirinaCoonMail lohTod© SendReportJobTest.php© SendReportMailJobTest.php12 usages13 usagesprivate LoggerInterface&MockObject Slogger,private AutomatedReportsRepository&Mock0bject SreportRepository:o usagesprivate UrlGenerator&Mock0bject SurlGenerator;private SendReportExpiringSoonMailJob Sjob;10 usagesprivate string SreportUuid = 'test-uvid':protected function setUp(): void{...}public function testUniqueIdReturnsReportUuid0: void{...public function testHandleSendsEmailToCreatorO: void{...}public function testHandleReturnsEarlyWhenReportNotFoundO: void{...}oubuic tunction testrandlereturnszar.vwhencreatoriassingo:vozd...rpublic function testHandleReturnszarvWencreatorEmai MissingO: voids....public function testHandleReleasesJob0nMailFailure0: voidt...=public function testHandleFailsJobAfterMaxAttempts(): void{...}X Reiect File +%&senakeportsoe.gnpSendReportExpiringSoonMailJobTest.php X€ 2 0f 2 files →= laravel.log X4 SF [jiminny@localhost]A HS_local (jiminny@localhost]console [PKOD)A console [STAGING)-04-24 10:28:49] local.ERROR:[SocialAccountServicel Failed ~W779A VI-04-24 10:28:49] local.INF0: [SocialAccount0bserver) Saving model {"correla-04-24 10.20.47 LocaL.CKKUKLsoc1a LAccountservicel ralled to rerresh cokei-04-24 10.20.4% LoCaL. LNFU.[SocialAccountServicel Fetching token {"social-04-24 10:28:49 Local.INFU: Soc1alAccountServicel Token needs retreshing •-04-24 10:28:49] Local. INF0:-04-24 10:28:49 Local.INFU:Soc1aLAccountService Refreshing token trom pi-04-24 10:28:49 Local.ERROR[SocialAccountService] Failed to refresh tokei-04-24 10:28:50 Local.INFO:Soc1aLAccountobserver Saving model*"correliLSoc1aLAccountService Falled to refresh toketFetchina token <"sochal[SocialAccountService] Token retrieved {"socia-04-24 10:28:501 LocaL.INF0:EncrvotedtokenManager Generatina access tokei-04-24 10:28:50] Local.INF0: Calendar sync job dispatched {"calendar_id":50-04-24 10:28:501 LocaLINF0: SocialAccountServicel Fetchina token «"social-04-24 10:28:50] local.INF0: [SocialAccountService] Token needs refreshing •-04-24 10•28•S0l TocolTNS0• EncryntedtokenManagen Genenatina accocs tokel-04-24 10:28:50] local.INF0: [SocialAccountService] Refreshing token from pi-04-24 10•28•501 1oc01 EPROR[SocialAccountServicel Failed to refresh toker-04-24 10:28:50] local.INF0: [SocialAccountObserver] Saving modeld"connela-04-24 10•28•501 1ocn1 EPROR[SocialAccountServicel Failed to refresh tokei-04-24 10:28:50] local.INF0: [SocialAccountService] Fetching token {"social-04-24 10:28:50] local.INF0: [SocialAccountService] Token needs refreshing •-04-24 10:28:50] local.INF0: [EncryptedTokenManager] Generating access tokei-04-24 10:28:50] local.INF0: [SocialAccountService] Refreshing token from pi-04-24 10.20.00 LocaL.INrU. SOC1aLAccoUntservice recchino coken soclau-04-24 10:28:50] local.INF0: [SocialAccountServicel Token retrieved {"socia-04-24 10:28:50 Local.LNFU: EncryptedlokenManager benerating access tokei-04-24 10:28:50] local.INF0: [Calendar] Processing sync {"calendarId":"a330-04-24 10:28:50 Local.ERRORSoc1aLAccountservicel ralled to retresh tokei-04-24 10:28:50] local.INF0: [Crm0wnerResolverl Integration owner matched a:-04-24 10:28:501 LocoL. INFO"SociaLAccountServicelFetchina token *"soclau-04-24 10:28:501 local, INF0: [SocialAccountObserverl Saving mode1-04-24 10:28:501 LocaL, ERRORISocialAccountServicel Failed to refresh tokei[SocialAccountService] Token retrieved {"socia"-04-24 10:28:501 LocaL.INFOEncrvotedtokenManager Generatina access tokei[SocialAccountService] Fetching token {"social-04-24 10:28:501LocaL. INFO:-04-24 10•28•501 Tocal TNE0•SocialAccountServicel Token needs refreshing •[EncryptedTokenManager] Generating access tokeiSocialAccountSenvicel Refrechina token from ni-04-24 10•28•501 Jocol ERROR•[SocialAccountService] Failed to refresh tokei-04-24 10•28•501 localTNE0• [SocialAccount0hsenven Savina mode]l"cornela[SocialAccountService] Failed to refresh toker-04-24 10•28•501 localTNED• [SocialAccountSenvicel Fetchina token «"social)-04-24 10:28:50] local.INF0:[SocialAccountService] Token needs refreshing •1-04-24 10.29•501 Jocol TNS0• EnenvntodTakenMananon Gononatina accoce tokel-04-24 10:28:50] local.INF0: [SocialAccountService] Refreshing token from pi-04-24 10.29•511 10601 TNS0•fcooalo Colondanl Cailod to watch channel fon ,rorl":{CascadeFixing Favicon InconsDASKJInNow update the test - since mallable is no longer queued, Mall::assertQueued becomes Mall::assertSent :100% 152Fri 24 Apr 17:40:47+0...so remove ll and conunue witr tests and review• SendReportExpiringSoonMailJobTest.phpNow let me run the tests. Let me check how other tests are executed:O docker os =-format "Names}?" | head -20enorts/ MSendRenortEynirinaSoonMail.lobTest.nhn ÷205aoo/Mail/Renorts/f Ask.liminnvRenortExoirinaMail.ohvAsk anvthina (&+D< CodeClaude Onus 4.7 Medium•Peiect allAcceot allW Windsurf Teams.1-1.UTE.8i. 4 space...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79173
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79174
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79175
|
|
Switch workspaces… (Jiminny Inc) Has new messages
Switch workspaces… (Jiminny Inc) Has new messages
Home
Home
DMs
DMs
Activity
Activity
Files
Files
Later
Later
More…
More
Unreads
Threads
Huddles
Drafts & sent
Directories
jiminny-x-integration-app
platform-inner-team
ai-chapter
ai-team
alerts
backend
c-learning-people
confusion-clinic
curiosity_lab
deal-insights-dev
engineering
frontend
general
infra-changes
jiminny-bg
people-with-copilot-licences
people-with-zoom-phone-licences
platform-team
platform-tickets
product_launches
random
releases
sofia-office
support
thank-yous
the_people_of_jiminny
Nikolay Yankov
Nikolay Nikolov
Galya Dimitrova
Aneliya Angelova
,
Nikolay Yankov
,
Steliyan Georgiev
Stefka Stoyanova
Adelina Petrova
Vasil Vasilev
Stoyan Tomov
Petko Kashinski
Aneliya Angelova
Mario Georgiev
Todor Stamatov
Gabriela Dureva
Toast
Jira Cloud
Messages
Messages
Files
Files
Bookmarks
Bookmarks
Add and Edit Channel Tabs
Canvas
List
Folder
Jump to date
CircleCI
APP
Today at 11:23:19 AM
11:23 AM
Deployment Successful! tada emoji
Deployment Successful!
Project
: extension-app
When
: 04/24/2026 08:23:18
Tag
:
View Job
View Job
CircleCI
APP
Today at 11:40:48 AM
11:40 AM
Deployment Successful! tada emoji
Deployment Successful!
Project
: app
When
: 04/24/2026 08:40:48
Tag
:
View Job
View Job
CircleCI
APP
Today at 1:43:28 PM
1:43 PM
Deployment Successful! tada emoji
Deployment Successful!
Project
: app
When
: 04/24/2026 10:43:28
Tag
:
View Job
ActivityLateMoreSlackVIewMistonJiminny... vc alerts# backend*C-learning-people# confusion-clinic# curiosity labdeal-insichts-dev# engineering# frontend# general# infra-changes# jiminny-bg• people-with-copilo..8 people-with-zoom-...# platform-team# platform-tickets# product_launches# random# releases# sofa-office# support# thank-yous# the people of jimi..A Direct messages#. Nikolay YankovNikolav NikolovGalva Dimitrova31 Aneliva Aneelova…Stefka Stoyanova@ Adelina PetrovaleVacil Vaciler.Stoyan Tomov( Petko Kashinskif. Aneliva AngelovaA Mario GeorgievN Todor Ctamatovfe Gabriela Dureva::: AppsB ToastS lim CloudWindowHelp@ Describe what you are looking for"rreleasesMessagesr Files• BookmarksTodayv1 CircleCl APP 2:06 PM• Deployment Successful!Proiect aooWhen: 04/24/2026 11:06:20TagView lobGTHTO APP 2:57 PM2 new commits oushed to master ov nikolav-vankov368d29f4 - update claude.yml to renne system prompt for code review, emphasizingthe importance of leaving comments over making changes44f7fci f - Merge oull request #2014 trom uminnv /nx-av-icon-and-toroid-claude.from-committingjiminny/app Added by GitHubCircleCl APP 3.22 PMDeployment Successful!Project: appWhen• 04724/204 905lag.View JobCitlinh App 6.04 oMl4 new commits pushed to master by LakyLakd7e834d1 - JY-20738 add debug logs on AJ report UP tracking7b28fe8e - Merge branch 'master' into JY-20738-debug-AJ-tracking-UP30b741c1 - Merge branch 'master' into JY-20738-debug-AJ-tracking-UP1b2bb38a - Merge pull request #12013 from iiminny/JY-20738-debug-AJ-tracking-UPp Added by GitHubCirclecl App 6.04 pмl• Deployment Successful!Proiect. annWhen: 04/24/202614-24-31Thg!View lohMessage #releases9 22A HS_local (jiminny@localhost]Sole [PROD]A console [STAGING)-04-24 10:28:49] local.ERROR:[SocialAccountService] Failed mW779A VI-04-24 10:28:49] local.INF0: [SocialAccountObserver) Saving model {"correla-04-24 10.20.47 LocaL.EкKUKLsoclaLAccountservicel rarled to rerresh cokei-04-24 10:28:49] local.INF0: [SocialAccountServicel Fetching token {"social)-04-24 10:28:49 Local.INFU: Soc1aLAccountServicel Token needs retreshing •-04-24 10:28:49 Local.INFU:-04-24 10:28:49 Local.INFU: Soc1alAccountService Retreshing token trom pi-04-24 10:28:49 Local.ERRURI[SocialAccountService] Failed to refresh tokei-04-24 10:28:50 Local.INFO:Soc1aLAccountobserver Saving model*"correli-04-24 10:28:501 LOCOL, ERRORILSoc1aLAccountService Falled to refresh toket-04-24 10:28:501 LocoLINFO:Fetchina token <"sochal-04-24 10:28:501 LocaL,INF0:[SocialAccountService] Token retrieved {"socia-04-24 10:28:501 LocaL.INF0:EncrvotedtokenManager Generatina access tokei-04-24 10:28:501 LocaL.INF0:Calendar sync job dispatched {"calendar_id":50-04-24 10:28:501 LocaLINF0: SocialAccountServicel Fetchina token "social-04-24 10:28:50] local.INF0: [SocialAccountService] Token needs refreshing-04-24 10•28•S0l TocolTNS0• EncryntedtokenManagen Genenatina accocs tokel-04-24 10:28:50] local.INF0: [SocialAccountService] Refreshing token from pi-04-24 10•28•501 1oca1 EPROR[SocialAccountServicel Failed to refresh toker-04-24 10:28:50] local.INF0: [SocialAccount0bserver] Saving modeld"cornola-04-24 10•28•501 1ocn1 EPROR[SocialAccountServicel Failed to refresh tokei-04-24 10:28:50] local.INF0: [SocialAccountService] Fetching token {"social-04-24 10:28:50] local.INF0: [SocialAccountService] Token needs refreshing •-04-24 10:28:50] local.INF0: [EncryptedTokenManager] Generating access tokei-04-24 10:28:50] local.INF0: [SocialAccountService] Refreshing token from pi-04-24 10:28:50] local.INF0: [SocialAccountServicel Fetching token {"social-04-24 10:28:50] local.INF0: [SocialAccountServicel Token retrieved {"socia-04-24 10:28:50] local.INF0: [EncryptedTokenManager] Generating access tokei-04-24 10:28:50] local.INF0: [Calendar] Processing sync {"calendarId":"a330-04-24 10:28:50] Local.ERRORSoc1aLAccountservice ralled to retresh tokei-04-24 10:28:50 Local.LNFU: CrmuwnerResolver Integration owner matched a:-04-24 10:28:501 LocoL. INFO"SocialAccountService Fetchino token <"soclau-04-24 10:28:501 local, INF0: [SocialAccountObserverl Savina model-04-24 10:28:501 LocaL, ERRORISocialAccountServicel Failed to refresh tokei-04-24 10:28:501 LocaL. INFO:[SocialAccountService] Token retrieved {"socia"-04-24 10:28:501 LocaL. INFO:-04-24 10:28:501 LocaL.INFO:[SocialAccountService] Fetching token {"social-04-24 10:28:501 LocaL.INFO:SocialAccountServicel Token needs refreshing•-04-24 10•28•S0l ocoLTNS0:[EncryptedTokenManager] Generating access tokei-04-24 10•28•501 local TNE0•SocialAccountService Refrechina token from ni-04-24 10•28•501 Jocol ERROR•[SocialAccountService] Failed to refresh toker-04-24 10•28•501 localTNE0• [SocialAccount0hsenven Savina mode]l"cornela-04-24 10•28•501 Jocol ERROR[SocialAccountService] Failed to refresh toker-04-24 10•28•501 localTNED• [SocialAccountSenvicel Fetchina token «"social)Renorts/ M SendRenortEynirinaSoonMail.lobTest.nhn +205[SocialAccountService] Token needs refreshing •aoo/Mail/Renorts/m Ask.liminnvRenortExoirinaMail.ohv-04-24 10.29•501 Jocol TAS0•EnenvntodTakenMananon Gononatina accoce tolei-04-24 19.29-501 Jocal TNSN•[SocialAccountService] Refreshing token from pi-04-24 10.29•511 10601 TNS0•fcooalo Colondanl Sailod +owatch channol fon,lAsk anvthina (&4L)rorl":{+ « CodeClaude Onus 4.7 Medium'errors)": [100% 152Fri 24 Apr 18:29:50CascadeFixing Favicon InconsAutomated Reports+0...so remove it and continue with tests and review• AskJiminnyReportExpiringMail.php+1 -4Now update the test - since mailable is no longer queued, Mail::assertQueued becomes Mail::assertSent :SendReportExoirinaSoonMail.JobTest.ohv+1 -11SendReportExpiringSoonMailJobTest.php• SendReportExpiringSoonMailJobTest.php• SendReportExpiringSoonMailJobTest.phpNow let me run the tests. Let me check now other tests are executed:• docker os --format ".Names}" head -20* Reiect allAcceot all1-1.UTE.A...
|
Slack
|
releases (Channel) - Jiminny Inc - 1 new item - Sl releases (Channel) - Jiminny Inc - 1 new item - Slack...
|
NULL
|
79176
|
|
Switch workspaces… (Jiminny Inc) Has new messages
Switch workspaces… (Jiminny Inc) Has new messages
Home
Home
DMs
DMs
Activity
Activity
Files
Files
Later
Later
More…
More
Unreads
Threads
Huddles
Drafts & sent
Directories
jiminny-x-integration-app
platform-inner-team
ai-chapter
ai-team
alerts
backend
c-learning-people
confusion-clinic
curiosity_lab
deal-insights-dev
engineering
frontend
general
infra-changes
jiminny-bg
people-with-copilot-licences
people-with-zoom-phone-licences
platform-team
platform-tickets
product_launches
random
releases
sofia-office
support
thank-yous
the_people_of_jiminny
Nikolay Yankov
Nikolay Nikolov
Galya Dimitrova
Aneliya Angelova
,
Nikolay Yankov
,
Steliyan Georgiev
Stefka Stoyanova
Adelina Petrova
Vasil Vasilev
Stoyan Tomov
Petko Kashinski
Aneliya Angelova
Mario Georgiev
Todor Stamatov
Gabriela Dureva
Toast
Jira Cloud
Messages
Messages
Files
Files
Bookmarks
Bookmarks
Add and Edit Channel Tabs
Canvas
List
Folder
Jump to date
CircleCI
APP
Today at 11:23:19 AM
11:23 AM
Deployment Successful! tada emoji
Deployment Successful!
Project
: extension-app
When
: 04/24/2026 08:23:18
Tag
:
View Job
View Job
CircleCI
APP
Today at 11:40:48 AM
11:40 AM
Deployment Successful! tada emoji
Deployment Successful!
Project
: app
When
: 04/24/2026 08:40:48
Tag
:
View Job
View Job
CircleCI
APP
Today at 1:43:28 PM
1:43 PM
Deployment Successful! tada emoji
Deployment Successful!
Project
: app
When
: 04/24/2026 10:43:28
Tag
:
View Job
View Job
CircleCI
APP
Today at 2:06:20 PM
2:06 PM
Deployment Successful! tada emoji
Deployment Successful!
Project
: app
When
: 04/24/2026 11:06:20
Tag
:
View Job
View Job
React with white_check_mark
React with eyes
React with raised_hands
Add reaction…
Reply in thread
Forward message…
Save for later
More actions
GitHub
APP
Today at 2:57:07 PM
2:57 PM
2 new commits
2 new commits
pushed to
master
master
by
nikolay-yankov
nikolay-yankov
368d29f4
368d29f4
- update claude.yml to refine system prompt for code review, emphasizing the importance of leaving comments over making changes
44f7fc1f
44f7fc1f
- Merge pull request #12014 from jiminny/fix-fav-icon-and-forbid-claude-from-committing
jiminny/app
jiminny/app
|
Added by
GitHub
ActivityLateMoreSlackVIewMistonJiminny... vc alerts# backend*C-learning-people# confusion-clinic# curiosity labic deal-insiehts-dev# engineering# frontend# general# infra-changes# jiminny-bg• people-with-copilo..8 people-with-zoom-...# platform-team# platform-tickets# product_launches# random# releases# sofa-office# support# thank-yous# the people of jimi..A Direct messages#. Nikolay YankovNikolav NikolovGalva Dimitrova31 Aneliva Aneelova…Stefka Stoyanova@ Adelina PetrovaleVacil Vaciler.Stoyan Tomov( Petko Kashinskif. Aneliva AngelovaA Mario GeorgievN Todor Ctamatovfe Gabriela Dureva::: AppsB ToastS lim CloudWindowHelp@ Describe what you are looking for"rreleasesMessagesr Files• BookmarksTodayv1 CircleCl APP 2:06 PM• Deployment Successful!Proiect aooWhen: 04/24/2026 11:06:20TagView lobGTHTO APP 2:57 PM2 new commits oushed to master ov nikolav-vankov368d29f4 - update claude.yml to renne system prompt for code review, emphasizingthe importance of leaving comments over making changes44f7fci f - Merge oull request #2014 trom uminnv /nx-av-icon-and-toroid-claude.from-committingjiminny/app Added by GitHubCircleCl APP 3.22 PMDeployment Successful!Project: appWhen• 04724/204 905lag.View JobCitlinh App 6.04 oMll4 new commits pushed to master by LakyLakd7e834d1 - JY-20738 add debug logs on AJ report UP tracking7b28fe8e - Merge branch 'master' into JY-20738-debug-AJ-tracking-UP30b741c1 - Merge branch 'master' into JY-20738-debug-AJ-tracking-UP1b2bb38a - Merge pull request #12013 from iiminny/JY-20738-debug-AJ-tracking-UPp Added by GitHubCirclecl App 6.04 pмl• Deployment Successful!Proiect. annWhen: 04/24/202614-24-31Thg!View lohMessage #releases9 22= laravel.log ~A HS_local (jiminny@localhost]Sole [PROD]A console [STAGING)-04-24 10:28:49] local.ERROR:[SocialAccountServicel Failed ~W779A VI-04-24 10:28:49] local.INF0: [SocialAccount0bserver] Saving model {"correla-04-24 10.20.47 LocaL.EкKUKLsoclaLAccountservicel rarled to rerresh cokei-04-24 10:28:49] local.INF0: [SocialAccountServicel Fetching token {"social-04-24 10:28:49 Local.INFU: Soc1aLAccountServicel Token needs retreshing •-04-24 10:28:49 Local.INFU:-04-24 10:28:49 Local.INFU:Soc1aLAccountServicel Retreshing token from pi-04-24 10:28:49 Local.ERRURI[SocialAccountService] Failed to refresh tokei-04-24 10:28:50 Local.INFO:Soc1aLAccountUbserver Saving model*"correli-04-24 10:28:501 LOCOL, ERRORILSoc1aLAccountservicel Falled to refresh toket-04-24 10:28:501 LocoLINFO:SociaLAccountServicel Ferchino token <"soctal[SocialAccountService] Token retrieved {"socia-04-24 10:28:501 LocaL.INF0:EncrvotedtokenManager Generatina access tokei-04-24 10:28:50] Local.INF0: Calendar sync job dispatched {"calendar_id":50:-04-24 10:28:501 LocaLINF0: SocialAccountServicel Fetchina token "social-04-24 10:28:50] local.INF0: [SocialAccountService] Token needs refreshing •-04-24 10•28•S0l TocolTNS0• EncryntedtokenManagen Genenatina accocs tokel-04-24 10:28:50] local.INF0: [SocialAccountService] Refreshing token from pi-04-24 10•28•501 1oca1 EPROR[SocialAccountService] Failed to refresh toker-04-24 10:28:50] local.INF0: [SocialAccount0bserver] Saving modeld"cornola-04-24 10•28•501 1ocn1 EPROR•[SocialAccountServicel Failed to refresh tokei-04-24 10:28:50] local.INF0: [SocialAccountService] Fetching token {"social-04-24 10:28:50] local.INF0: [SocialAccountService] Token needs refreshing •-04-24 10:28:50] local.INF0: [EncryptedTokenManager] Generating access tokei-04-24 10:28:50] local.INF0: [SocialAccountService] Refreshing token from pi-04-24 10:28:50] local.INF0: [SocialAccountServicel Fetching token {"social-04-24 10:28:50] local.INF0: [SocialAccountServicel Token retrieved {"socia-04-24 10:28:50 Local.LNFU: EncryptedlokenManager benerating access tokei-04-24 10:28:50] local.INF0: [Calendar] Processing sync {"calendarId":"a330-04-24 10:28:50 Local.ERRURSoc1aLAccountservice ralled to retresh tokei-04-24 10:28:50] local.INF0: [Crm0wnerResolverl Integration owner matched a:-04-24 10:28:501 LocoL. INFO"SocialAccountService Fetchino token <"soclau-04-24 10:28:501 local, INF0: [SocialAccountObserverl Savina model-04-24 10:28:501 LocaL, ERRORISocialAccountServicel Failed to refresh tokei-04-24 10:28:501 LocaL. INFO:[SocialAccountService] Token retrieved {"socia"-04-24 10:28:501 LocaL. INFO:EncrvotedtokenManager Generatina access tokei[SocialAccountService] Fetching token {"social-04-24 10:28:501 LocaL.INFO:SocialAccountServicel Token needs refreshing •-04-24 10•28 • S0l ocoLTNS0:[EncryptedTokenManager] Generating access tokei-04-24 10•28•501 local TNE0•SocialAccountService Refrechina token from ni-04-24 10•28•501 local ERROR•[SocialAccountService] Failed to refresh tokei-04-24 10:28:50] local.INF0: [SocialAccount0bserver] Saving model"cornela[SocialAccountService] Failed to refresh tokei-04-24 10•28•501 localTNED• [SocialAccountSenvicel Fetchina token «"social)-04-24 10:28:50] local.INF0: [SocialAccountService] Token needs refreshing •-04-24 10.29•501 Jocol TNS0• EnenvntodTakenMananon Gononatina accoce tolel-04-24 10:28:50] local.INF0: [SocialAccountService] Refreshing token from pi-04-04 10.29•511 Jo601 TNSO-fcooalo Colondanl Cailod to watch channel fon ,prorl":{'errors":[CascadeFixing Favicon Incons• AskJimiNow update the test - since mailable is no longer queued, Mail::assertQueued becomes Mail::assertSent :• SendReportExpiringSoonMailJobTest.php• SendReportExpiringSoonMailJobTest.phpNow let me run the tests. Let me check how other tests are executed:• docker os --format ".Names}" | head -20• docker ps -a --format "{{.Names}}"100% L2Fri 24 Apr 18:29:54+0...so remove it and continue with tests and reviewenorts/ MSendRenortEynirinaSoonMail.lobTest.nhn ÷205aoo/Mail/Renorts/f Ask.liminnvRenortExoirinaMail.ohvAsk anvthina (&+D+ « CodeClaude Onus 4.7 Medium* Reiect allAcceot all1-1.UTE.A...
|
Slack
|
releases (Channel) - Jiminny Inc - 1 new item - Sl releases (Channel) - Jiminny Inc - 1 new item - Slack...
|
NULL
|
79177
|
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelpscreenpipe"APP (-zsh)DOCKER381DEV (-zsh)O $82*3audio chunk durationportaudio disabledvision disabledpause on DRM contentaudio enginevad enginedata directorydebug modetelemetryuse pii removaluse all monitorsignored windowsincluded windowscloud syncauto-destruct piddeepgram keyapi auth2026-04-24T13:24:23.186334Z2026-04-24113:24:23.1984892encrypt secretsretention days30 seconds3030truefalsefalseParakeetSilero/Users/lukas/.screenpipefalsetruetruetrue["Boosteroid"]disablednot setenabledINFO screenpipe_core::pipes: pipe scheduler started (generation 2)WARN screenpipe: pi agent install failed: bun not found - install from https://bun.shdisabled14languagesall languagesmonitorsid: 1id: 2audio devicesdisabledyou are using local processing. all your data stays on your computer.warning: telemetry is enabled. onlyerror-level data will be sent.to disable, usethe --disable-telemetry flag.check latest changes here: https://github.com/screenpipe/screenpipe/releases2026-04-24T13:24:23.2161982INFO screenpipe: starting Ul event capture2026-04-24T13:24:23.238868Z2026-04-24T13:24:23.260906Z2026-04-24T13:24:23.26091122026-04-24T13:24:23.260972Zscreenpipe*(23884100% <478Fri 24 Apr 18:30:47-zshT81*5PhpStormPS:24:23.260965 UTC)...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79185
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\AutomatedReports;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Jiminny\Jobs\AutomatedReports\SendReportExpiringSoonMailJob;
use Jiminny\Mail\Reports\AskJiminnyReportExpiringMail;
use Jiminny\Models\AutomatedReport;
use Jiminny\Models\User;
use Jiminny\Repositories\AutomatedReportsRepository;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Tests\TestCase;
class SendReportExpiringSoonMailJobTest extends TestCase
{
private LoggerInterface&MockObject $logger;
private AutomatedReportsRepository&MockObject $reportRepository;
private UrlGenerator&MockObject $urlGenerator;
private SendReportExpiringSoonMailJob $job;
private string $reportUuid = 'test-uuid';
protected function setUp(): void
{
parent::setUp();
$this->logger = $this->createMock(LoggerInterface::class);
$this->reportRepository = $this->createMock(AutomatedReportsRepository::class);
$this->urlGenerator = $this->createMock(UrlGenerator::class);
$this->urlGenerator->method('route')
->with('ai.reports.show')
->willReturn('http://localhost/ai-reports');
Mail::fake();
$this->job = new SendReportExpiringSoonMailJob($this->reportUuid);
}
public function testUniqueIdReturnsReportUuid(): void
{
$this->assertSame($this->reportUuid, $this->job->uniqueId());
}
public function testHandleSendsEmailToCreator(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('info')
->with($this->stringContains('Email sent'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertSent(AskJiminnyReportExpiringMail::class, function (AskJiminnyReportExpiringMail $mail): bool {
return $mail->hasTo('[EMAIL]');
});
}
public function testHandleReturnsEarlyWhenReportNotFound(): void
{
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn(null);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Report not found'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorMissing(): void
{
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn(null);
$report->method('getTeamId')->willReturn(7);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReturnsEarlyWhenCreatorEmailMissing(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
$this->logger->expects($this->once())
->method('warning')
->with($this->stringContains('Creator email missing'), $this->anything());
$this->job->handle($this->logger, $this->reportRepository, $this->urlGenerator);
Mail::assertNothingSent();
}
public function testHandleReleasesJobOnMailFailure(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$this->logger->expects($this->once())
->method('error')
->with($this->stringContains('Error sending email'), $this->anything());
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['release'])
->getMock();
$jobMock->expects($this->once())
->method('release')
->with(60);
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
public function testHandleFailsJobAfterMaxAttempts(): void
{
$creator = $this->createMock(User::class);
$creator->method('getEmailAddress')->willReturn('[EMAIL]');
$creator->method('getId')->willReturn(42);
$report = $this->createMock(AutomatedReport::class);
$report->method('getCreator')->willReturn($creator);
$report->method('getCustomName')->willReturn('Pipeline Health');
$report->method('getExpiresAt')->willReturn(Carbon::parse('2026-05-01'));
$this->reportRepository->expects($this->once())
->method('findByUuid')
->with($this->reportUuid)
->willReturn($report);
Mail::shouldReceive('mailer')->with('postmark')->andReturnSelf()
->shouldReceive('to')->andThrow(new Exception('SMTP down'));
$jobMock = $this->getMockBuilder(SendReportExpiringSoonMailJob::class)
->setConstructorArgs([$this->reportUuid])
->onlyMethods(['attempts', 'fail'])
->getMock();
$jobMock->expects($this->atLeastOnce())
->method('attempts')
->willReturn(3);
$jobMock->expects($this->once())
->method('fail')
->with($this->isInstanceOf(Exception::class));
$jobMock->handle($this->logger, $this->reportRepository, $this->urlGenerator);
}
}
Code changed:
Hide
Sync Changes
Hide This Notification
779
Previous Highlighted Error
Next Highlighted Error
[2026-04-24 10:24:09] local.INFO: [automated-reports] Started {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Checking conditions {"isMonday":false,"isWeekend":false,"isFirstDayOfMonth":false,"currentMonth":4,"isQuarterlyMonth":true} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:09] local.INFO: [automated-reports] Processing daily reports {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Found 1 daily reports to process {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","teamId":1,"frequency":"weekly","type":"ask_jiminny"} {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:10] local.INFO: [automated-reports] Completed {"correlation_id":"4ef6e232-88d2-4935-87d3-62ff95c3b2d5","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:11] local.INFO: [AskJiminnyReport:Generate] Started {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43"} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport] Fetched activity IDs for saved search {"saved_search_id":1977,"user_id":143,"activity_count":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Fetched activity IDs {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Not enough activities, skipped {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","activityCount":0} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:15] local.INFO: [AskJiminnyReport:Generate] Dispatched not-generated notifications {"automatedReportUuid":"4f6ca2b5-1993-48aa-99ad-b66f19f15d43","recipientsCount":1} {"correlation_id":"00ca4f00-8a80-4bdd-b401-804183825595","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: [Send Report Not Generated Mail] Email sent {"uuid":"dcb12181-9de1-4ef0-9d45-fb4ea6fd0778","email":"[EMAIL]"} {"correlation_id":"27ada0cc-4eb3-49c4-9115-19ece9e24576","trace_id":"6af075f9-940e-4789-b9b4-cb42649b2cf5"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:18] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d9261d90-9df8-4eb4-8dcc-54b29d8e39cb","trace_id":"5c4d23da-1340-4066-b354-55bfb79c0f4a"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:26] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cdcdc062-b51a-4f27-9d4c-95ef48442391","trace_id":"e7701141-f61a-431e-8fac-697bccd67630"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring start {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:35] local.NOTICE: Monitoring end {"correlation_id":"862cdf2d-46ca-4f7b-966b-79a5f2648771","trace_id":"961d76fe-7891-42e6-9d2e-c1dec32ec53b"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3529a427-eebb-4c61-9efb-be7b720d4dc3","trace_id":"63b1fd43-6c0e-44d1-a8d4-a7aaa509815d"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:24:53] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"ebdfa028-0918-4dff-8eec-bafc1d997f9d","trace_id":"dd8b3479-50fa-4fc2-b3f9-581a6250baea"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:23:00, 2026-04-24 10:25:00] {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:01] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6ace59e3-341b-49e4-8e3f-36ea22423005","trace_id":"53678e7f-c854-4c0f-bc6d-c1ad8ba49696"}
[2026-04-24 10:25:09] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [SocialAccountService] Token retrieved {"socialAccountId":1496,"provider":"aircall"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.ERROR: [Aircall] Re-activating webhooks failed {"team_id":1,"reason":"{\"message\":\"Forbidden\"}"} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:10] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:aircall:check-and-renew","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"11e8b9cf-a3f0-49b8-9066-e1f16e743f68","trace_id":"15598fe3-5b2f-49a6-84e3-48c9ab2a0d35"}
[2026-04-24 10:25:18] local.INFO: [RetryFailedDownloads] Starting {"options":{"from":null,"to":null,"help":false,"silent":false,"quiet":false,"verbose":false,"version":false,"ansi":null,"no-interaction":false,"env":null}} {"correlation_id":"6b84611f-1af3-4e64-8c1c-c963ed5bcfa7","trace_id":"056c6533-0c1b-480c-93bb-4b7c788b5dc4"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:11] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cef03617-e15a-498b-8751-efa9b8808ec9","trace_id":"793af5d4-ea14-4e7d-bf10-bdf65c4b41b9"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:17] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d916f4b2-7912-4b9d-a733-794daab3d108","trace_id":"75dc6489-d592-4de8-968d-4f9e9c4a2a57"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring start {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:23] local.NOTICE: Monitoring end {"correlation_id":"9e9c1b30-7cf9-4944-9e1e-5a81e68a65df","trace_id":"000992c5-8e61-4246-a35f-09f1d832ddd1"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:28] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"f8026235-b956-4aaf-9600-b7b93e3d9c74","trace_id":"759b3dbc-2e19-46cd-91c9-9065e063d32e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"4669b9f7-c3b1-4147-b391-8f8314c25042","trace_id":"aff20f19-1f01-4fed-98d7-8ecafcae8c6e"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:24:00, 2026-04-24 10:26:00] {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"23076007-fc54-415a-9900-2270769cd622","trace_id":"ffefe56f-2881-4273-9dd1-93b8efff8334"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:44] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"crm:sync-hubspot-objects","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"cd5d0352-aec8-49be-8730-433061921ee7","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","usage":23540024,"real_usage":65011712,"pid":13878} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.WARNING: [HubSpot] Account not connected for user {"userId":"33e34a7a-1c02-4f04-87ac-22c3a385e6e3","account":{"Jiminny\\Models\\SocialAccount":{"id":306,"sociable_id":109,"provider_user_id":"11348452","expires":1701077403,"refresh_token_expires":null,"provider":"hubspot","state":"full-refresh","auth_scope":null,"retry_after":null,"created_at":"2020-09-01 16:59:04","updated_at":"2023-11-27 09:30:03"}}} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":109,"team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":29} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba","provider":"hubspot","status":"disconnected","duration_ms":38.25,"usage":23605688,"real_usage":65011712,"pid":13878,"reason":"Your HubSpot account has become disconnected. Please login to Jiminny to reconnect."} {"correlation_id":"f65fbc87-0ff6-49b0-bb0f-2b6edf95b900","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SyncHubspotObjects] Starting sync {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","usage":23563904,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1499,"provider":"hubspot"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1499,"provider":"hubspot","refreshToken":"96f94c623a404e02ebdbf07f1b75707bb6cdbf848cbf45d418baf608c41a8d86","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:45] local.INFO: [SocialAccountObserver] Access token was modified, encrypting {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [SocialAccountService] Token refreshed {"socialAccountId":1499,"provider":"hubspot","state":"connected"} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [CrmOwnerResolver] Integration owner matched as CRM Owner {"crm_provider":"hubspot","crm_owner":148,"team_id":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:46] local.INFO: [HubSpot] Syncing opportunities using strategy: lastModified {"team":2} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [Hubspot] Pagination completed {"team_id":2,"endpoint":"https://api.hubapi.com/crm/v3/objects/deals/search","total_requests":1,"total_records_fetched":0,"total_elapsed_seconds":0.6,"average_seconds_per_request":0.6} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [HubSpot] Synced opportunities {"team":2,"strategies":"lastModified","sync_count":0,"total":0,"last_synced_id":null,"duration_ms":635.09} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"abae74b8-bfa8-4383-9a7f-89f4bf2bdbb4","provider":"hubspot","status":"completed","duration_ms":2129.8,"usage":23740736,"real_usage":65011712,"pid":13878} {"correlation_id":"281cf1ba-d862-4a45-aaf6-26a340bc2bfd","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","usage":23715400,"real_usage":65011712,"pid":13878} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"71e3aac5-fb66-47c5-a236-2d051ae3e319","account":null} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":256,"team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":49} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"c6b9d6b0-b48d-4832-a68c-a57d60651888","provider":"hubspot","status":"disconnected","duration_ms":51.31,"usage":23689016,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"09262b7b-a2e2-41d5-b42b-25f31846d7a8","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Starting sync {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","usage":23649656,"real_usage":65011712,"pid":13878} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.WARNING: [HubSpot] Account not connected for user {"userId":"2ac0447f-3c8c-4ce0-baeb-b63ddb76fa9b","account":null} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"hubspot","crm_owner":130,"team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"hubspot","team_id":42} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:47] local.INFO: [SyncHubspotObjects] Sync finished {"team":"b2d49a54-b645-4637-a7ae-a86cfce6e8e4","provider":"hubspot","status":"disconnected","duration_ms":18.47,"usage":23692568,"real_usage":65011712,"pid":13878,"reason":"Social account for HubSpot cannot be found. Please login to Jiminny to connect."} {"correlation_id":"70df60f3-aed6-4daa-a246-71fb82f49d68","trace_id":"594c907f-7401-4dd2-8ba1-59e5857f0d4c"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:49] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"activity:notify-not-logged","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"42acc0c5-3653-49d1-a44a-19758cc28092","trace_id":"c0b07036-9e27-4742-a009-69972c67bced"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] STARTING Inbox Sync {"host":"docker_lamp_1"} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: [EmailSchedule] FINISHED Inbox Sync {"host":"docker_lamp_1","events":2} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:26:59] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:sync","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"55eab912-4003-455b-813c-4e3f8383acc8","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Inbox service] Skipping METADATA SYNC for inbox 59 due to unauthorized access to the mailbox {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":59} {"correlation_id":"be91dd09-c8e5-4e5d-a1e8-e1cc9979a32f","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync start {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.WARNING: [Salesforce] Account not connected for user {"userId":"641f1acb-16b8-42d1-8726-df52979dad0e","account":{"Jiminny\\Models\\SocialAccount":{"id":1500,"sociable_id":143,"provider_user_id":"0052g000003frelAAA","expires":null,"refresh_token_expires":null,"provider":"salesforce","state":"full-refresh","auth_scope":"refresh_token web api","retry_after":null,"created_at":"2026-02-06 08:39:03","updated_at":"2026-04-24 06:38:47"}}} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] Integration owner is not connected, attempting team members {"crm_provider":"salesforce","crm_owner":143,"team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team members found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [CrmOwnerResolver] No team member found with active crm connection {"crm_provider":"salesforce","team_id":1} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.ERROR: Failed to set service context for google: Your Salesforce account has become disconnected. Please login to Jiminny to reconnect. {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:27:00] local.INFO: [Sync Mailbox] Sync complete {"inbox_id":212} {"correlation_id":"da707eb9-3c1d-487e-8c92-1d018e0ca29d","trace_id":"cf803936-d9cd-4a75-b022-49f4b9a758da"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: [ScheduleBotCommand] Number of activities to be captured: 0 {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:04] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"meeting-bot:schedule-bot","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"d1e33635-9ed1-4df1-86f1-8a9fbb4a9aad","trace_id":"c6abf4b5-1c8f-4bdf-a4ee-99e15a883fdc"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:12] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"dialers:monitor-activities","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"62e59e15-b6bd-4952-be03-365a8341880d","trace_id":"ef3bd6bb-ab65-4e80-82cd-5e91b176b702"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring start {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:18] local.NOTICE: Monitoring end {"correlation_id":"fde8ab81-2a83-4068-9a10-f407d3a55d8e","trace_id":"5bad50f3-1b72-4f42-82d1-01b230b9c096"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:25] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:skip-lists:refresh","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"3b9652a6-4242-49c2-a3c5-a0ff70d13469","trace_id":"8a1a2a8c-7fa6-4a35-b189-6165f66e1ae9"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] STARTING batch process {"host":"docker_lamp_1"} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: [EmailSchedule] FINISHED batch process {"host":"docker_lamp_1","processed":0} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:33] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:process","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"983ba273-68c0-472a-bd0f-83c4705711a3","trace_id":"382d4d84-d0e5-4f63-96f1-bfb6c0b366ea"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Running conference:monitor:count command for activities in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: [conference:monitor:count] No activities found in (2026-04-24 10:26:00, 2026-04-24 10:28:00] {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:39] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"conference:monitor:count","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"26102185-655f-4837-ba5d-ed80e510f81b","trace_id":"8eca9c30-8319-480b-b138-c96d558f3930"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"calendar:sync","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:45] local.INFO: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryPeakBeforeCommandInMb":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:45] local.NOTICE: Calendar sync start {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: Jiminny\Console\Commands\Command::run Memory usage for command {"command":"mailbox:batch:retry-failed","memoryBeforeCommandInMb":60.0,"memoryAfterCommandInMB":60.0,"memoryPeakBeforeCommandInMb":99.723,"memoryPeakAfterCommandInMB":99.723} {"correlation_id":"6daa2a6a-4861-4a83-97d1-720d8627b90c","trace_id":"1a8fc095-aca6-48d5-91f7-775fb9010d5b"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1393,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1393,"provider":"google","refreshToken":"5aa7e2d96b53201cd16fca5d2e4ef3ad03320971fc064781d18aee3ae7b99fbf","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1393,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1387,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1387,"provider":"google","refreshToken":"8157ac6de94842937194009e9c50e459253600f799dacf6a40755ffdbeb5bba6","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1387,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1348,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:46] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1348,"provider":"google","refreshToken":"9e7d13d3032d0cb1b79d8e95aef01383e8e91eb52ff8ee960c8a0b6b95cd8c73","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Bad Request"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1348,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fetching token {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Token needs refreshing {"socialAccountId":1361,"provider":"google"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [EncryptedTokenManager] Generating access token. {"mode":"legacy"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Refreshing token from provider {"socialAccountId":1361,"provider":"google","refreshToken":"6c843da199c2b9907445329304fcc4ec5057a4ee748d8299641764395c08e1fd","state":"full-refresh"} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","responseBody":{"error":"invalid_grant","error_description":"Account has been deleted"}} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountObserver] Saving model {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.ERROR: [SocialAccountService] Failed to refresh token {"socialAccountId":1361,"provider":"google","reason":"Flow refresh required."} {"correlation_id":"b9d8fda5-07a8-4e2e-aed6-dfc9e429c454","trace_id":"3f0ebfa1-5cdd-43d4-8bf2-1836de106d27"}
[2026-04-24 10:28:47] local.INFO: [SocialAccountService] Fe...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79186
|
|
Project: faVsco.js, menu
JY-20508-notify-before-AJ Project: faVsco.js, menu
JY-20508-notify-before-AJ-report-expiration, menu
Start Listening for PHP Debug Connections
ReportControllerTest
Run 'ReportControllerTest'
Debug 'ReportControllerTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
PhostormVIeWINavigarecodeLaravelKeractorWindowFV faVsco.js°9 JY-20508-notify-before-AJ-report-expirationProledeyOrganizationRolesFeatureTest.php© PlanhatServiceFeatureTest.php@ ScimUsersFeatureTest.php© TeamRetentionPolicyFeatureTest.php© ThemeTopicUpdateFeatureTest.phpUserOnboardFeatureTest.php© SendReportExpiringSoonMailJob.phpsenakepormallJoe.pnp© AskJiminnyReportExpiringMail.phpask-jiminny-report-expiring.blade.phg< index.html© UserAut›Incearauionservicesv D Uni›use ..•Actions20 Dclass SendReportExpiringSoonMailJobTest extends TestCaseContiqurationConsole1a contractsDomainmотOM EnumsM EventsM ExcentionsM GuardeM HelnersD HttpIM AccoccTokenProvider28 đ >v M Controllerc› D Api.,mKinck45 D >~MWohhonk50 D >>@ Hubspot> C IntegrationAppSubscriptions© CalendarControllerTest.php© ReportControllerTest.php© ConferencesOptinOutControllerTest 112> 0 Middleware77D>93 D ›113 D>• Requests> M Transformer136 D>> Transformers© ValidateCrmConnectionRequiredTraitTe 121 D ›> M integrations>M InteractionsJobs>MActivitAiAutomation> M Audiol• M AutomatedRenortsc) CreateRecultsTect nhnC) RequestGenerateAck.liminnvRenort.llC) RequestGenerateRenort.lobTest nhnh CondDonortEynirinaCoonMail lohTod© SendReportJobTest.php© SendReportMailJobTest.php12 usages13 usagesprivate LoggerInterface&MockObject Slogger,private AutomatedReportsRepository&Mock0bject SreportRepository:o usagesprivate UrlGenerator&Mock0bject SurlGenerator;private SendReportExpiringSoonMailJob Sjob;10 usagesprivate string SreportUuid = 'test-uvid':protected function setUp(): void{...}public function testUniqueIdReturnsReportUuid0: void{...public function testHandleSendsEmailToCreatorO: void{...}public function testHandleReturnsEarlyWhenReportNotFoundO: voidf...}oubuic tunction testrandlereturnszar.vwhencreatoriassinou: vozd...rpublic function testHandleReturnszarvWencreatorEmai MissingO: voids....public function testHandleReleasesJob0nMailFailure0: voidt...=public function testHandleFailsJobAfterMaxAttempts(): void{...}X Reiect File +%&senakeportsoe.gnpSendReportExpiringSoonMailJobTest.php X€ 2 0f 2 files →= laravel.log X4 SF [jiminny@localhost]A HS_local (jiminny@localhost]console [PKOD)A console [STAGING)-04-24 10:28:49] local.ERROR:[SocialAccountServicel Failed ~W779A VI-04-24 10:28:49] local.INF0: [SocialAccount0bserver) Saving model {"correl-04-24 10.20.47 LocaL.EкKUKLsoc1a LAccountservicel ralled to rerresh cokei-04-24 10.20.4% Local. LNFU.[SocialAccountServicel Fetching token {"social-04-24 10:28:49 Local.INFU: Soc1aLAccountServicel Token needs retreshing •-04-24 10:28:49] Local. INF0:-04-24 10:28:49 Local.INFU:Soc1aLAccountService Refreshing token trom pi-04-24 10:28:49 Local.ERROR[SocialAccountService] Failed to refresh tokei-04-24 10:28:50 Local.INFO:Soc1aLAccountobserver Saving model*"correliLSoc1aLAccountservice Falled to refresh tokeFetchina token <"sochal[SocialAccountService] Token retrieved {"socia-04-24 10:28:501 LocaL.INF0:EncrvotedtokenManager Generatina access tokei-04-24 10:28:50] Local.INF0: Calendar sync job dispatched {"calendar_id":50-04-24 10:28:501 LocaLINF0: SocialAccountServicel Fetchina token "social-04-24 10:28:50] local.INF0: [SocialAccountService] Token needs refreshing-04-24 10•28•S0l TocolTNS0• EncryntedtokenManagen Genenatina accocs tokel-04-24 10:28:50] local.INF0: [SocialAccountService] Refreshing token from pi-04-24 10•28•501 1oc01 EPROR[SocialAccountServicel Failed to refresh toker-04-24 10:28:50] local.INF0: [SocialAccountObserver] Saving model {"correli-04-24 10•28•501 1ocn1 EPROR[SocialAccountServicel Failed to refresh tokei-04-24 10:28:50] local.INF0: [SocialAccountService] Fetching token {"social-04-24 10:28:50] local.INF0: [SocialAccountService] Token needs refreshing •-04-24 10:28:50] local.INF0: [EncryptedTokenManager] Generating access tokei-04-24 10:28:50] local.INF0: [SocialAccountService] Refreshing token from pi-04-24 10.20.00 LocaL.INrU. SOC1aLAccoUntservice recchino coken soclau-04-24 10:28:50] local.INF0: [SocialAccountServicel Token retrieved {"socia"-04-24 10:28:50 Local.LNFU: EncryptedlokenManager benerating access tokei-04-24 10:28:50] local.INF0: [Calendar] Processing sync {"calendarId":"a330-04-24 10:28:50 Local.ERRORSoc1aLAccountservicel ralled to retresh tokei-04-24 10:28:50] local.INF0: [Crm0wnerResolverl Integration owner matched a:-04-24 10:28:501 LocoL. INFO"SociaLAccountServicelFetchina token *"soclau-04-24 10:28:501 local, INF0: [SocialAccountObserverl Saving mode1-04-24 10:28:501 LocaL, ERRORISocialAccountServicel Failed to refresh tokei[SocialAccountService] Token retrieved {"socia"-04-24 10:28:501 LocaL.INFO[SocialAccountServicel Fetching token {"social-04-24 10:28:50LocaL. INFO:-04-24 10•28•501 Tocol. TNE0•SocialAccountServicel Token needs refreshing •[EncryptedTokenManager] Generating access tokeiSocialAccountSenvicel Refrechina token from ni-04-24 10•28•501 Jocol ERROR•[SocialAccountService] Failed to refresh tokei-04-24 10:28:50] local.INF0: [SocialAccountObserver] Saving model"cornela[SocialAccountService] Failed to refresh toker-04-24 10•28•501 localTNED• [SocialAccountSenvicel Fetchina token «"social)-04-24 10:28:50] local.INF0:[SocialAccountService] Token needs refreshing1-04-24 10.29•501 Jocol TNS0• EnenvntodTakenMananon Gononatina accoce tolel-04-24 10:28:50] local.INF0: [SocialAccountService] Refreshing token from pi-04-24 10.29•511 10601 TNS0•fcooalo Colondanl Cailod to watch channel fon ,rorl":{CascadeFixing Favicon InconsAutomated Reports• AskJiminnyReportExpiringMail.phpNow update the test - since mailable is no longer queued, Mail::assertQueued becomes Mail::assertSent :nenoneooncxollnineooniMciiniolollerieelnienSendReportExpiringSoonMailJobTest.php• SendReportExpiringSoonMailJobTest.phpNow let me run the tests. Let me check now other tests are executed:• docker os --format ".Names}" head -20docker ps -a --format ".Names)?"docker lamp 1pioahet-ap1100% 152Fri 24 Apr 18:30:57+0...so remove it and continue with tests and review+1 -4+1 -11Renorts/ M SendRenortEynirinaSoonMail.lobTest.nhn +205aoo/Mail/Renorts/f Ask.liminnvRenortExoirinaMail.ohvAsk anvthina (&+D+ « CodeClaude Onus 4.7 MediumAccent alliW Windsurf Teams1-1.UTE.8io 4 spaces...
|
PhpStorm
|
faVsco.js – SendReportExpiringSoonMailJobTest.php
|
NULL
|
79187
|