|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpladl• Tech Day Review - in 1h 24 mAAPP (-zsh)X4-zshDOCKER• ₴1DEV (docker)APP (-zsh)X3-zsh• ₴5* Review screenp...• 286Changes notstagedfor commit:(use"git add ‹file>..to update what will becommitted)(use"git restore<files..." to discard changesin working directory)modified:./.env.localmodified:./app/Console/Commands/JiminnyDebugCommand.phpmodified:../app/Http/Controllers/API/ActivityController.phpmodified:../app/Http/Controllers/Webhook/ReportController.phpmodified::./app/Jobs/Team/SyncToIntercom.phpmodified:/app/Services/PlaybackService.phpmodified::/config/logging.phpmodified:../routes/web.phpUntracked files:Cuse"git add <files..."to include in what will be committed)'.env.nikilocal/.env.other../WEBHOOK_FILTERING_IMPLEMENTATION.md../app/Console/Commands/Crm/Hubspot/SimulateWebhooksCommand.php../app/Console/Commands/Reports/CreateMockAskJiminnyReportResultCommand.php./ids.txt../raw_sql_query.sql../tests/Unit/Policies/CanAccessAiReportsTest.phpno changes addedto commit (use "git add"and/or "git commit -a")lukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ git pullremote: Enumerating objects: 170,done.remote: Counting objects: 100% (147/147), done.remote: Compressing objects: 100% (35/35), done.remote:Total 170 (delta 116), reused 121 (delta 111), pack-reused 23 (from 1)Receiving objects: 100% (170/170), 55.28 KiB | 1.42 MiB/s,done.Resolving deltas: 100% (119/119), completed with 47 local objects.From github.com:jiminny/app82671d4c13..d4352c6e59JY-20291-datadog-processing-states-> origin/JY-20291-datadog-processing-states20e95bbbc9..360f12adddJY-20541-cleanup-stale-tasks-and-events-> origin/JY-20541-cleanup-stale-tasks-and-events+ 9f8d154791...01c43d2aa6 JY-20553-debug-crm-sync-delays-> origin/JY-20553-debug-crm-sync-delays (forced update)* [new branch]JY-20695-handle-no-raw-transcript-› origin/JY-20695-handle-no-raw-transcriptbe76d8ba82..9b30c928c4JY-9712-change-forever-nudges-to-1-year-expiration -> origin/JY-9712-change-forever-nudges-to-1-year-expiration5bb8fefcba..c04e334173master-> origin/masterUpdating aba9685c0d..08ed383c5berror: Your local changes to the following files would be overwritten by merge:app/Http/Controllers/Webhook/ReportController.phpPlease commit your changes or stash them before you merge.Abortingukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ Uec2-user@ip-10-...• 87100% <478Fri 17 Apr 15:36:181₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileFditViewNavigateCodelaraveRefactonTool PhpStormFileFditViewNavigateCodelaraveRefactonToolsWindowHelpFV faVsco.s v#11894 on JY-18909-automated-reports-ask-iminny K vProject vC PlaybookRepository.phpC AskJiminnyReportActivityService.php XC ReportController.php= custom.log=aravel.loeL SF (iminny@localhostHS_local fiminny@localhost)& console (PROD]AutomatedReportsC JiminnyDebugCommand.phpC AutomatedReportsSendCommand.phpAulomaleakeporscommand.one< console LU4 console [STAGING] *C RequestGenerateAskJiminnyReportJobTest.php(©) ActivityTypeServi© AutomatedReportsRepository.php© AutomatedReportsService.php© CreateHeldActivityEvent.phpIx. AUto vHaycroundv(C AskJiminnyRepor(C) AutomatedReporiC TrackProvh-erInstalledEvent.php(©) CreateActivityLoggedEvent.phpC UserPilotActivityListener.php542select * from activitieswhere id = 54747783: # 00U0400000pCzojMAC(C) AutomatedReporiC ActivityLogged.php© AutomatedReportsCallbackService.php© DealStagesServic~/jiminny/app/app/Listeners/Activities/Coaching/UserPilot/CreateActivityLoggedEvent.phpc) RequestGenerateRenort.lob.ono© Recipientsservice© AutomatedReportResult.php@ Reportsort.phpclass ASkJ1minnyReportActiv1tyserviceVLEIA546(a) Reporison Directipublic function __construct547Kloskservice.php• 4...H1549> M Mail1545MeetingGeneratorNotification/*** Fetch activity IDs for a saved search, passing its filters as-is to Criteria551D 0Auth2* Date filters stored on the saved search are excluded; if no other filters exist os4RecallAl* no date constraint 1s applied - matching the behaviour of getcontextrorAskanyth sos_ Security554_ Strategy* @return string[] Activity IDs555StreamingM Team*/556TelephonyM UserPilotpublic function getActivityIdsForSavedSearchdvearen osavecsearchrM WebhookUser suser,558559566© AbstractService.php: array %...}C) ActivityProviderFactoryC) ActivityService.php561562563C ApiResponseService.phprivate function buildRequestParamsFromSearch(Search $savedSearch, User $user): ar 564C) ConferenceService.php565© InsightSeatService.php$params = []:566© InstantMeetingService.фarrayrilterkeys = puhls->aculvitysearch->getArrayrilterkeys(suser);567pc.id, pc.nameFROM playbooks pJo1n playbook_categories pc 1<->l.n: on p.1d = pc.playbook_1dwhere p.team_1d = 1 and p.activity_type = 'event'*SELECI * FROM CrM_TIeLaS wHERE crm_contiguratlon_1d = 1 and object_type = event,oeLee * From cen telo values wirke crn teld 1o z4tselect * from crm lavouts cl ioin plavbook lavouts pl 1<->1..n: on cl.id = pl.lavout idwhere crm confiquration id = 1 and pl.playbook id = 175:select * from teams:SELECT r.* FROM automated reports rjoin teams t on r.team.id = t.ldWHERE r.frequency = 'dally'and r.status =1AND t.Scatus = 'accive'AND (r.expares ar >= now un r.expares at Is nuLb):select * from automated_report_results where report id IN (18, 33):select x Tron acclvity searches where 10 = 107021select * from activity search filters where activity search id = 10932:select * from automated reports order by id desc:Ma lminny v018 416 X13 ^Tech Day Review • in 1h 24 mA100% [45Fri 17 Apr 15:36:18• RequestGenerateAskJiminnyReportJobTest vCascadeAutomated Renort RetPlaybook Activity TypeRead Service.0ho # 423-557Now l have the full picture. Let me also check the PlaybookController to see where PlaybookCreated isTred:Searched PlavoookCreated and pertormed 2 other queriesNow lhave a complete understanding of the flow. Let me summarize what I found:How It Works: Playbook Created → Activity Type Categories1. Playbook creationPlaybookcontroller::storea• PlaybookRepository::create creates the playbook, setting activity field id via getDefaultActivitvFieldlevent (new PlaybookCreated($playbook, Suser)) fires2. PlaybookCreated listeners (all queued via ShouldQueue ):• AttachLayout — creates the default CRM layoutCreater laybookcreareacvent — tracks in FlannatImportActiv1tylyoes — imporis picklist values as categories3. ImportActivityTypes::handle() (ImportActivityTypes.php:33-69):Skips if categories already existCals scmservice-syperteidtsta/oues glagsovit-petAdl) yfat tod metaun sovedFieldValuel Eloquent modelsAsk anytning (dtL)"CodeClauce sonnet 4.0WServicesv DatabaseV LEUa console 1 s 59 msvd iminny@localhostc SF#HS localV A PRODci consoe s 340 msV ASTAGINGc consoe• DockerConsole outoutworksoace associated with branch Jy-loy0g-automaled-reports-ask-jiminny nas been restored // Kollback // Contigure... (2 minutes ago)winasun leams /4:22 UlF-oia 4 spaces...
|
NULL
|
NULL
|
NULL
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpladl• Tech Day Review - in 1h 24 mAAPP (-zsh)X4-zshDOCKER881DEV (docker)APP (-zsh)X3-zsh• ₴5* Review screenp...• ₴6Changes notstagedfor commit:(use"git add ‹file›….to update what will becommitted)(use"git restore<file>..."to discard changesin working directory)modified:.env.localmodified:./app/Console/Commands/JiminnyDebugCommand.phpmodified:../app/Http/Controllers/API/ActivityController.phpmodified:../app/Http/Controllers/Webhook/ReportController.phpmodified::./app/Jobs/Team/SyncToIntercom.phpmodified:/app/Services/PlaybackService.phpmodified::/config/logging.phpmodified:../routes/web.phpUntracked files:Cuse"git add <files..."to include in what will be committed)/.env.nikilocal/.env.other../WEBHOOK_FILTERING_IMPLEMENTATION.md../app/Console/Commands/Crm/Hubspot/SimulateWebhooksCommand.php../app/Console/Commands/Reports/CreateMockAskJiminnyReportResultCommand.php./ids.txt../raw_sql_query.sql../tests/Unit/Policies/CanAccessAiReportsTest.phpno changes addedto commit (use "git add"and/or "git commit -a")lukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ git pullremote: Enumerating objects: 170,done.remote: Counting objects: 100% (147/147), done.remote: Compressing objects: 100% (35/35), done.remote:Total 170 (delta 116), reused 121 (delta 111), pack-reused 23 (from 1)Receiving objects: 100% (170/170), 55.28 KiB | 1.42 MiB/s,done.Resolving deltas: 100% (119/119), completed with 47 local objects.From github.com:jiminny/app82671d4c13..d4352c6e59JY-20291-datadog-processing-states-> origin/JY-20291-datadog-processing-states20e95bbbc9..360f12adddJY-20541-cleanup-stale-tasks-and-events-> origin/JY-20541-cleanup-stale-tasks-and-events+ 9f8d154791...01c43d2aa6 JY-20553-debug-crm-sync-delays-> origin/JY-20553-debug-crm-sync-delays (forced update)* [new branch]JY-20695-handle-no-raw-transcript-› origin/JY-20695-handle-no-raw-transcriptbe76d8ba82..9b30c928c4JY-9712-change-forever-nudges-to-1-year-expiration -> origin/JY-9712-change-forever-nudges-to-1-year-expiration5bb8fefcba..c04e334173master-> origin/masterUpdating aba9685c0d..08ed383c5berror: Your local changes to the following files would be overwritten by merge:app/Http/Controllers/Webhook/ReportController.phpPlease commit your changes or stash them before you merge.Abortingukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ Uec2-user@ip-10-...• ₴7100% <478Fri 17 Apr 15:36:201₴81ec2-user@ip-10-...O ₴8APP...
|
NULL
|
NULL
|
NULL
|
|
18PhpStormFileFV faVsco.js vEditViewNavigateCodeLa 18PhpStormFileFV faVsco.js vEditViewNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-jiminny k ~ToolsWindowHelpProjectv© ParticipantStatsReposit© PlaybookCategoryRepo© PlaybookRepository.php© PlaylistActivityRepositor© PlaylistRepository.php© PlaylistShareRepository© QuestionRepository.php© RoleChangeEventRepos© RoleRepository.php© SearchRepository.phpC) SnapshotRepositorv.phi© SocialAccountRepositor© StageRepository.php© SubscriptionSetRepositTaskRepository.php© TeamAiContextRepositc© TeamDomainsRepositor© TeaminsightsRepository© TeamRepository.php© ThemeRepository.php© TimezoneRepository.ph© TopicRepository.phpTopicTriggerRepository© TrackRepository.php© TranscriptionModelLoc:© TranscriptionRepository© TranscriptionSummaryF© UserRepository.php© VocabularyRepository.pServicesv D DatabaseV LEU4, console 1 s 59 msv Ajiminny@localhost4 SFA HS_localV &PRODci consoe s 340 msV L STAGINGc consoey Docker© PlaybookRepository.php x© AskJiminnyReportActivityService.phpC JiminnyDebugCommand.phpAutomatedReportsSendCommand.php© AutomatedReportsRepository.php© TrackProviderInstalledEvent.phpC ActivityLogged.php© AutomatedReportsService.php© CreateActivityLoggedEvent.phpC AutomatedReportsCallbackService.php© ReportController.phpC) AutomatedReportsCommand.php= custom.log< console LUl= laravel.logA SF [jiminny@localhost]A console [STAGING] xA HS_local [iminny@localhost]© RequestGenerateAskJiminnyReportJobTest.phpA console [PROD]© CreateHeldActivityEvent.php© UserPilotActivityListener.phpC RequestGenerateAskJiminnyReportJob.phpIx. Aulo vMlaycroundv© RequestGenerateReportJob.phpe) AutomatedRenortResult.nno© AutomatedReport.phpclass PlaybookRepository implements PlaybookRepositoryContractprivate ProviderRegistry $crmRegistry:public function __construct(ProviderRegistry $providerRegistry){...}542543544545546547548549select * from activities where id = 54747783; # 00U0400000pCzojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc 1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event' ;oeLee * Fror cen telo values wheke cen teueto z422 Ct >public function find(int|string $id): ?Playbook{...}30 Ct >35 Ct1551552puhlir functinn fonTaam(Team $team, bool $onlySelectable = true): Collection{...}553Extract Surround //E554public function create(Team $team, array $data): Playbook555556$crmService = $this->crmRegistry->get($team->crm->provider);$crmService->setUser ($team->owner);557558559$categoryData = [560'team_id' => $team->id,|561'name' => $data['name'],562'is_selectable' => $data['enabled'],563'activity_type' => $data['crm_activity_type'],564'activity_field_id' => $crmService->getDefaultActivityField($data['crm_act565];566567568select * from crm lavouts cl ioin plavbook lavouts pl 1<->1..n: on cl.id = pl.lavout idwhere crm confiquration id = 1 and pl.plavbook id = 175:select * from teams;SELECT r.* FROM automated_reports rjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.Scatus = 'accive'AND (r.expiresaat >= now() OR r.expines.at IS NULL):select * from automated_report_results where cepontaig IN (18, 33);select x Tron acclvity searches where 10 = 107021select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;Console outoutma iminny v018 A 16 X 13 ^, 0j Tech Day Review - in 1h 24 mA• RequestGenerateAskJiminnyReportJobTest v100% CFri 17 Apr 15:36:21CascadeAutomated Report RetiPlaybook Activity Type+D..Read Service.0ho # 423-557Now I have the full picture. Let me also check the PlaybookController to see where PlaybookCreated isTred:wSearched PlavoookCreated and pertormed 2 other queriesNow I have a complete understanding of the flow. Let me summarize what I found:How It Works: Playbook Created → Activity Type Categories1. Playbook creationPlaybookcontroller::storea• PlaybookRepository::create creates the playbook, setting activity field id via getDefaultActivitvFieldlevent (new PlaybookCreated($playbook, Suser)) fires2. PlaybookCreated listeners (all queued via ShouldQueue ):• AttachLayout - creates the default CRM layoutreater laybookcreareacvent — tracks in FlannatImportActiv1tylyoes — imporis picklist values as categories3. ImportActivityTypes: :handle() (ImportActivityTypes.php:33-69):• Skips if categories already existale scmserice-syperted/s.o/bouk.agtcetvkoftie/ eyfhes told mtin sawedFieldValue [1 Eloquent modelsAsk anytning (dtL)"CodeClauce sonnet 4.00: -hworksoace associated with branch Jy-log0g-autominy nas been restorea // Kollback // contigure... (2 minutes ago)winasun leams41:30 Ulr-of 4 spaces...
|
NULL
|
NULL
|
NULL
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpladl• Tech Day Review - in 1h 24 mAAPP (-zsh)X4-zshDOCKER• ₴1DEV (docker)APP (-zsh)X3-zsh• ₴5* Review screenp...• 286Changes notstagedfor commit:(use"git add ‹file>..to update what will becommitted)(use"git restore<files..." to discard changesin working directory)modified:./.env.localmodified:./app/Console/Commands/JiminnyDebugCommand.phpmodified:../app/Http/Controllers/API/ActivityController.phpmodified:../app/Http/Controllers/Webhook/ReportController.phpmodified::./app/Jobs/Team/SyncToIntercom.phpmodified:/app/Services/PlaybackService.phpmodified::/config/logging.phpmodified:../routes/web.phpUntracked files:Cuse"git add <files..."to include in what will be committed)'.env.nikilocal/.env.other../WEBHOOK_FILTERING_IMPLEMENTATION.md../app/Console/Commands/Crm/Hubspot/SimulateWebhooksCommand.php../app/Console/Commands/Reports/CreateMockAskJiminnyReportResultCommand.php./ids.txt../raw_sql_query.sql../tests/Unit/Policies/CanAccessAiReportsTest.phpno changes addedto commit (use "git add"and/or "git commit -a")lukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ git pullremote: Enumerating objects: 170,done.remote: Counting objects: 100% (147/147), done.remote: Compressing objects: 100% (35/35), done.remote:Total 170 (delta 116), reused 121 (delta 111), pack-reused 23 (from 1)Receiving objects: 100% (170/170), 55.28 KiB | 1.42 MiB/s,done.Resolving deltas: 100% (119/119), completed with 47 local objects.From github.com:jiminny/app82671d4c13..d4352c6e59JY-20291-datadog-processing-states-> origin/JY-20291-datadog-processing-states20e95bbbc9..360f12adddJY-20541-cleanup-stale-tasks-and-events-> origin/JY-20541-cleanup-stale-tasks-and-events+ 9f8d154791...01c43d2aa6 JY-20553-debug-crm-sync-delays-> origin/JY-20553-debug-crm-sync-delays (forced update)* [new branch]JY-20695-handle-no-raw-transcript-› origin/JY-20695-handle-no-raw-transcriptbe76d8ba82..9b30c928c4JY-9712-change-forever-nudges-to-1-year-expiration -> origin/JY-9712-change-forever-nudges-to-1-year-expiration5bb8fefcba..c04e334173master-> origin/masterUpdating aba9685c0d..08ed383c5berror: Your local changes to the following files would be overwritten by merge:app/Http/Controllers/Webhook/ReportController.phpPlease commit your changes or stash them before you merge.Abortingukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ Uec2-user@ip-10-...• 87100% <478Fri 17 Apr 15:36:231₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
|
PhpStormProjectvFileFV faVsco.js vEdit© Participan PhpStormProjectvFileFV faVsco.js vEdit© ParticipantStatsReposit© PlaybookCategoryRepo© PlaybookRepository.php© PlaylistActivityRepositor© PlaylistRepository.php© PlaylistShareRepository© QuestionRepository.php© RoleChangeEventRepos© RoleRepository.php© SearchRepository.phpC) SnapshotRepositorv.phi© SocialAccountRepositor© StageRepository.php© SubscriptionSetRepositTaskRepository.php© TeamAiContextRepositc© TeamDomainsRepositor© TeamInsightsRepository© TeamRepository.php© ThemeRepository.php© TimezoneRepository.ph© TopicRepository.php© TopicTriggerRepository© TrackRepository.php© TranscriptionModelLoc:© TranscriptionRepository© TranscriptionSummaryF© UserRepository.php© VocabularyRepository.p> D Rulesv D Services› D Activity> M AiReports> D Avatar> D Calendar> D Conference> D CrmD ImportInternal7 KioskAutomatedReports© ActivityTypeServi© AskJiminnyRepor© AutomatedReport(C) AutomatedRepori© DealStagesServic© RecipientsService© ReportSort.php® ReportSortDirecti© KioskService.php→ MaillMeetingGeneratorNotiticationOAUThZ> M7 RecallAl> M Security› StrategyC StreamingD TeamViewNavigateCodeLaravelRefactorToolsWindowHelp#11894 on JY-18909-automated-reports-ask-jiminny k ~© PlaybookRepository.php x© AskJiminnyReportActivityService.phpC JiminnyDebugCommand.phpAutomatedReportsSendCommand.php© AutomatedReportsRepository.php© TrackProviderInstalledEvent.phpC ActivityLogged.php© AutomatedReportsService.php© CreateActivityLoggedEvent.php© AutomatedReportsCallbackService.php© ReportController.php© AutomatedReportsCommand.php= custom.log< console LUl= laravel.logA SF [jiminny@localhost]A console [STAGING] XA HS_local [iminny@localhost]A console [PROD]© RequestGenerateAskJiminnyReportJobTest.php© CreateHeldActivityEvent.php© UserPilotActivityListener.phpC RequestGenerateAskJiminnyReportJob.php525526527© RequestGenerateReportJob.php© AutomatedReportResult.php<?php© AutomatedReport.phpdeclare(strict_types=1);5291556554nanespace Juminny repositorles.>use ...535536class PlaybookRepository implements PlaybookRepositoryContractLusagesprivate ProviderRegistry $crmRegistry;22 €t >30 Ct >35 CF540public function __construct(ProviderRegistry $providerRegistry)...}541542543public function find(int|string $id): ?Playbook{...}544545public function forTeam(Team $team, bool $onlySelectable = true): Collection{...}546547public function create(Team $team, array $data): Playbook548549$crmService = $this->crmRegistry->get($team->crm->provider);$crmService->setUser($team->owner);5501554Soategoanoato stean-sid.!l554'name' => $data['name'],555'is_selectable' →> $data['enabled'],556'activity_type' →> $data['crm_activity_type'],'activity_field_id' => Scrmservice->getDefaultActivityFieLd($data['crm_act 558559560if (isset($data['ai_activity_type_detection_enabled'])) {561$categoryData['ai_activity_type_detection_enabled'] = $datal'ai_activity_* 5621563564/** @var Playbook $category */565$category = Playbook::create($categoryData);566return scaredorv5675685695705715725731575worksoace associated with branch Jy-loy0g-automared-reporis-nny' has been restored // Rollback // Configure... (2 minutes ago)Ix. Aulo vMlaycroundvSa jiminny ~select * from teams where id = 1;018 A 16 X 13 ^select * fromgroups g JOIN playbooks p 1..n<->1: on g.playbook_id = p.id wnere g.team_1a = 1;select * from groups where id = 565;select * from playbooks where team_id = 1;select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select x troi users Mere teallo =9select x TOIusers were 10 =100.select * from crm_profiles where user_id = 7160;select * from features;select# id, uuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opport# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm_provider_id ISNOXNOILNand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activitieswhere id = 54747783; # 00U0400000pCZojMACselect p.10, p.acclvicy type, oc.10, oc.nameFROM playbooks pjoin playbook_categories pc1<->1..n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event' ;SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1.n: on cl.id = pl.layout_idwnere cri conmouracion o = ano or.olavoook 10 =19.select * from teams;SELECT r.* FROM automated_reports rjoin teams t on r.teamaid = t.idWHERE r. freguency ='daily'and r.status = 1AND t.status = 'active'ANIDI(r.expires.at >= now() OR r.expires.at IS NULL):seLect * trom aucomaced_report_results where ceport da IN (1o, 55J1select x TOIacmur searches wnere 10 = 107020select * fromactivity_search_filters where activity_search_id = 10932;select * fromautomated_reports order by id desc;select * fromautomated_report_results order by id desc;select * fromautomated_report_results where report. id IN (37);select * from users where id IN (7160,3248);SELECT * FROM automated_reports WHERE uvid_to_bin('18a06a75-afd2-476f-aadc-14d4057bdda2') = wuid;, 0j Tech Day Review - in 1h 24 mA• RequestGenerateAskJiminnyReportJobTest v100% 145Fri 17 Apr 15:36:24CascadeAutomated Report RetiPlaybook Activity Type+0 •Read Service.php #L423-552Now I have the full picture. Let me also check the PlaybookController to see where PlaybookCreated isTred:wSearched PlavoookCreated and pertormed 2 other queriesNow I have a complete understanding of the flow. Let me summarize what I found:How It Works: Playbook Created → Activity Type CategoriesFlow1. Playbook creationPlaybookcontroller::storea• PlaybookRepository::create creates the playbook, setting activity field id via getDefaultActivitvFieldlevent (new PlaybookCreated($playbook, Suser)) fires2. PlaybookCreated listeners (all queued via ShouldQueue ):• AttachLayout - creates the default CRM layoutreater laypookcreareacvent — lracks in FlannatImportActiv1tylyoes — imporis picklist values as categories3. ImportActivityTypes: :handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syncField($playbook→>getActivityField()) - syncs field metadata• Calls $crmService->importPicklistValues(Splaybook->getActivityField()) - returns savedrielavalue clocuent modeis: Itempy →> tals back to fetchactivityfte/oValues () whieh reads from DBIterates values and calls $this→>repository→>create($playbook, $data)Root Cause: Why Some Playbooks Have No Categoriesinere are mulrole tallure pauns1recol veForTeamd throwc CocialAccountTokerTnvalidFycentionkesocveleancrnconnect1on.onp.40=30 =T tne leam's unm onutn loken is Invalle exolred at the time tnequeued 1o0 runs, the entire lstener throws an unnand ed exceotion ano no categories are createo.2. imnortPicklistValueso returns emotv ANo no DB values existService.php:541-543 - catches NoResultsException silently (returns [] ). If the Salesforce queryreurns noresulis re.nortoune. Arlissuerane no crm field values exstror thetiele In Db ver thefalllback fetchAct ivitvFie dValueso also returns emotv — zero categories created.S. Sp lavoook->qetActivitvrleldreruins nuluIt tor some reason activity_field_id is null on the playbook, syncField(null) and importPicklistvaluestnuet woule throw ertors, crashing tne queued listener sllenuy.4. Race concition: Istener is queuedAll three listeners implement ShouldQueue - they run asynchronously. The early-exit check if ($playbook→oeclacecorles→isnottmoty recuh, coule oass race conaltons, out more importanuy, ir thequeue worker talls or is down. the listener never runs.5. The NoResultsException swallowed silentlyThe most likely culprit for Salesforce — when a standard field (non-custom) has no picklistValues in getObjectFields() result, SobjectField could be null (via array_shift on empty array), and the if (empty(SobjectField['picklistValues']) === false) block is never entered → $values stays empty. Then $fieLovalues Is emoty, ane tne Db talloack Tecchactivityrlelavalues also retums notnine decause 1npontPickustvalues( hasn't written any values to DB ver.Key Bug: Empty SobjectField (non-custom standard Salesforce field)Ask anything (24L)+ <>Code Claude Sonnet 4.6winasun leams41:30uir-o( 4 spaces...
|
NULL
|
NULL
|
NULL
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpladl• Tech Day Review - in 1h 24 mAPP (-zsh)X4-zshDOCKER- 881DEV (docker)APP (-zsh)X3-zsh• ₴5* Review screenp...• ₴6Changes notstagedfor commit:(use"git add ‹file›….to update what will becommitted)(use"git restore<file>..."to discard changesin working directory)modified:.env.localmodified:./app/Console/Commands/JiminnyDebugCommand.phpmodified:../app/Http/Controllers/API/ActivityController.phpmodified:../app/Http/Controllers/Webhook/ReportController.phpmodified::./app/Jobs/Team/SyncToIntercom.phpmodified:/app/Services/PlaybackService.phpmodified::/config/logging.phpmodified:../routes/web.phpUntracked files:Cuse"git add <files..."to include in what will be committed)/.env.nikilocal/.env.other../WEBHOOK_FILTERING_IMPLEMENTATION.md../app/Console/Commands/Crm/Hubspot/SimulateWebhooksCommand.php../app/Console/Commands/Reports/CreateMockAskJiminnyReportResultCommand.php./ids.txt../raw_sql_query.sql../tests/Unit/Policies/CanAccessAiReportsTest.phpno changes addedto commit (use "git add"and/or "git commit -a")lukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ git pullremote: Enumerating objects: 170,done.remote: Counting objects: 100% (147/147), done.remote: Compressing objects: 100% (35/35), done.remote:Total 170 (delta 116), reused 121 (delta 111), pack-reused 23 (from 1)Receiving objects: 100% (170/170), 55.28 KiB | 1.42 MiB/s,done.Resolving deltas: 100% (119/119), completed with 47 local objects.From github.com:jiminny/app82671d4c13..d4352c6e59JY-20291-datadog-processing-states-> origin/JY-20291-datadog-processing-states20e95bbbc9..360f12adddJY-20541-cleanup-stale-tasks-and-events-> origin/JY-20541-cleanup-stale-tasks-and-events+ 9f8d154791...01c43d2aa6 JY-20553-debug-crm-sync-delays-> origin/JY-20553-debug-crm-sync-delays (forced update)* [new branch]JY-20695-handle-no-raw-transcript-› origin/JY-20695-handle-no-raw-transcriptbe76d8ba82..9b30c928c4JY-9712-change-forever-nudges-to-1-year-expiration -> origin/JY-9712-change-forever-nudges-to-1-year-expiration5bb8fefcba..c04e334173master-> origin/masterUpdating aba9685c0d..08ed383c5berror: Your local changes to the following files would be overwritten by merge:app/Http/Controllers/Webhook/ReportController.phpPlease commit your changes or stash them before you merge.Abortingukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ Uec2-user@ip-10-...• ₴7100% <478Fri 17 Apr 15:36:411₴81ec2-user@ip-10-...O ₴8APP...
|
NULL
|
NULL
|
NULL
|
|
PhpStormProjectvFileFV faVsco.s vEditViewNavigateC PhpStormProjectvFileFV faVsco.s vEditViewNavigateCodeLaravelRefactorToolsWindowHelp#11894 on JY-18909-automated-reports-ask-jiminny k ~© PlaybookRepository.php x© AskJiminnyReportActivityService.php© ReportController.php= custom.log= laravel.logsF fiminny@locqlost] xA HS_local [iminny@localhost]A console [PROD]© ParticipantStatsRepositC JiminnyDebugCommand.phpC AutomatedReportsSendCommand.php© AutomatedReportsCommand.php< console LUlconsole SlAGiNg X© RequestGenerateAskJiminnyReportJobTest.php© PlaybookCategoryRepo© PlaybookRepository.php© AutomatedReportsRepository.php© AutomatedReportsService.php© CreateHeldActivityEvent.phpIx. Aulo vMlaycroundvSa jiminny ~© PlaylistActivityRepositorselect * from teams where id = 1;© TrackProviderInstalledEvent.php© CreateActivityLoggedEvent.php© UserPilotActivityListener.php018 A 16 X 13 ^© PlaylistRepository.php525select * fromgroups g JOIN playbooks p 1..n<->1: on g.playbook_id = p.id wnere g.team_1a = 1;C ActivityLogged.php© AutomatedReportsCallbackService.phpC RequestGenerateAskJiminnyReportJob.php© PlaylistShareRepository526select * from groups where id = 565;© QuestionRepository.php© RequestGenerateReportJob.php© AutomatedReportResult.php© AutomatedReport.php527select * from playbooks where team_id = 1;© RoleChangeEventRepos528select * from playbooks where id = 175;<?php© RoleRepository.php529select * from playbook_categories where playbook_id = 175;© SearchRepository.phpdeclare(strict_types=1);1556select x troi users Mere teallo =aselect x TOIusers were 10 =100.C) SnapshotRepositorv.phi554select * from crm_profiles where user_id = 7160;© SocialAccountRepositornamespace Jiminny kepositorles,533select * from features;© StageRepository.php© SubscriptionSetRepositTaskRepository.php>Use ...select536# id, uuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opport© TeamAiContextRepositcclass PlaybookRepository implements PlaybookRepositoryContract# crm_configuration_id, crm_provider_id, transcription_id, status© TeamDomainsRepositor© TeamInsightsRepositoryLusagesfrom activities where crm_configuration_id = 1 and type = 'conference'© TeamRepository.php# and crm_provider_id ISNOXNOILNprivate ProviderRegistry $crmRegistry;540© ThemeRepository.phpand provider != 'uploader' and actual_start_time IS NOT NULL© TimezoneRepository.phpublic function __construct(ProviderRegistry $providerRegistry)...}541542ORDER by id desc;select * from activitieswhere id = 54747783; # 00U0400000pCZojMAC© TopicRepository.php543С TopicTriqgerRepository22 €t >public function find(int|string $id): ?Playbook{...}544select p.10, p.acclvicy type, oc.1a, oc.name© TrackRepository.php545FROM playbooks p© TranscriptionModelLoc:30 Ct >public function forTeam(Team $team, bool $onlySelectable = true): Collection{...}546join playbook_categories pc1<->1..n: on p.id = pc.playbook_id© TranscriptionRepository547where p.team_id = 1 and p.activity_type = 'event';© TranscriptionSummaryF35 CFpublic function create(Team $team, array $data): Playbook548© UserRepository.php549© VocabularyRepository.p$crmService = $this->crmRegistry->get($team->crm->provider);550SELECT * FROM crm_fields WHERE crm_configuration _id = 1 and object_type = 'event';SELECT * FROM crm_field_values WHERE crm_field_id = 4;> D Rulesv D Services$crmService->setUser($team->owner);› D Activity$categoryData = [1554> M AiReportsselect * from crm_layouts cl join playbook_layouts pl1<->1.n: on cl.id = pl.layout_idwnere cri conmouracion o = ano or.olavoook 10 =19.> D Avatar> D Calendar> D ConferenceAAAE'team_id' = $team->id,l554'name' => $data['name'],555'is_selectable' →> $data['enabled'],556'activity_type' →> $data['crm_activity_type'],> D Crm'activity_field_id' => Scrmservice->getDefaultActivityFieLd($data['crm_act 558> C ImportInternal5595607 Kioskif (isset($data['ai_activity_type_detection_enabled'])) {561select * from teams;SELECT r.* FROM automated_reports rjoin teams t on r.teamaid = t.idWHERE r. freguency ='daily'and r.status = 1AND t.status = 'active'ANIDI(r.expires.at >= now() OR r.expires.at IS NULL):AutomatedReports$categoryData['ai_activity_type_detection_enabled'] = $datal'ai_activity_* 562© ActivityTypeServi© AskJiminnyRepor1563seLect * trom aucomaced_report_results where ceport da IN (1o, 55J1564© AutomatedReport/** @var Playbook $category */565(C) AutomatedRepori$category = Playbook::create($categoryData);566© DealStagesServic© RecipientsServicereturn scaredory.567568© ReportSort.php569® ReportSortDirecti570select x TOIacmur searches wnere 10 = 107020select * fromactivity_search_filters where activity_search_id = 10932;select * fromautomated_reports order by id desc;select * fromautomated_report_results order by id desc;select * fromautomated_report_results where report. id IN (37);select * from users where id IN (7160,3248);© KioskService.php571→ Maill572SELECT * FROM automated_reports WHERE uvid_to_bin('18a06a75-afd2-476f-aadc-14d4057bdda2') = wuid;MeetingGeneratorNotitication573OAUThZ> M7 RecallAl1575> M Security> StrategyC StreamingD Teamworksoace associated with branch Jy-loy0g-automared-reporis-inny' has been restored // Rollback // Configure... (2 minutes ago), 0j Tech Day Review - in 1h 24 mA• RequestGenerateAskJiminnyReportJobTest v100% 145Fri 17 Apr 15:36:41CascadeAutomated Report RetiPlaybook Activity Type+0 •Read Service.php #L423-552Now I have the full picture. Let me also check the PlaybookController to see where PlaybookCreated isTred:wSearched PlavoookCreated and pertormed 2 other queriesNow I have a complete understanding of the flow. Let me summarize what I found:How It Works: Playbook Created → Activity Type CategoriesFlow1. Playbook creationPlaybookcontroller::storea• PlaybookRepository::create creates the playbook, setting activity field id via getDefaultActivityField()event (new PlaybookCreated($playbook, Suser)) fires2. PlaybookCreated listeners (all queued via ShouldQueue):• AttachLayout - creates the default CRM layoutreater laypookcreareacvent — lracks in Flannat• ImportActivityTypes - imports picklist values as categories3. ImportActivityTypes: :handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syncField($playbook->getActivityField()) - syncs field metadataapp/Models/Crm/FieldValue.php _mportPicklistValues ($playbook->getActivityField()) - returns savedFieldValue [1 Eloquent models: Itempy →> tals back to fetchactivityfte/oValues () whieh reads from DBIterates values and calls $this→>repository→>create($playbook, $data)Root Cause: Why Some Playbooks Have No Categoriesinere are mulrole tallure pauns1recol veForTeamd throwc CocialAccountTokerTnvalidFycentionkesocveleancrnconnect1on.onp.40=30 =T tne leam's unm onutn loken is Invalle exolred at the time tnequeued 1o0 runs, the entire lstener throws an unnand ed exceotion ano no categories are createo.2. imnortPicklistValueso returns emotv ANo no DB values existService.php:541-543 - catches NoResultsException silently (returns [] ). If the Salesforce queryreurns noresulis re.nortoune. Arlissuerane no crm field values exstror thetiele In Db ver thefalllback fetchAct ivitvFie dValueso also returns emotv — zero categories created.S.Sp lavoook->getActwvityrleldreruiins nu.It tor some reason activity_field_id is null on the playbook, syncField(null) and importPicklistvaluestnuet woule throw ertors, crashing tne queued listener sllenuy.4. Race concition: Istener is queuedAll three listeners implement ShouldQueue - they run asynchronously. The early-exit check if ($playbook→oeclacecorles→isnottmoty recuh, coule oass race conaltons, out more importanuy, ir thequeue worker talls or is down. the listener never runs.5. The NoResultsException swallowed silentlyThe most likely culprit for Salesforce — when a standard field (non-custom) has no picklistValues in getObjectFields() result, SobjectField could be null (via array_shift on empty array), and the if (empty(SobjectField['picklistValues']) === false) block is never entered → $values stays empty. Then $fieLovalues Is emoty, ane tne Db talloack Tecchactivityrlelavalues also retums notnine decause 1npontPickustvalues( hasn't written any values to DB ver.Key Bug: Empty SobjectField (non-custom standard Salesforce field)Ask anything (24L)+ <>Code Claude Sonnet 4.6winasun leams41:30uir-o( 4 spaces...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileFditViewNavigateCodeLaravelRetactonToo PhpStormFileFditViewNavigateCodeLaravelRetactonToolsWindowHelpFV faVsco.s v#11894 on JY-18909-automated-reports-ask-iminny K vProject vT ApiGuardLogin.phpC TestCase.phpvendon2s .editorcontig= envE env circleciE env.circleci-niahtlvE.env.local=.env.migrate=.env.nikilocal=.env.other=.env.production=.env.production-eu=.env.qa=.env.gaiE env.root.env.stagingE aitattributes.aitianore=.php-cs-fixer.cachephp.php-cs-fixer.dist.phpphp.phpstorm.meta.php=.phpunit.result.cacheE.prettierignore=.windsurfrulesphp_Ide_helper.phpphp_Ide_nelper_models.phpphp artisan'comooserson# composer.lockI dependency-checker.isonU dev.ison=ids.txt=infection.json.distM+INSTALL.mdM+ INTERNAL_WEBHOOK SETUPEjiminny_storageMelicenses.moM Makerlleu package-lock.jsonE phostan.neon.distEphostan-baseline.neon<> phpunit.xmlle raw sal query.salM+ README.mdos sonar-project.properties= test.py‹> Untitled Diagram.xmlus vetur.config.jsM.WEBHOOK FILIERING IMPUE>n -xternal Lioraries= Scratches and Consolesv M Database ConsolesLEU>Liminny@localhostV & PRODd console PRODd console_1 PROD4 DI PRODIC PlaybookRepository.php XC AskJiminnyReportActivityService.phpC ReportController.php= custom.log= laravel.logL SF (iminny@localhostHS_local fiminny@localhost)& console PROD XC JiminnyDebugCommand.phpC AutomatedReportsSendCommand.phpAulomaleakeporscommand.one© AutomatedReportsRepository.php© AutomatedReportsService.php© CreateHeldActivityEvent.php< console LUl4 console [STAGING]C RequestGenerateAskJiminnyReportJobTest.phpIx. AUto vHaycroundvselect * from nudges n where n.activity_search_1d,C TrackProviderInstalledEvent.php(©) CreateActivityLoggedEvent.phpC UserPilotActivityListener.php547C ActivityLogged.php© AutomatedReportsCallbackService.phpC RequestGenerateAskJiminnyReportJob.php548549© RequestGenerateReportJob.php© AutomatedReportResult.php© AutomatedReport.php<?php551declare(strict_types=1):nanespace Juminny repositorles.554555→use557class PlaybookRepository implements PlaybookRepositoryContract55855956€Lusagesprivate Providerregistry scrmregistry:56117563public tunction -_construct(ProviderRegistry $providerRegistry)(...}56422 €t >30 01 ›35 CF565public function find(int|string $id): ?Playbook{...}566567public function forTeam(Team $team, bool SonlySelectable = true): Collectionf...}568SELECT * FROM crm profilesWHERE crm confiquration id = 555:SELECT * FROM crm_configurations WHERE id = 555;SELECT * FROM users WHERE 1d = 15440; # team. 581, qr. 15440, pl. 3911, act. field 162182SELECTCONCATCU.1d, CASE WHEN U.1d = t.owner_1d THEN' (owner)' ELSE" END) As user_1d,public function create Team $team, array Sdata): Playbook$crmService = $this->crmRegistry->get($team->crm->provider):scrmservice->setUser(steam->owner)5701571572U.emall,sa.*t. owner_1d FruM soclal_accounts saJuIN users u on u.1d = sa.soclable_1d$categoryData = [1574JUIN teams uI.n<→>: on t.1d = U.team_1dWneke U.cean_ld - sol and sa.provtder- sauestorce"tean_1d = Stean->1d,"name" => paatal name'J,'is_selectable' => $data['enabled'],571SELECT * FROM automated_report_results order by id desc;'activity_type' => $data['crm_activity_type'],'activity_field_id' => $crmService->getDefaultActivityField($data['crm_act579select * from feaselect * from team_features where featureid = 40149582if isset$datal'ai activity type detection enabled'Do ~1583scategoryDatal'a1_activity_type_detection_enabled' = sdatal'a1_activity_t584585586/** dvar Playoook scacegory */scacegory = Playpook..creace(pcategorybata),587588return scacegory,5895905915925931594595115961597worksoace associated with branch Jy-los0g-automaled-reiny nas been restorea // Kollback // contigure... (2 minutes ago)Ma lminny v034 41 433 X61 Aselect * from teams where created_at ›2026-03-09'SELECI * FRUM Crm_LayoUts wHEkE crn_contigurac1on_1d = 1065; # 1065oeeee * Fror crn avour enmules Worke cen lavout lo s soiselect * from users where team id = 1 and name Like '%Lukas%': # 7160SELECT * FROM teams WHERE id = 575:select * fromopportunities where team id = 575SELECT * FROM teams WHERE name LIKE '%Integrum ESG%: # 1126, 1065.select * from opportunities where team_id = 1126;SELECT * FROM teams WHERE name LIKE "%Base%'; # 1125, 1063,select * from opportunitles where team_1d = 1125:select * from contacts cwhere c.team_1d = 8021SELECI * FRUM ACCIVIELES WHEKE 10 = 708227671OELE*TKUMcriloronlesWHERE user id = 15440:select * from teams where 1d = 5561seLect * trom automated_reports where ta = 34, # 4таа41то-аст0-5000-[CREDIT_CARD] 1 L"pаT"•PSELECT * FROM automated report resultsViEKe UULO TO 010 [CREDIT_CARD]-8248-80002501511512select * trom aucomaced_report_results order by za desc;SELECT * FROM automated_report_results WHERE 10 = 1917,select * from automated_report_results WHERE report.id = 54;select * from opportunities where 1d = 7594349:SELECT * FROM teams WHERE name LIKE %LeS'* # 711, 692, 1606/B - [EMAIL] * from playbooks where team_1d = 711; # event 22614/SELECT * FROM playbook_categories WHERE playbook_id = 5515;oeuee* rror cen telas warkeo olkSELECT * FROM crm field values WHERE crm field id = 226147:Tech Day Review • in 1h 24 mA100% 145Fri 17 Apr 15:36:44• RequestGenerateAskJiminnyReportJobTest vCascadeAutomated Renort RetPlaybook Activity TypeRead Service.0ho # 423-557Now l have the full picture. Let me also check the PlaybookController to see where PlaybookCreated isTred.Searched PlavoookCreated and pertormed 2 other queriesNow lhave a complete understanding of the flow. Let me summarize what I found:How It Works: Playbook Created → Activity Type CategoriesFOw1. Playbook creationPlaybookController::store:• PlaybookRepository::create creates the playbook, setting activity field id via getDefaultActivitvFieldlevent (new PlaybookCreated($playbook, Suser)) fires2. PlaybookCreated listeners (all queued via ShouldQueue ):AttachLayout — creates the detault CRM layoutCreater laybookureareacvent — tracks in FlannalImportActiv1tylyoes — imporis picklist values as categories3. ImportActivityTypes::handle()(ImportActivityTypes.php:33-69):Skips if categories already existCalls crmservice->syncriela($playdook->getActivityriela()) - syncs tiela metadataapp/nodeasermrisevace.pnp_mportPicklistValues(Splaybook->getActivityField()) - returns savedFieldValuel Eloquent modelsleratey=als aaira0 etcies rensy/ tenceset.res to/vnlan teats romtaIterates values and calls Sthis->repository->create(Splaybook, $data)Root Cause: Why Some Playbooks Have No Categoriesinere are mulrole tallure pauns1recol veForTeamd throwc CocialAccountTokerTnvalidFycentionkesocveleancrnconnect1on.onp.40=30 =T tne leam's unm onutn loken is Invalle exolred at the time tnequeued 1o0 runs, the entire lstener throws an unnand ed exceotion ano no categories are createo.2. imnortPicklistValueso returns emotv ANo no DB values existService.php:541-543 - catches NoResultsException silently (returns (] ). If the Salesforce queryreurns noresulis re.nortoune. Arlissuerane no crm field values exstror thetiele In Db ver thefalllback fetchAct ivitvFie dValueso also returns emotv — zero categories created.3. $plavbook->getActivityField() returns nullIt tor some reason activity_field_id is null on the playbook, syncField(null) and importPicklistvaluestnuet woule throw ertors, crashing tne queued listener sllenty.4. Race concition: Istener is queuedAll three listeners implement ShouldQueue they run asynchronously. The early-exit check if (Splaybook→oeclacecorles→isnottmoty recuh, coule oass race conaltons, out more importanuy, ir thequeue worker talls or is down. the listener never runs.5. The NoResultsException swallowed silentlyThe most likely culprit for Salesforce - when a standard field (non-custom) has no picklistValues in getObjectFields() result, Sobjectfield could benull (Via array_shift on empty array), and the if (empty(SobjectField('picklistValues']) === false) block is never entered → $values stays empty. Then $fieLovalues Is emoty, ane tne Db talloack Tecchactivityrlelavalues also retums notnine decause 1npontPickustvalues( hasn't written any values to DB ver.Key Bug: Empty SobjectField (non-custom standard Salestorce field)Ask anything (&+L)+ <> Code Claude Sonnet 4.6winasun leams0/9:1/4 chars, 1line break)uir-oW...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileEditViewNavigateCodeLaravelRefactorToo PhpStormFileEditViewNavigateCodeLaravelRefactorToolsWindowHelpFV faVsco.s v( #11894 on JY-18909-automated-reports-ask-jiminny k vProject v© PlaybookRepository.php x© AskJiminnyReportActivityService.php© ReportController.phpO dependency-checker.jsonC JiminnyDebugCommand.phpAutomatedReportsSendCommand.php© AutomatedReportsCommand.phpO dev.json© AutomatedReportsRepository.php© AutomatedReportsService.php© CreateHeldActivityEvent.phpEids.txt=infection.json.dist© TrackProviderInstalledEvent.php© CreateActivityLoggedEvent.php© UserPilotActivityListener.phpM+INS ALL.mdC ActivityLogged.php© AutomatedReportsCallbackService.phpC RequestGenerateAskJiminnyReportJob.phpM+ INTERNAL_ WEBHOOK SETUPjiminny_storageM+ licenses.mdM Makefile35 CF© RequestGenerateReportJob.php© AutomatedReportResult.php© AutomatedReport.phpclass PlaybookRepository implements PlaybookRepositoryContractpublic function create(Team $team, array $data): PlaybookO package-lock.json= phpstan.neon.dist= phpstan-baseline.neon<phpunit.xml$crmService = $this->crmRegistry->get($team->crm->provider);$crmService->setUser($team->owner);Te raw_sql_query.sqlM-R-ADME. molộ sonar-project.properties= test.py<> Untitled Diagram.xmlus vetur.config.is$categoryData = ['team_id' => $team->id,"name" => paatal name'J,'is_selectable' →> $data['enabled'],'activity_type' →> $data['crm_activity_type'],'activity_field_id' => $crmService->getDefaultActivityField($data['crm_act 592M+ WEBHOOK_FILTERING_IMPLE› Ih External LibrariesE® Scratches and Consoles~ D Database Consoles> AEU> A jiminny@localhost49515775785795801581582583584585586588589590591593594if (isset($data['ai_activity_type_detection_enabled'])) {595$categoryData['ai_activity_type_detection_enabled'] = $data['ai_activity_t 596597V A PRODA console [PROD]/** @var Playbook $category */$category = Playbook::create($categoryData);A console_1 [PROD]2 DI [PROD]55return scaredory., 0j Tech Day Review - in 1h 24 mA• RequestGenerateAskJiminnyReportJobTest v100% CFri 17 Apr 15:36:47= custom.log< console LUl= laravel.logA SF [jiminny@localhost]A HS_local [iminny@localhost]A console [STAGING]© RequestGenerateAskJiminnyReportJobTest.phpIx. AUto vMlaycroundvA console [PROD] XCascadeAutomated Report RetiPlaybook Activity Type+D..Servicesv D DatabaseV A EU4, console 1 s 59 msv dl jiminny@localhost4 SFA HS_localV &PROD4 consoleV L STAGINGc consoey DockerOutputiii liminnv.crm field valuesiii liminnv.teams X Tx. |UME 4owvTX:AUtO DDL # Q GE A®to_path YI stripe_id Y<null>SHULLeSIULL4 id7-bab1-1b05e2318dbd/avatars/s2me21Li1UaxxXdeLuXZrq23q5V2820Gw6dRUmpc.jpg<null>Ma lminny v034 41 433 Х61 ^SELECT * FROM automated_report_results order by id desc;Read Service.0h0 #493-557Now I have the full picture. Let me also check the PlaybookController to see where PlaybookCreated isTired:wselect * from features;select * from team features where feature id = 40:Searched PlavoookCreated and pertormed 2 other queriesNow I have a complete understanding of the flow. Let me summarize what I found:select * from teams where id = 556:How It Works: Playbook Created → Activity Type Categoriesselect * from automated_reports where id = 54; # 4fdd41f6-dcf0-30d0-b339-7345381b6044["pdf", "pcSELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')=select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;Flow1. Playbook creation (PlaybookController::store()):• PlaybookRepository::create creates the playbook, setting activity field id via getDefaultActivitvFiel dolevent (new PlaybookCreated($playbook, Suser)) firesselect * from automated_report_results WHERE ceRont.id = 54;2. PlaybookCreated listeners (all queued via ShouldQueue ):select * from opportunities where id = 7594349;• AttachLayout - creates the default CRM layoutCreater laybookureareacvent — tracks in FlannalSELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - jiminnyintegration@lesmills.comImportActiv1tylyoes — imporis picklist values as categoriesselectxTNPLaybooks where team_id = 711; # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm_fields WHERE id = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;3. ImportActivityTypes: :handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syncField($playbook-›getActivityField()) - syncs field metadataapp/Models/Cmm/FieldValue.php _mportPicklistValues ($playbook->getActivityField()) - returns savedFieldValue [1 Eloquent modelsAsk anything (2tL)"CodeClaude Sonnet 4.0• : -E crm_id T6929289861044CSVvL default_playbook_id YO calendar_provider TOmicrosoft_consent_mode P I saml2_tenant_id YOnotification_provider Y4148 office4900 google5145 google5348 officesnull><null>SnULl<null><null> microsoft-teamssnucle slackshuLe shuLl<null> microsoft-teamsIscim_provic<null>SHULLeShULL<null>workspace assoclated with branch Jy-18909-automated-reports-ask-jiminny nas deen restorea #/ Kollback // contigure... (2 minutes ago)Winasun leams594:16uir-o4 spaces...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileFV faVsco.s vEditProject vO dependency PhpStormFileFV faVsco.s vEditProject vO dependency-checker.jsonO dev.jsonE ids.txt=infection.json.distM+INS ALL.mdM+ INTERNAL_ WEBHOOK SETUPjiminny_storageM+ licenses.mdM MakefileO package-lock.json= phpstan.neon.dist= phpstan-baseline.neon<phpunit.xmlTe raw_sql_query.sqlM-R-ADME. molê sonar-project.properties= test.py<> Untitled Diagram.xmlIs vetur.config.jsM+ WEBHOOK_FILTERING_IMPLE› Ih External LibrariesE® Scratches and Consoles~ D Database Consoles>LEUjiminny@localhostV &PRODA console [PROD]A console_1 [PROD]2 DI [PROD]ViewNavigateCodeLaravelRefactorToolsWindowHelp( #11894 on JY-18909-automated-reports-ask-jiminny k v© PlaybookRepository.php x© AskJiminnyReportActivityService.phpC JiminnyDebugCommand.phpAutomatedReportsSendCommand.php© AutomatedReportsRepository.php© TrackProviderInstalledEvent.phpC ActivityLogged.php© AutomatedReportsService.php© CreateActivityLoggedEvent.phpC AutomatedReportsCallbackService.php© ReportController.php= custom.logAulomaleakeporscommand.ong< console LUl= laravel.logA console [STAGING]A SF [jiminny@localhost]A HS_local [iminny@localhost]A console [PROD] X© RequestGenerateAskJiminnyReportJobTest.php© RequestGenerateReportJob.php© AutomatedReportResult.php© AutomatedReport.phpclass PlaybookRepository implements PlaybookRepositoryContract35 CFpublic function create(Team $team, array $data): Playbook$crmService = $this->crmRegistry->get($team->crm->provider);$crmService->setUser($team->owner);© CreateHeldActivityEvent.php© UserPilotActivityListener.php577C RequestGenerateAskJiminnyReportJob.php5785795801581582583584585586Ix. AUto vMlaycroundvMa lminny v034 A1 A33 X61 ^SELECT * FROM automated_report_results order by id desc;select * from features;select * from team_features where feature_id = 40;select * from teams where id = 556:select * from automated_reports where id = 54; # 4fdd41f6-dcf0-30d0-b339-7345381b6044["pdf", "pcSELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')_=select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;49$categoryData = ['team_id' = Steam->id,588"name" => paatal name'J,589'is_selectable' →> $data['enabled'],590'activity_type' => $data['crm_activity_type'],591'activity_field_id' => $crmService->getDefaultActivityField($data['crm_act 592593594vif (isset($data['ai_activity_type_detection_enabled'])) {575$categoryData['ai_activity_type_detection_enabled'] = $data['ai_activity_t 596597select * from automated_report_results WHERE ceRont.id = 54;select * from opportunities where id = 7594349;SELECT * FROM teams WHERE name LIKE "%Les%'; # 711, 692, 16067B - [EMAIL] where team_id = 711; # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm_fields WHERE id = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;51/** @var Playbook $category */$category = Playbook::create($categoryData);55return scaredory.Services+,0,0v D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFdns locallV &PROD4 console 1 s 780 msV ASTAGINGc consoey DockerOutput0id Tf jiminny.crm_field_values# 711, 692, 16067B -...[EMAIL] x12 rowsvoIx. AUto VDDL # QGA+uvid (UUID with time-low a…P : . team_id T! activity_type Y@activity_field_id Y4142 a2d6059b-a5df-4b40-bed0-a7877c5cfb39711 event4143 cdf0ce24-8e94-4540-8e17-864ad7863298711 event4148 1897440d-87f9-4bc4-b983-8ac740b3e55f711 task4149 576d61fe-091a-4669-b459-7ae3ec1229d5711 task4248 01848184-1d44-42d9-8e4f-f4526f07c27a711 event4373 5724b2d0-5ca8-4bab-aea4-4ead61ef9b95711 task4374 ab6bf89b-95d7-4d3e-a2a9-002ff12f85a7711 task4920 9a41525f-4d20-47d1-8c77-639e647df5ff711 task4954 4627c0e3-ec8d-4a1b-838b-29962776bdd2711 event5515 8d9e50bb-4e8a-4f61-86e3-5b30347058e1711 event5516 4fd32ad0-78a3-4d4a-a446-2efc12fde539711 event5520 98550621-37df-4553-a4e7-0003c9de8859711 eventname Y226147 LMUS CX Playbook226147 Zone 2 Playbook226139 Enablement Teamosy UUtooundbis226147 Zone 1 KA Playbook226139 TestZoo7esttestDis_selectable T@ai_activity_type_detection_enabled T226157 Pipe x lerritory Planning226147 Test UK226147 LMUS CX Playbook test226147 LMUS CX Playbook test226147 LMUS CX Playbook testing, 0j Tech Day Review - in 1h 24 mA• RequestGenerateAskJiminnyReportJobTest v100% CFri 17 Apr 15:36:50CascadeAutomated Report RetiPlaybook Activity Type+D..Read Service.0h0 #493-557Now I have the full picture. Let me also check the PlaybookController to see where PlaybookCreated isTired:wSearched PlavoookCreated and pertormed 2 other queriesNow I have a complete understanding of the flow. Let me summarize what I found:How It Works: Playbook Created → Activity Type CategoriesFlow1. Playbook creation (PlaybookController::store()):• PlaybookRepository::create creates the playbook, setting activity field id via getDefaultActivitvFieldlevent (new PlaybookCreated($playbook, suser)) fires2. PlaybookCreated listeners (all queued via ShouldQueue ):AttachLayout - creates the default CRM layoutCreater laybookureareacvent — tracks in FlannalImportActiv1tylyoes — imporis picklist values as categories3. ImportActivityTypes: :handle() (ImportActivityTypes.php:33-69):• Skips if categories already existCalls $crmService->syncField($playbook->getActivityField()) - syncs field metadataapp/Models/Crm/FieldValue.php _mportPicklistValues ($playbook->getActivityField()) - returns savedFieldValue [1 Eloquent modelsAsk anything (2tL)" COdEClaude Sonnet 4.0• : -ID created_at Y0 2023-05-18 14:09:570 2023-05-18 14:11:110 2023-05-22 15:35:110 2023-05-22 16:09:530 2023-07-06 21:59:170 2023-09-11 12:33:100 2023-09-11 12:47:500 2024-08-19 10:49:200 2024-09-09 15:04:410 2026-04-16 07:11:030 2026-04-16 07:17:440 2026-04-16 08:14:07CSVvI updated_at TI deleted_at T2025-03-31 17:39:56<null>2023-05-18 14:11:11<null>2025-07-24 02:33:27SIULL[SSN].07.99<null>2023-07-06 22:00:372023-07-06 22:02023-09-11 12:33:142023-09-11 12:32023-09-11 12:48:012023-09-11 12:42024-08-19 10:49:20<nULL3024-09-99 15.059422026-04-16 07:17:202026-04-16 07:18:35170-94-10 08-14.03024-09-99 15992026-04-16 07:12026-04-16 07:1<nULL12 rows retrieved starting from 1 in 829 ms (execution: 193 ms, fetching: 636 ms)W Windsurf Teams594:16uir-d...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileFV faVsco.s vEditProject vO dependency PhpStormFileFV faVsco.s vEditProject vO dependency-checker.jsonO dev.jsonE ids.txt=infection.json.distM+INS ALL.mdM+ INTERNAL_ WEBHOOK SETUPjiminny_storageM+ licenses.mdM MakefileO package-lock.json= phpstan.neon.dist= phpstan-baseline.neon<phpunit.xmlTe raw_sql_query.sqlM-R-ADME. molê sonar-project.properties= test.py<> Untitled Diagram.xmlIs vetur.config.jsM+ WEBHOOK_FILTERING_IMPLE› Ih External LibrariesE® Scratches and Consoles~ D Database Consoles>LEUjiminny@localhostV &PRODA console [PROD]A console_1 [PROD]2 DI [PROD]ViewNavigateCodeLaravelRefactorToolsWindowHelp( #11894 on JY-18909-automated-reports-ask-jiminny k v© PlaybookRepository.php x© AskJiminnyReportActivityService.phpC JiminnyDebugCommand.phpAutomatedReportsSendCommand.php© AutomatedReportsRepository.php© TrackProviderInstalledEvent.phpC ActivityLogged.php© AutomatedReportsService.php© CreateActivityLoggedEvent.phpC AutomatedReportsCallbackService.php© ReportController.php= custom.logAulomaleakeporscommand.ong< console LUl= laravel.logA console [STAGING]A SF [jiminny@localhost]A HS_local [iminny@localhost]A console [PROD] X© RequestGenerateAskJiminnyReportJobTest.php© RequestGenerateReportJob.php© AutomatedReportResult.php© AutomatedReport.phpclass PlaybookRepository implements PlaybookRepositoryContract35 CFpublic function create(Team $team, array $data): Playbook$crmService = $this->crmRegistry->get($team->crm->provider);$crmService->setUser($team->owner);© CreateHeldActivityEvent.php© UserPilotActivityListener.php577C RequestGenerateAskJiminnyReportJob.php5785795801581582583584585586Ix. AUto vMlaycroundvMa lminny v034 A1 A33 X61 ^SELECT * FROM automated_report_results order by id desc;select * from features;select * from team_features where feature_id = 40;select * from teams where id = 556:select * from automated_reports where id = 54; # 4fdd41f6-dcf0-30d0-b339-7345381b6044["pdf", "pcSELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')_=select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;49$categoryData = ['team_id' = Steam->id,588"name" => paatal name'J,589'is_selectable' →> $data['enabled'],590'activity_type' => $data['crm_activity_type'],591'activity_field_id' => $crmService->getDefaultActivityField($data['crm_act 592593594vif (isset($data['ai_activity_type_detection_enabled'])) {575$categoryData['ai_activity_type_detection_enabled'] = $data['ai_activity_t 596597select * from automated_report_results WHERE ceRont.id = 54;select * from opportunities where id = 7594349;SELECT * FROM teams WHERE name LIKE "%Les%'; # 711, 692, 16067B - [EMAIL] where team_id = 711; # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm_fields WHERE id = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;51/** @var Playbook $category */$category = Playbook::create($categoryData);55return scaredory.Services+,0,0v D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFdns locallV &PROD4 console 1 s 780 msV ASTAGINGc consoey DockerOutput0id Tf jiminny.crm_field_values# 711, 692, 16067B -...[EMAIL] x12 rowsvoIx. AUto VDDL # QGA+uvid (UUID with time-low a…P : . team_id T! activity_type Y@activity_field_id Y4142 a2d6059b-a5df-4b40-bed0-a7877c5cfb39711 event4143 cdf0ce24-8e94-4540-8e17-864ad7863298711 event4148 1897440d-87f9-4bc4-b983-8ac740b3e55f711 task4149 576d61fe-091a-4669-b459-7ae3ec1229d5711 task4248 01848184-1d44-42d9-8e4f-f4526f07c27a711 event4373 5724b2d0-5ca8-4bab-aea4-4ead61ef9b95711 task4374 ab6bf89b-95d7-4d3e-a2a9-002ff12f85a7711 task4920 9a41525f-4d20-47d1-8c77-639e647df5ff711 task4954 4627c0e3-ec8d-4a1b-838b-29962776bdd2711 event5515 8d9e50bb-4e8a-4f61-86e3-5b30347058e1711 event5516 4fd32ad0-78a3-4d4a-a446-2efc12fde539711 event5520 98550621-37df-4553-a4e7-0003c9de8859711 eventname Y226147 LMUS CX Playbook226147 Zone 2 Playbook226139 Enablement Teamosy UUtooundbis226147 Zone 1 KA Playbook226139 TestZoo7esttestDis_selectable T@ai_activity_type_detection_enabled T226157 Pipe x lerritory Planning226147 Test UK226147 LMUS CX Playbook test226147 LMUS CX Playbook test226147 LMUS CX Playbook testing, 0j Tech Day Review - in 1h 24 mA• RequestGenerateAskJiminnyReportJobTest v100% CFri 17 Apr 15:36:54CascadeAutomated Report RetiPlaybook Activity Type+D..Read Service.0h0 #493-557Now I have the full picture. Let me also check the PlaybookController to see where PlaybookCreated isTired:wSearched PlavoookCreated and pertormed 2 other queriesNow I have a complete understanding of the flow. Let me summarize what I found:How It Works: Playbook Created → Activity Type CategoriesFlow1. Playbook creation (PlaybookController::store()):• PlaybookRepository::create creates the playbook, setting activity field id via getDefaultActivitvFieldlevent (new PlaybookCreated($playbook, suser)) fires2. PlaybookCreated listeners (all queued via ShouldQueue ):AttachLayout - creates the default CRM layoutCreater laybookureareacvent — tracks in FlannalImportActiv1tylyoes — imporis picklist values as categories3. ImportActivityTypes: :handle() (ImportActivityTypes.php:33-69):• Skips if categories already existCalls $crmService->syncField($playbook->getActivityField()) - syncs field metadataapp/Models/Crm/FieldValue.php _mportPicklistValues ($playbook->getActivityField()) - returns savedFieldValue [1 Eloquent modelsAsk anything (2tL)"CodeClaude Sonnet 4.0• :ID created_at Y0 2023-05-18 14:09:570 2023-05-18 14:11:110 2023-05-22 15:35:110 2023-05-22 16:09:530 2023-07-06 21:59:170 2023-09-11 12:33:100 2023-09-11 12:47:500 2024-08-19 10:49:200 2024-09-09 15:04:410 2026-04-16 07:11:030 2026-04-16 07:17:440 2026-04-16 08:14:07CSVvI updated_at TI deleted_at T2025-03-31 17:39:56<null>2023-05-18 14:11:11<null>2025-07-24 02:33:27SIULL[SSN].07.99<null>2023-07-06 22:00:372023-07-06 22:02023-09-11 12:33:142023-09-11 12:32023-09-11 12:48:012023-09-11 12:42024-08-19 10:49:20<nULL3024-09-99 15.059422026-04-16 07:17:202026-04-16 07:18:35170-94-10 08-14.03024-09-99 15992026-04-16 07:12026-04-16 07:1<nULL12 rows retrieved starting from 1 in 829 ms (execution: 193 ms, fetching: 636 ms)W Windsurf Teams594:16uir-d...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileEditViewNavigateCodeLaravelRefactorToo PhpStormFileEditViewNavigateCodeLaravelRefactorToolsWindowHelpFV faVsco.s v#11894 on JY-18909-automated-reports-ask-jiminny k ~Project v© PlaybookRepository.php x© AskJiminnyReportActivityService.php© ReportController.php=.env.otherC JiminnyDebugCommand.phpAutomatedReportsSendCommand.phpAulomaleakeporscommand.one= ,env.oroduction© AutomatedReportsRepository.php© AutomatedReportsService.php© CreateHeldActivityEvent.php=.env.production-eu=.env.ga© TrackProviderInstalledEvent.php© CreateActivityLoggedEvent.php© UserPilotActivityListener.php= .env.qai547C ActivityLogged.phpC AutomatedReportsCallbackService.phpC RequestGenerateAskJiminnyReportJob.php548E .env.root© RequestGenerateReportJob.php© AutomatedReportResult.php© AutomatedReport.phpE.env.staging549550=.gitattributes<?php551• .gitignoreE .php-cs-fixer.cachedeclare(strict_types=1);php.php-cs-fixer.dist.php554php.phpstorm.meta.phpnamespace Jiminny kepositories,=.phpunit.result.cache555=.prettierignore→use557E .windsurfrules558class PlaybookRepository implements PlaybookRepositoryContractpip dlae_nelper.onephp_ide_helper_models.php559php artisanLusages560O composer.json561private ProviderRegistry $crmRegistry;5620 composer.lock165630 dependency-checker.json17public function __construct(ProviderRegistry $providerRegistry)...}564 dev.json565= ids.txt22 €t >public function find(int|string $id): ?Playbook{...}566Einfection.ison.dist56730 Ct >M+INSIALL.mopublic function forTeam(Team $team, bool $onlySelectable = true): Collection(...}568M+ INTERNAL_WEBHOOK SETUP569Ejiminny_storage35 CFpublic function create(Team $team, array $data): PlaybookM+ licenses.md570571M Makefile$crmService = $this->crmRegistry->get($team->crm->provider);572O package-lock.json$crmService->setUser($team->owner);= phpstan.neon.dist1574=phpstan-baseline.neon$categoryData = [< phpunit.xml'team_id' = Steam->id,Te raw_sql_query.sql'name' => $data['name'],571M- KEADMEMO'is_selectable' →> $data['enabled'],ê sonar-project.properties'activity_type' →> $data['crm_activity_type'],=test.py'activity_field_id' => Scrmservice->getDefaultActivityFieLd($data['crm_act 580<> Untitled Diagram.xmlIs vetur.config.jsM+ WEBHOOK_FILTERING_IMPLE› ib External LibrariesE Scratches and Consolesv D Database Consoles= custom.log< console LUl= laravel.logA console [STAGING]A SF [jiminny@localhost]A HS_local [iminny@localhost]© RequestGenerateAskJiminnyReportJobTest.phpA console [PROD] X, & lminnva ocalhostvAPRUDc consoe PrODIA console_1 [PROD]A DI [PROD]A QA4 QAI› A QAI PRODV & STAGINGA console [STAGING]¿ consoe AGINGI& uranus s AGINGI> M Extensions> D Scratches581582if (isset($data['ai_activity_type_detection_enabled'])) {583$categoryData['ai_activity_type_detection_enabled'] = $data['ai_activity_t584585/** @var Playbook $category */$category = Playbook::create($categoryData);586587588589return Scategory;590591592593594V595596Ix. Aulo vHaycroundvselect * from nudges n where n.activity_search_id.Ma lminny v034 A1 A33 X61 ^select * from teams where created_at ›"2026-03-09';SELECT * FROM crm_layouts WHERE crm_configuration_id = 1065; # 1065SELECT * FROM crm_layout_entities WHERE crm_layout_id = 3617;select * from users where team_id = 1 and name Like "%Lukas%'; # 7160SELECT * FROM teams WHERE id = 575;select * fromopportunities where team_id = 575;SELECT * FROM teams WHERE name LIKE '%Integrum ESG%'; # 1126, 1065,select * from opportunities where team_id = 1126;SELECT * FROM teams WHERE name LIKE "%Base%'; # 1125, 1063,select * from opportunities where team_id = 1125;select * from contacts cwhere c.team_id = 882;SELECI * FRUM ACCIVIELES WHEKE 10 = 708227671OELE*TKUMoirio ronuesWHERE user_id = 15440;SELECT * FROM crm_profilesWHERE crm_configuration_id = 555;SELECT * FROM crm_configurations WHERE id = 555;SELECT * FROM users WHERE id = 15440; # team. 581, gr. 15440, pl. 3911, act. field 162182SELECTCONCAT(u.id, LASE WHEN U.id = t.owner_id THEN ' (owner)' ELSE "' END) AS user_id,u.email,sa.*,t.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJUIN teams uI.n<→>: on t.1d = U.team_1dWHERE U.team_id = 581 and sa.provider = 'salesfence':SELECT * FROM automated_report_results order by id desc;select * from features;select * from team_features here feature_id = 40;sellect * From teams where 1d £ 550select * from automated_reports where id = 54; # 4fdd41f6-dcf0-30d0-b339-7345381b6044 , ["pdf", "pcSELECT * FROM automated_report_resultsYocke UUro TO 01n [CREDIT_CARD]-8248-80002501511510 2select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE i₫ = 1919;select * from automated_report_results WHERE CeRontaid = 54;select * from opportunities where id = 7594349;SELECT * FROM teams WHERE name LIKE '%Les%'; # 711,692, 16067B - [EMAIL] * from pflaybooks where team_id = 711; # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm_fields WHERE id = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;worksoace associated with branch Jy-log0g-automaled-re, 0j Tech Day Review - in 1h 24 mA100% 145Fri 17 Apr 15:36:56• RequestGenerateAskJiminnyReportJobTest vCascadeAutomated Report RetiPlaybook Activity Type+0 .Read Service.php #L423-552Now I have the full picture. Let me also check the PlaybookController to see where PlaybookCreated isTred.wSearched PlavoookCreated and pertormed 2 other queriesNow I have a complete understanding of the flow. Let me summarize what I found:How It Works: Playbook Created → Activity Type Categories1. Playbook creationPlaybookController::store:• PlaybookRepository::create creates the playbook, setting activity field id via getDefaultActivitvFieldlevent (new PlaybookCreated($playbook, Suser)) fires2. PlaybookCreated listeners (all queued via ShouldQueue):AttachLayout - creates the default CRM layoutCreater laybookcreareacvent — tracks in FlannatImportActiv1tylyoes — imporis picklist values as categories3. ImportActivityTypes: :handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syncField($playbook->getActivityField()) - syncs field metadata• Calls $crmService->importPicklistValues(Splaybook->getActivityField()) - returns savedrlelavalue cloouent models: Itempy →> tals back to fetchactivityfte/oValues () whieh reads from DBIterates values and calls $this→>repository→>create($playbook, $data)Root Cause: Why Some Playbooks Have No Categoriesinere are mulrole tallure pauns1recol veForTeamd throwc CocialAccountTokerTnvalidFycentionkesocveleancrnconnect1on.onp.40=30 =T tne leam's unm onutn loken is Invalle exolred at the time tnequeued 1o0 runs, the entire lstener throws an unnand ed exceotion ano no categories are createo.2. imnortPicklistValueso returns emotv ANo no DB values existService.php:541-543 - catches NoResultsException silently (returns [] ). If the Salesforce queryreurns noresulis re.nortoune. Arlissuerane no crm field values exstror thetiele In Db ver thefalllback fetchAct ivitvFie dValueso also returns emotv — zero categories created.3. $plavbook->qetActivityField() returns nullIt tor some reason activity_field_id is null on the playbook, syncField(null) and importPicklistvaluestnuet woule throw ertors, crashing tne queued listener sllenuy.4. Race concition: Istener is queuedAll three listeners implement ShouldQueue - they run asynchronously. The early-exit check if ($playbook→oeclacecorles→isnottmoty recuh, coule oass race conaltons, out more importanuy, ir thequeue worker talls or is down. the listener never runs.5. The NoResultsException swallowed silentlyThe most likely culprit for Salesforce - when a standard field (non-custom) has no picklistValues in getObjectFields() result, SobjectField could be null (via array_shift on empty array), and the if (empty(SobjectField['picklistValues']) === false) block is never entered → $values stays empty. Then $fieLovalues Is emoty, ane tne Db talloack Tecchactivityrlelavalues also retums notnine decause 1npontPickustvalues hasn't written any values to DB ver.Key Bug: Empty SobjectField (non-custom standard Salesforce field)Ask anything (24L)+ <>Code Claude Sonnet 4.6Winasun lear594:16uir-o...
|
NULL
|
NULL
|
NULL
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpladl• Tech Day Review - in 1h 23 mAAPP (-zsh)X4-zshDOCKER• ₴1DEV (docker)APP (-zsh)X3-zsh• ₴5* Review screenp...• 286Changes notstagedfor commit:(use"git add ‹file>..to update what will becommitted)(use"git restore<files..." to discard changesin working directory)modified:./.env.localmodified:./app/Console/Commands/JiminnyDebugCommand.phpmodified:../app/Http/Controllers/API/ActivityController.phpmodified:../app/Http/Controllers/Webhook/ReportController.phpmodified::./app/Jobs/Team/SyncToIntercom.phpmodified:/app/Services/PlaybackService.phpmodified::/config/logging.phpmodified:../routes/web.phpUntracked files:Cuse"git add <files..."to include in what will be committed)'.env.nikilocal/.env.other../WEBHOOK_FILTERING_IMPLEMENTATION.md../app/Console/Commands/Crm/Hubspot/SimulateWebhooksCommand.php../app/Console/Commands/Reports/CreateMockAskJiminnyReportResultCommand.php./ids.txt../raw_sql_query.sql../tests/Unit/Policies/CanAccessAiReportsTest.phpno changes addedto commit (use "git add"and/or "git commit -a")lukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ git pullremote: Enumerating objects: 170,done.remote: Counting objects: 100% (147/147), done.remote: Compressing objects: 100% (35/35), done.remote:Total 170 (delta 116), reused 121 (delta 111), pack-reused 23 (from 1)Receiving objects: 100% (170/170), 55.28 KiB | 1.42 MiB/s,done.Resolving deltas: 100% (119/119), completed with 47 local objects.From github.com:jiminny/app82671d4c13..d4352c6e59JY-20291-datadog-processing-states-> origin/JY-20291-datadog-processing-states20e95bbbc9..360f12adddJY-20541-cleanup-stale-tasks-and-events-> origin/JY-20541-cleanup-stale-tasks-and-events+ 9f8d154791...01c43d2aa6 JY-20553-debug-crm-sync-delays-> origin/JY-20553-debug-crm-sync-delays (forced update)* [new branch]JY-20695-handle-no-raw-transcript-› origin/JY-20695-handle-no-raw-transcriptbe76d8ba82..9b30c928c4JY-9712-change-forever-nudges-to-1-year-expiration -> origin/JY-9712-change-forever-nudges-to-1-year-expiration5bb8fefcba..c04e334173master-> origin/masterUpdating aba9685c0d..08ed383c5berror: Your local changes to the following files would be overwritten by merge:app/Http/Controllers/Webhook/ReportController.phpPlease commit your changes or stash them before you merge.Abortingukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ Uec2-user@ip-10-...• 87100% <478Fri 17 Apr 15:37:031₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileEditViewNavigateCodeLaravelRefactorToo PhpStormFileEditViewNavigateCodeLaravelRefactorToolsWindowHelpFV faVsco.s v#11894 on JY-18909-automated-reports-ask-jiminny k ~Project v© PlaybookRepository.php x© AskJiminnyReportActivityService.php© ReportController.php=.env.otherC JiminnyDebugCommand.phpAutomatedReportsSendCommand.phpAulomaleakeporscommand.one= ,env.oroduction© AutomatedReportsRepository.php© AutomatedReportsService.php© CreateHeldActivityEvent.php=.env.production-eu=.env.ga© TrackProviderInstalledEvent.php© CreateActivityLoggedEvent.php© UserPilotActivityListener.php= .env.qai547C ActivityLogged.php© AutomatedReportsCallbackService.phpC RequestGenerateAskJiminnyReportJob.phpE.env.root548© RequestGenerateReportJob.php© AutomatedReportResult.php© AutomatedReport.phpE.env.staging549550=.gitattributes<?php551• .gitignoreE .php-cs-fixer.cachedeclare(strict_types=1);php.php-cs-fixer.dist.php554php.phpstorm.meta.phpnamespace Jiminny kepositorles,=.phpunit.result.cache555=.prettierignore→use557E .windsurfrules558class PlaybookRepository implements PlaybookRepositoryContractpip dlae_nelper.onephp_ide_helper_models.php559php artisanLusages560O composer.json561private ProviderRegistry $crmRegistry;5620 composer.lock165630 dependency-checker.json17public function __construct(ProviderRegistry $providerRegistry)...}564 dev.json565= ids.txt22 €t >public function find(int|string $id): ?Playbook{...}566Einfection.ison.dist56730 Ct >M+INSIALL.mopublic function forTeam(Team $team, bool $onlySelectable = true): Collection(...}568M+ INTERNAL_WEBHOOK SETUP569Ejiminny_storage35 CFpublic function create(Team $team, array $data): PlaybookM+ licenses.md570571M Makefile$crmService = $this->crmRegistry->get($team->crm->provider);572O package-lock.json$crmService->setUser($team->owner);= phpstan.neon.dist1574=phpstan-baseline.neon$categoryData = [< phpunit.xml'team_id' = Steam->id,Te raw_sql_query.sql'name' => $data['name'],571M- KEADMEMO'is_selectable' →> $data['enabled'],ê sonar-project.properties578'activity_type' →> $data['crm_activity_type'],=test.py'activity_field_id' => Scrmservice->getDefaultActivityFieLd($data['crm_act 580<> Untitled Diagram.xmlIs vetur.config.js581M+ WEBHOOK_FILTERING_IMPLE582if (isset($data['ai_activity_type_detection_enabled'])) {583› ib External Libraries$categoryData['ai_activity_type_detection_enabled'] = $data['ai_activity_t584E Scratches and Consoles585v D Database Consoles/** @var Playbook $category */586587, & lminnva ocalhost$category = Playbook::create($categoryData);588vAPRUD589c consoe rrobireturn Scategory;« console_1 [PROD]590591A DI [PROD]A QA5925934 QAI594V› A QAI PROD595V & STAGING596A console [STAGING]¿ consoe AGINGI& uranus s AGINGI> M Extensions> D Scratches= custom.log< console LUl= laravel.logA console [STAGING]A SF [jiminny@localhost]A HS_local [iminny@localhost]© RequestGenerateAskJiminnyReportJobTest.phpA console [PROD] XIx. AUto vHaycroundvselect * from nudges n where n.activity_search_id.Ma lminny v034 A1 A33 X61 ^select * from teams where created_at ›"2026-03-09';SELECT * FROM crm_layouts WHERE crm_configuration_id = 1065; # 1065SELECT * FROM crm_layout_entities WHERE crm_layout_id = 3617;select * from users where team_id = 1 and name Like '%Lukas%'; # 7160SELECT * FROM teams WHERE id = 575;select * fromopportunities where team_id = 575;SELECT * FROM teams WHERE name LIKE '%Integrum ESG%'; # 1126, 1065,select * from opportunities where team_id = 1126;SELECT * FROM teams WHERE name LIKE "%Base%'; # 1125, 1063,select * from opportunities where team_id = 1125;select * from contacts cwhere c.team_id = 882;SELECI * FRUM ACCIVIELES WHEKE 10 = 708227671OEEE*HKUMoirio ronuesWHERE user_id = 15440;SELECT * FROM crm_profilesWHERE crm_configuration_id = 555;SELECT * FROM crm_configurations WHERE id = 555;SELECT * FROM users WHERE id = 15440; # team. 581, gr. 15440, pl. 3911, act. field 162182SELECTCONCAT(u.id, LASE WHEN U.id = t.owner_id THEN ' (owner)' ELSE "' END) AS user_id,u.email,sa.*,t.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJUIN teams uI.n<→>: on t.1d = U.team_1dWHERE U.team_id = 581 and sa.provider = 'salesfence':SELECT * FROM automated_report_results order by id desc;select * from features;select * from team_features where feature_id = 40;select * from teams where 1d = 5561select * from automated_reports where id = 54; # 4fdd41f6-dcf0-30d0-b339-7345381b6044 , ["pdf", "pcSELECT * FROM automated_report_results WHERE uuid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131') =select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE i₫ = 1919;select * from automated_report_results WHERE CeRontaid = 54;select * from opportunities where id = 7594349;SELECT * FROM teams WHERE name LIKE '%Les%'; # 711,692, 16067B - [EMAIL] * from pflaybooks where team_id = 711; # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;oeuee* rror cen telas warkeo olkSELECT * FROM crm_field_values WHERE crm_field_id = 226147;worksoace associated with branch Jy-los0g-automaled-re, 0j Tech Day Review - in 1h 23 mA100% CFri 17 Apr 15:37:03• RequestGenerateAskJiminnyReportJobTest vCascadeAutomated Report RetiPlaybook Activity Type+D ...Read Service.php #L423-552Now I have the full picture. Let me also check the PlaybookController to see where PlaybookCreated isTred.wSearched PlavoookCreated and pertormed 2 other queriesNow I have a complete understanding of the flow. Let me summarize what I found:How It Works: Playbook Created → Activity Type Categories1. Playbook creationPlaybookcontroller::storea• PlaybookRepository::create creates the playbook, setting activity field id via getDefaultActivityField()event (new PlaybookCreated($playbook, Suser)) fires2. PlaybookCreated listeners (all queued via ShouldQueue ):• AttachLayout - creates the default CRM layoutapp/Listeners/Crm/ImportActivitylypes.php - tracks in Planhat• ImportActpvitylypes - imports picklist values as categones3. ImportActivityTypes: :handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syncField($playbook->getActivityField()) - syncs field metadata• Calls $crmService->importPicklistValues(Splaybook->getActivityField()) - returns savedrlelavalue cloouent models: Itempy →> tals back to fetchactivityfte/oValues () whieh reads from DBIterates values and calls $this→>repository→>create($playbook, $data)Root Cause: Why Some Playbooks Have No Categoriesinere are mulrole tallure pauns1recol veForTeam@throwc CocialAccountTokerTnvalidFycentionkesocveleancrnconnect1on.onp.40=30 =T tne leam's unm onutn loken is Invalle exolred at the time tnequeued 1o0 runs, the entire lstener throws an unnand ed exceotion ano no categories are createo.2. imnortPicklistValueso returns emotv ANo no DB values existService.php:541-543 - catches NoResultsException silently (returns [] ). If the Salesforce queryreurns noresulis re.nortoune. Arlissuerane no crm field values exstror thetiele In Db ver thefalllback fetchAct ivitvFie dValueso also returns emotv — zero categories created.3. $plavbook->qetActivityField() returns nullIt tor some reason activity_field_id is null on the playbook, syncField(null) and importPicklistvaluestnuet woule throw ertors, crashing tne queued listener sllenty.4. Race concition: Istener is queuedAll three listeners implement ShouldQueue - they run asynchronously. The early-exit check if ($playbook→oeclacecorles→isnottmoty recuh, coule oass race conaltons, out more importanuy, ir thequeue worker talls or is down. the listener never runs.5. The NoResultsException swallowed silentlyThe most likely culprit for Salesforce - when a standard field (non-custom) has no picklistValues in getObjectFields() result, SobjectField could be null (via array_shift on empty array), and the if (empty(SobjectField['picklistValues']) === false) block is never entered → $values stays empty. Then $fieLovalues Is emoty, ane tne Db talloack Tecchactivityrlelavalues also retums notnine decause 1npontPickustvalues( hasn't written any values to DB ver.Key Bug: Empty SobjectField (non-custom standard Salesforce field)Ask anything (24L)+ <>Code Claude Sonnet 4.6Winasun lear594:16uir-o...
|
NULL
|
NULL
|
NULL
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpladl• Tech Day Review - in 1h 23 mAAPP (-zsh)X4-zshDOCKER881DEV (docker)APP (-zsh)X3-zsh• ₴5* Review screenp...• ₴6Changes notstagedfor commit:(use"git add ‹file›….to update what will becommitted)(use"git restore<file>..."to discard changesin working directory)modified:.env.localmodified:./app/Console/Commands/JiminnyDebugCommand.phpmodified:../app/Http/Controllers/API/ActivityController.phpmodified:../app/Http/Controllers/Webhook/ReportController.phpmodified::./app/Jobs/Team/SyncToIntercom.phpmodified:/app/Services/PlaybackService.phpmodified::/config/logging.phpmodified:../routes/web.phpUntracked files:Cuse"git add <files..."to include in what will be committed)/.env.nikilocal/.env.other../WEBHOOK_FILTERING_IMPLEMENTATION.md../app/Console/Commands/Crm/Hubspot/SimulateWebhooksCommand.php../app/Console/Commands/Reports/CreateMockAskJiminnyReportResultCommand.php./ids.txt../raw_sql_query.sql../tests/Unit/Policies/CanAccessAiReportsTest.phpno changes addedto commit (use "git add"and/or "git commit -a")lukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ git pullremote: Enumerating objects: 170,done.remote: Counting objects: 100% (147/147), done.remote: Compressing objects: 100% (35/35), done.remote:Total 170 (delta 116), reused 121 (delta 111), pack-reused 23 (from 1)Receiving objects: 100% (170/170), 55.28 KiB | 1.42 MiB/s,done.Resolving deltas: 100% (119/119), completed with 47 local objects.From github.com:jiminny/app82671d4c13..d4352c6e59JY-20291-datadog-processing-states-> origin/JY-20291-datadog-processing-states20e95bbbc9..360f12adddJY-20541-cleanup-stale-tasks-and-events-> origin/JY-20541-cleanup-stale-tasks-and-events+ 9f8d154791...01c43d2aa6 JY-20553-debug-crm-sync-delays-> origin/JY-20553-debug-crm-sync-delays (forced update)* [new branch]JY-20695-handle-no-raw-transcript-› origin/JY-20695-handle-no-raw-transcriptbe76d8ba82..9b30c928c4JY-9712-change-forever-nudges-to-1-year-expiration -> origin/JY-9712-change-forever-nudges-to-1-year-expiration5bb8fefcba..c04e334173master-> origin/masterUpdating aba9685c0d..08ed383c5berror: Your local changes to the following files would be overwritten by merge:app/Http/Controllers/Webhook/ReportController.phpPlease commit your changes or stash them before you merge.Abortingukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ Uec2-user@ip-10-...• ₴7100% <478Fri 17 Apr 15:37:051₴81ec2-user@ip-10-...O ₴8APP...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileFditViewNavigateCodeLaravelRetactonToo PhpStormFileFditViewNavigateCodeLaravelRetactonToolsWindowHelpFV faVsco.s v#11894 on JY-18909-automated-reports-ask-iminny K vProject vC PlaybookRepository.phpC AskJiminnyReportActivityService.phpC ReportController.phpv J CrmC JiminnyDebugCommand.php© ImportAitivityTypes.php>C AutomatedReportsSendCommand.phpBootstrapintegration© AutomatedReportsCommand.php© AutomatedReportsRepository.php© AutomatedReportsService.php© ImportActivityTypes.(©) ImportMetadata.phpC CreateHeldActivityEvent.phplrackrrovlderlnstalleacventong(©) CreateActivityLoggedEvent.php(© InitProfiles.phpC UserPilotActivityListener.phpC ActivityLogged.phpC AutomatedReportsCallbackService.php© LayoutModifiedListe© LayoutupdatedListel© RequestGenerateAsKJiminnyReportJob.php© RequestGenerateReportJob.phpCo RematchActivityoneC AutomatedReportResult.php(C AutomatedReport.php© Resolveowner.php© SyncOpportunity.phg© SyncProfileLeads.phS.O1Unamespace Jiminny Listeners \Crm:(C) SyncProfileOpportun>_ DealRisks›use ...• ElasticSearchJ groupsclass ImportActivityTypes implements ShouldQueue_ ImportMailbox_ NudgesC OpportunitiesM Plavbooksx Creuue me event uscener.public function -_constructlM Plavlistsviavale leduonly kesocvelcallemconneccson ocminesoevelrM TeamsTranscriptionprivate readonly FieldRepository SfieldRepository.>_ Usersprivate readonly PlaybookCategoryRepository $repository,) {..3>_Webhook=.gitkeepC) ChangeLogContextCor* Import the standard event/lask lype picklist opcions from the cri.› Mailv Modelspublic function handle(PlaybookCreated Sevent): void!....> Activity> MAiT usage> DAskAnything> M Calendarprivate function fetchActivityFieldValves(Field $field): Collection...r> M Connection> _ Contracts>DCrm› _ ElasticSearchn7 Feature_ OpportunityParticioant_ Playback IhemePavist> MScorecard>MWebhookC) Account.oho©) Activity.phpC Address.phpC) AiPrompt.phpC AutomatedReport.phpC) AutomatedReportResullC) Calendar.phpg Calllmport.php© CoachingFeedback.php© CoachingFeedbackVisitC) CoachingSection.phpC) CoachinaSectionCriterk‹C CoachingSectionCriteri‹C) CoachingSectionFeedbC CommentAbstract.phpworksoace associated with branch Jy-los0g-automalenas been restorea l/ Kollback // contigure... (3 minutes ago)= custom.log= laravel.logL SF (iminny@localhostHS_local fiminny@localhost)& console PROD X< console LUl5475495491551594554555556557558559560561563564565566567568569570571572573|57457557657757857958758858959059150215024 console [STAGING]C RequestGenerateAskJiminnyReportJobTest.phpIx. AUto vHaycroundvMa lminny vselect * from nudges n where n.activity_search_1d,034 41433 X61 ^sellect * from teams where created at >2026-03-09'SELECI * FROM Crm_LayoUts wHEke crn_contigurac1on_1d = 1005; # 1065oeeee * Fror crn avolr enmtles Wheke chiLavout o soiselect * from users where team id = 1 and name Like '%Lukas%': # 7160SELECT * FROM teams WHERE id = 575:select * from opportunities where team id = 575SELECT * FROM teams WHERE name LIKE '%Integrum ESG%: # 1126, 1065.select * from opportunities where team_id = 1126:SELECT * FROM teams WHERE name LIKE "%Base%'; # 1125, 1063,select * from opportunitles where team_1d = 1125:select * from contacts cwhere c.team_1d = 802,SELE * rrom acuvimles wibke 10 = 70022407SELECT * FROMoirio ronuesWHERE user id = 15440:SELECT * FROM crm profilesWHERE crm configuration id = 555:SELECT * FROM crm_confiqurations WHERE 1d = 555:SELECT * FROM users WHERE 1d = 15440; # team. 581, qr. 15440, pl. 3911, act. field 162182SELECTCONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE "• END) AS user_id,U.emall,sa.*t. owner_1d FruM soclal_accounts saJOIN users u on u.id = sa.sociable_idJUIN teams t.n<→>l: on t.1d = U.ceam_1dWHERE u.team_id = 581 and sa.provider = 'salesforce' :SELECT * FROM automated_report_results order by id desc;select * from features;select * from team_features where feature_id = 40;sellect * From teams where 1d £ 550select * from automated_reports where id = 54; # 4fdd41f6-dcf0-30d0-b339-7345381b6044 , ["pdf", "poSELECT * FROM automated report results WHERE uuid to bin('822fa41b-afd3-43a9-a248-86b0e36f3131') =select * from automated_report_results order by za desc,SELECT * FROM automated_report_results WHERE id = 1919;select * from automated_report_results WHERE reRont.id = 54;select * from opportunities where 1d = 7594349594vSELECT * FROM teams WHERE name LIKE '%Les%': # 711, 692, 16067ß -[EMAIL] * from nlavbooks where team id = 711: # event 2261471596SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm fields WHERE id = 226147•1597SELECT * FROM crm field values WHERE crm field id = 226147:Tech Day Review • in 1h 23 mA100% 145Fri 17 Apr 15:37:07• RequestGenerateAskJiminnyReportJobTest vCascadeAutomated Renort RetPlaybook Activity TypeRead Service.0ho # 423-557Now l have the full picture. Let me also check the PlaybookController to see where PlaybookCreated isTred.Searched PlavoookCreated and pertormed 2 other queriesNow lhave a complete understanding of the flow. Let me summarize what found:How It Works: Playbook Created → Activity Type Categories1. Playbook creationPlaybookcontroller::storea• PlaybookRepository::create creates the playbook, setting activity field id via getDefaultActivitvFiel dolevent (new PlaybookCreated($playbook, Suser)) fires2. PlaybookCreated listeners (all queued via ShouldQueue ):AttachLayout — creates the detault CRM layoutCreater laybookureareacvent — tracks in FlannalImportActiv1tylyoes — imporis picklist values as categories3. ImportActivityTypes::handle()(ImportActivityTypes.php:33-69):Skips if categories already exist• cals scrnservice-›suncrtela olavoook->derAcuyivrlel — suncs telc meradara• Calls &crmService-simnortPicklistValues(splavbook-sgetActivitvField()) -returns savedrielavalue clocuent modeisleratey=als aaira0 etcies rensy/ tenceset.res to/vnlan teats romtaIterates values and calls Sthis->repository->create(Splaybook, $data)Root Cause: Why Some Playbooks Have No Categoriesinere are mulrole tallure pauns1recol veForTeamd throwc CocialAccountTokerTnvalidFycentionkesocveleancrnconnect1on.onp.40=30 =T tne leam's unm onutn loken is Invalle exolred at the time tnequeued 1o0 runs, the entire lstener throws an unnand ed exceotion ano no categories are createo.2. imnortPicklistValueso returns emotv ANo no DB values existService.php:541-543 - catches NoResultsException silently (returns (] ). If the Salesforce queryreurns noresulis re.nortoune. Arlissuerane no crm field values exstror thetiele In Db ver thefalllback fetchAct ivitvFie dValueso also returns emotv — zero categories created.3. $plavbook->qetActivityField() returns nullIt tor some reason activity_field_id is null on the playbook, syncField(null) and importPicklistvaluestnuet woule throw ertors, crashing tne queued listener sllenty.4. Race concition: Istener is queuedAll three listeners implement ShouldQueue they run asynchronously. The early-exit check if (Splaybook→oeclacecorles→isnottmoty recuh, coule oass race conaltons, out more importanuy, ir thequeue worker talls or is down. the listener never runs.5. The NoResultsException swallowed silentlyThe most likely culprit for Salesforce - when a standard field (non-custom) has no picklistValues in getObjectFields() result, Sobjectfield could benull (Via array_shift on empty array), and the if (empty(SobjectField('picklistValues']) === false) block is never entered → $values stays empty. Then $fieLovalues Is emoty, ane tne Db talloack Tecchactivityrlelavalues also retums notnine decause 1npontPickustvalues( hasn't written any values to DB ver.Key Bug: Empty SobjectField (non-custom standard Salestorce field)Ask anything (&+L)+ <> Code Claude Sonnet 4.6WWinasun lear594:16uir-o...
|
NULL
|
NULL
|
NULL
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpladl• Tech Day Review - in 1h 23 mAAPP (-zsh)X4-zshDOCKER• ₴1DEV (docker)APP (-zsh)X3-zsh• ₴5* Review screenp...• 286Changes notstagedfor commit:(use"git add ‹file>..to update what will becommitted)(use"git restore<files..." to discard changesin working directory)modified:./.env.localmodified:./app/Console/Commands/JiminnyDebugCommand.phpmodified:../app/Http/Controllers/API/ActivityController.phpmodified:../app/Http/Controllers/Webhook/ReportController.phpmodified::./app/Jobs/Team/SyncToIntercom.phpmodified:/app/Services/PlaybackService.phpmodified::/config/logging.phpmodified:../routes/web.phpUntracked files:Cuse"git add <files..."to include in what will be committed)'.env.nikilocal/.env.other../WEBHOOK_FILTERING_IMPLEMENTATION.md../app/Console/Commands/Crm/Hubspot/SimulateWebhooksCommand.php../app/Console/Commands/Reports/CreateMockAskJiminnyReportResultCommand.php./ids.txt../raw_sql_query.sql../tests/Unit/Policies/CanAccessAiReportsTest.phpno changes addedto commit (use "git add"and/or "git commit -a")lukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ git pullremote: Enumerating objects: 170,done.remote: Counting objects: 100% (147/147), done.remote: Compressing objects: 100% (35/35), done.remote:Total 170 (delta 116), reused 121 (delta 111), pack-reused 23 (from 1)Receiving objects: 100% (170/170), 55.28 KiB | 1.42 MiB/s,done.Resolving deltas: 100% (119/119), completed with 47 local objects.From github.com:jiminny/app82671d4c13..d4352c6e59JY-20291-datadog-processing-states-> origin/JY-20291-datadog-processing-states20e95bbbc9..360f12adddJY-20541-cleanup-stale-tasks-and-events-> origin/JY-20541-cleanup-stale-tasks-and-events+ 9f8d154791...01c43d2aa6 JY-20553-debug-crm-sync-delays-> origin/JY-20553-debug-crm-sync-delays (forced update)* [new branch]JY-20695-handle-no-raw-transcript-› origin/JY-20695-handle-no-raw-transcriptbe76d8ba82..9b30c928c4JY-9712-change-forever-nudges-to-1-year-expiration -> origin/JY-9712-change-forever-nudges-to-1-year-expiration5bb8fefcba..c04e334173master-> origin/masterUpdating aba9685c0d..08ed383c5berror: Your local changes to the following files would be overwritten by merge:app/Http/Controllers/Webhook/ReportController.phpPlease commit your changes or stash them before you merge.Abortingukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ Uec2-user@ip-10-...• 87100% <478Fri 17 Apr 15:37:091₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileFditViewNavigateCodelaravelRefactonToo PhpStormFileFditViewNavigateCodelaravelRefactonToolsWindowHelpFV faVsco.s v#11894 on JY-18909-automated-reports-ask-iminny kProject vC PlaybookRepository.phpImpontactivily lypes.onpC AskJiminnyReportActivityService.phpC ReportController.phpC JiminnyDebugCommand.phpC AutomatedReportsSendCommand.phpAuth© AutomatedReportsCommand.php© AutomatedReportsRepository.php© AutomatedReportsService.php_ customerApC CreateHeldActivityEvent.phpI Jnternalllrackrrovlderinstalleacventong(©) CreateActivityLoggedEvent.phpKloSkC UserPilotActivityListener.phpC ActivityLogged.phpSettingsM Telephonv© RequestGenerateAsKJiminnyReportJob.php© RequestGenerateReportJob.phpWebhookC AutomatedReportResult.php(C AutomatedReport.php> _ HubspotS.OnU›> IntegrationAppSuC ActivityProviderCnamespace Jiminny Listeners \Crm:(©) ActivityTranscripi(©) BaseController.pr(C) CalendarControlle›use ...© Reportcontroller.(C) SoftohoneWebhoclass -mporAcuivLuylypes implements snouLaqueue( Abstractcontroller.pl[ CommentContextinti* Create the event Listener.(C) Conferences@ptinOl*/(©) Controller.php(C ExportController.phppublic function -_construct(private readonly ResolveTeamCrmConnection ScrmResolver.(C) FrontendController.pprivate readonly FieldRepository $fieldRepository,private readonly PlaybookcategoryRepos1tory srepository.T FrontendControllerTiGeocodingControllerD4.Hc)HealthCheckcontroli(C) LiveCoachController**© Missing l eamcontrol* Import the standard event/lask lype picklist opcions from the cri.c Mooilecontrol er.ohrc Notrcatoncontrolepublic function handle(PlaybookCreated $event): voidt...}(C) NotificationProvider((C PlaybackController.p1 usage(C PlaylistController.phlprivate function fetchActivityFieldValuesField $field): Collection...(©) PusherController.phgC SlackController.phpExtractSurroundC SupportController.pr(c) TieamSetuocontrolle© UserAutomatedRepc© WelcomeController.r> M Middleware> M Requests> M Resources> D Responses› Serializers> Transformers© Kernel.phpT PlaylistTrackResourcetT ValidateCrmConnection>_ Integrationslinteractions>UJobsv ]LstenersM ActivitiesM AuthenticationCalendarsCrmBootstrapintegration(©) ImportActivityTypes.(©) ImportMetadata.php(©) InitProfiles.phpworksoace associated with branch Jy-log0g-automaledcure... 3 minutes ado= custom.log= laravel.logL SF (iminny@localhostHS_local fiminny@localhost)& console PROD X< console LUl5495491551V55455355455555655755855956€5615635645655665675685491576571573|157415715795875885895905915925034 console [STAGING]C RequestGenerateAskJiminnyReportJobTest.phpIx. Aulo vHaycroundvMa lminny vselect * from nudges n where n.activity_search_1d,034 41433 X61 ^select * from teams where created_at ›2026-03-09'SELECI * FRUM Crm_LayoUts wHEkE crn_contigurac1on_1d = 1065; # 1065oeLee * Fror cen Lavour enuules Worke chnlavout e sso%select * from users where team id = 1 and name Like '%Lukas%': # 7160SELECT * FROM teams WHERE id = 575;select * fromopportunities where team id = 575SELECT * FROM teams WHERE name LIKE '%Integrum ESG%: # 1126, 1065.select * from opportunities where team_id = 1126:SELECT * FROM teams WHERE name LIKE "%Base%'; # 1125, 1063,select * from opportunitles where team_1d = 1125:select * from contacts cwhere c.team_1d = 802,SELECI * FRUM ACCIVIELES WHEKE 10 = 708227671OELE*TKUMoirio ronuesWHERE user id = 15440:SELECT * FROM crm profilesWHERE crm confiquration id = 555:SELECT * FROM crm_configurations WHERE id = 555;SELECT * FROM users WHERE id = 15440; # team. 581, qr. 15440, pl. 3911, act. field 162182SELECTCONCATCU.1d, CARE WHEN U.1d = t.owner_1d THEN' (owner)' ELSE" END) AS user_1d,U.emall,sa.*t. owner_1d FruM soclal_accounts saJuIN users u on u.1d = sa.soclable_1dJUIN teams uI.n<→>: on t.1d = U.team_1dWheke U.ceall_ld- sol and sa.provtder- satestorceSELECT * FROM automated_report_results order by id desc;select * from features;select * from team_features where feature_id = 40:select * from teams where 1d = 5561seLect * trom aucomaced_reports where 10 = 54, # 4таа41т6-аcт0-5000-D55Y-754558106044 , L"pat","pgSELECT * FROM automated report results WHERE uuid to bin('822fa41b-afd3-43a9-a248-86b0e36f3131') =select * from automated report_results order Dy za desc,SELECT * FROM automated_report_results WHERE 70 = 17170select * from automated_report_results WHERE report.id = 54;select * from opportunities where 1d = 7594349:SELECT * FROM teams WHERE name LIKE '%LeS'* # 711,692, 1606/B - J1m1nny1ntegratzon@lesm1lls.com594 V59515961select * from playbooks where team_1d = 711; # event 22614/SELELI * FRUM pLayDooK_cacegorles wHERE pLayDooK_1d = 55151oeuee* rror cen telas warkeo olkSELECT * FROM crm field values WHERE crm field id = 226147:Tech Day Review • in 1h 23 mA100% 145Fri 17 Apr 15:37:10• RequestGenerateAskJiminnyReportJobTest vCascadeAutomated Renort RetPlaybook Activity TypeRead Service.0ho # 423-557Now l have the full picture. Let me also check the PlaybookController to see where PlaybookCreated isTred.Searched PlavoookCreated and pertormed 2 other queriesNow lhave a complete understanding of the flow. Let me summarize what I found:How It Works: Playbook Created → Activity Type Categories1. Playbook creationPlaybookController::store:• PlaybookRepository::create creates the playbook, setting activity field id via getDefaultActivitvFieldlevent (new PlaybookCreated($playbook, Suser)) fires2. PlaybookCreated listeners (all queued via ShouldQueue ):AttachLayout — creates the detault CRM layoutCreater laybookureareacvent — tracks in FlannalImportActiv1tylyoes — imporis picklist values as categories3. ImportActivityTypes::handle()(ImportActivityTypes.php:33-69):Skips if categories already exist• cals scrnservice-›suncrtela olavoook->derAcuyivrlel — suncs telc meradara• Calls &crmService-simnortPicklistValues(splavbook-sgetActivitvField()) -returns savedrielavalue clocuent modeisleratey=als aaira0 etcies rensy/ tenceset.res to/vnlan teats romtaIterates values and calls Sthis->repository->create(Splaybook, $data)Root Cause: Why Some Playbooks Have No Categoriesinere are mulrole tallure pauns1recol veForTeamd throwc CocialAccountTokerTnvalidFycentionkesocveleancrnconnect1on.onp.40=30 =T tne leam's unm onutn loken is Invalle exolred at the time tnequeued 1o0 runs, the entire lstener throws an unnand ed exceotion ano no categories are createo.2. imnortPicklistValueso returns emotv ANo no DB values existService.php:541-543 - catches NoResultsException silently (returns (] ). If the Salesforce queryreurns noresulis re.nortoune. Arlissuerane no crm field values exstror thetiele In Db ver thefalllback fetchAct ivitvFie dValueso also returns emotv — zero categories created.3. $plavbook->qetActivityField() returns nullIt tor some reason activity_field_id is null on the playbook, syncField(null) and importPicklistvaluestnuet woule throw ertors, crashing tne queued listener sllenty.4. Race concition: Istener is queuedAll three listeners implement ShouldQueue they run asynchronously. The early-exit check if (Splaybook→oeclacecorles→isnottmoty recuh, coule oass race conaltons, out more importanuy, ir thequeue worker talls or is down. the listener never runs.5. The NoResultsException swallowed silentlyThe most likely culprit for Salesforce - when a standard field (non-custom) has no picklistValues in getObjectFields() result, Sobjectfield could benull (Via array_shift on empty array), and the if (empty(SobjectField('picklistValues']) === false) block is never entered → $values stays empty. Then $fieLovalues Is emoty, ane tne Db talloack Tecchactivityrlelavalues also retums notnine decause 1npontPickustvalues( hasn't written any values to DB ver.Key Bug: Empty SobjectField (non-custom standard Salestorce field)Ask anything (&+L)+ <> Code Claude Sonnet 4.6WCa 4 spaces...
|
NULL
|
NULL
|
NULL
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpladl• Tech Day Review - in 1h 23 mAAPP (-zsh)X4-zshDOCKER881DEV (docker)APP (-zsh)X3-zsh• ₴5* Review screenp...• ₴6Changes notstagedfor commit:(use"git add ‹file›….to update what will becommitted)(use"git restore<file>..."to discard changesin working directory)modified:.env.localmodified:./app/Console/Commands/JiminnyDebugCommand.phpmodified:../app/Http/Controllers/API/ActivityController.phpmodified:../app/Http/Controllers/Webhook/ReportController.phpmodified::./app/Jobs/Team/SyncToIntercom.phpmodified:/app/Services/PlaybackService.phpmodified::/config/logging.phpmodified:../routes/web.phpUntracked files:Cuse"git add <files..."to include in what will be committed)/.env.nikilocal/.env.other../WEBHOOK_FILTERING_IMPLEMENTATION.md../app/Console/Commands/Crm/Hubspot/SimulateWebhooksCommand.php../app/Console/Commands/Reports/CreateMockAskJiminnyReportResultCommand.php./ids.txt../raw_sql_query.sql../tests/Unit/Policies/CanAccessAiReportsTest.phpno changes addedto commit (use "git add"and/or "git commit -a")lukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ git pullremote: Enumerating objects: 170,done.remote: Counting objects: 100% (147/147), done.remote: Compressing objects: 100% (35/35), done.remote:Total 170 (delta 116), reused 121 (delta 111), pack-reused 23 (from 1)Receiving objects: 100% (170/170), 55.28 KiB | 1.42 MiB/s,done.Resolving deltas: 100% (119/119), completed with 47 local objects.From github.com:jiminny/app82671d4c13..d4352c6e59JY-20291-datadog-processing-states-> origin/JY-20291-datadog-processing-states20e95bbbc9..360f12adddJY-20541-cleanup-stale-tasks-and-events-> origin/JY-20541-cleanup-stale-tasks-and-events+ 9f8d154791...01c43d2aa6 JY-20553-debug-crm-sync-delays-> origin/JY-20553-debug-crm-sync-delays (forced update)* [new branch]JY-20695-handle-no-raw-transcript-› origin/JY-20695-handle-no-raw-transcriptbe76d8ba82..9b30c928c4JY-9712-change-forever-nudges-to-1-year-expiration -> origin/JY-9712-change-forever-nudges-to-1-year-expiration5bb8fefcba..c04e334173master-> origin/masterUpdating aba9685c0d..08ed383c5berror: Your local changes to the following files would be overwritten by merge:app/Http/Controllers/Webhook/ReportController.phpPlease commit your changes or stash them before you merge.Abortingukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ Uec2-user@ip-10-...• ₴7100% <478Fri 17 Apr 15:37:181₴81ec2-user@ip-10-...O ₴8APP...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileEditFV faVsco.s vProject vO dependency PhpStormFileEditFV faVsco.s vProject vO dependency-checker.jsonO dev.json= lds.txi=infection.json.distM+INS ALL.mdM+ INTERNAL_ WEBHOOK SETUPjiminny_storageM+ licenses.mdM MakefileO package-lock.json= phpstan.neon.dist= phpstan-baseline.neon<phpunit.xmlTe raw_sql_query.sqlM-R-ADME. molộ sonar-project.properties= test.py<> Untitled Diagram.xmlIs vetur.config.jsM+ WEBHOOK_FILTERING_IMPLE› Ih External LibrariesE® Scratches and Consoles~ D Database Consoles> AEU> A jiminny@localhostV &PRODA console [PROD]A console_1 [PROD]2 DI [PROD]ViewNavigateCodeLaravelRefactorToolsWindowHelp( #11894 on JY-18909-automated-reports-ask-jiminny k© PlaybookRepository.php© ImportActivityTypes.php x© AskJiminnyReportActivityService.php© ReportController.phpC JiminnyDebugCommand.phpAulomaleakeporissendcommand.ono© AutomatedReportsCommand.php© AutomatedReportsRepository.php© AutomatedReportsService.php© CreateHeldActivityEvent.phplrackrrovlderinstalleacventong© CreateActivityLoggedEvent.phpC UserPilotActivityListener.phpC ActivityLogged.phpC AutomatedReportsCallbackService.php© RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php• AutomatedReportResult.php(C AutomatedReport.phpclass InPortActivitxIypes implements ShouldQueue* Create the event listener.public function __construct(private readonly ResolveTeamCrmConnection $crmResolver,private readonly FieldRepository $fieldRepository,private readonly PlaybookCategoryRepository $repository,) 1...7*** Import the standard Event/Task Tuoe picklist options from the CRM.public function handle(PlaybookCreated $event): void$playbook = $event->playbook;// Don't run if somehow we already have categories.if ($playbook->getCategories()->isNotEmpty()) {return;40Servicesv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFA HS_localV &PROD4 console 1 s 634 msV L STAGINGc consoey Dockerf OutputDid T0 rowsviii liminnv.crm_field values50,0+uid Y# event 226147 xIx. AUtO÷ playbook_id TDDLQПOAФO type Y.name T= custom.log< console LUl= laravel.logA console [STAGING]A SF [jiminny@localhost]A HS_local [iminny@localhost]© RequestGenerateAskJiminnyReportJobTest.phpA console [PROD] X57757857958058142 лv 582583584758558658758858959059159215751574595vIx. AUto vMlaycroundvMa lminny v034 A1 A33 X61 ^SELECT * FROM automated_report_results order by id desc;select * from features;select * from team_features where feature_id = 40;select * from teams where id = 556;select * from automated_reports where id = 54; # 4fdd41f6-dcf0-30d0-b339-7345381b6044["pdf", "pcSELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')_=select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;select * from automated_report_results WHERE reRont.id = 54;select * from opportunities where id = 7594349;597SELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * fromplaybooks where team_id = 711; # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm_fields WHERE id = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;÷ Mai_prompt_description Y!is_selectable Y! sequence TOO was_answered T, 0j Tech Day Review - in 1h 23 mA• RequestGenerateAskJiminnyReportJobTest v100% CFri 17 Apr 15:37:22CascadeAutomated Report RetiPlaybook Activity Type+D..Read Service.0h0 #493-557Now I have the full picture. Let me also check the PlaybookController to see where PlaybookCreated isTired:• : -wSearched PlavoookCreated and pertormed 2 other queriesNow I have a complete understanding of the flow. Let me summarize what I found:How It Works: Playbook Created → Activity Type CategoriesFlow1. Playbook creation (PlaybookController::store()):• PlaybookRepository::create creates the playbook, setting activity field id via getDefaultActivitvFiel dolevent (new PlaybookCreated($playbook, suser)) fires2. PlaybookCreated listeners (all queued via ShouldQueue ):AttachLayout - creates the default CRM layoutreater laypookcreareacvent — tracks in FlannatImportActiv1tylyoes — imporis picklist values as categories3. ImportActivityTypes: :handle() (ImportActivityTypes.php:33-69):• Skips if categories already existCale scmserice-syperted/s.o/bouk.agtcetvkvftie/ eyfhes tol mtin savedFieldValue [1 Eloquent modelsAsk anytning (dtL)+ & COO€Claude Sonnet 4.0Dis_default TI created_at YC. +08,ID updated_at Y0 rows retrieved in sgo ms (execution: 156 ms, Teiching: 442 ms)Winasun leams59b:20uir-o4 spaces...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileEditFV faVsco.s vProject vO dependency PhpStormFileEditFV faVsco.s vProject vO dependency-checker.jsonO dev.json= lds.txi=infection.json.distM+INS ALL.moIM+ INTERNAL_ WEBHOOK SETUPjiminny_storageM+ licenses.mdM MakefileO package-lock.json= phpstan.neon.dist= phpstan-baseline.neon<phpunit.xmlTe raw_sql_query.sqlM-R-ADME. molộ sonar-project.properties= test.py<> Untitled Diagram.xmlus vetur.config.isM+ WEBHOOK_FILTERING_IMPLE› Ih External LibrariesE® Scratches and Consoles~ D Database Consoles> AEU> A jiminny@localhostV &PRODA console [PROD]A console_1 [PROD]2 DI [PROD]ViewNavigateCodeLaravelRefactorToolsWindowHelp( #11894 on JY-18909-automated-reports-ask-jiminny k© PlaybookRepository.php© ImportActivityTypes.php x© AskJiminnyReportActivityService.php© ReportController.phpC JiminnyDebugCommand.phpAulomaleakeporissendcommand.ono© AutomatedReportsCommand.php© AutomatedReportsRepository.php© AutomatedReportsService.php© CreateHeldActivityEvent.phplrackrrovlderinstalleacventong© CreateActivityLoggedEvent.phpC UserPilotActivityListener.phpC ActivityLogged.phpC AutomatedReportsCallbackService.php© RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php• AutomatedReportResult.php(C AutomatedReport.phpclass InPortActivitxIypes implements ShouldQueue* Create the event listener.public function __construct(private readonly ResolveTeamCrmConnection $crmResolver,private readonly FieldRepository $fieldRepository,private readonly PlaybookCategoryRepository $repository,) 1...7*** Import the standard Event/Task Tuoe picklist options from the CRM.public function handle(PlaybookCreated $event): void$playbook = $event->playbook;// Don't run if somehow we already have categories.if ($playbook->getCategories()->isNotEmpty()) {return;40Servicesv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFA HS_localV &PROD4 console 1 s 634 msV L STAGINGc consoey Dockerf OutputDid T0 rowsviii liminnv.crm field values50,0+Owuid Y# event 226147 xIx. AUtO÷ playbook_id TDDLQGAФO type Y.name T= custom.log< console LUl= laravel.logA console [STAGING]A SF [jiminny@localhost]A HS_local [iminny@localhost]© RequestGenerateAskJiminnyReportJobTest.phpA console [PROD] X57757857958058142 л× 5825835847585586587588589590_59159215751574595vIx. Aulo vMlaycroundvMa lminny v034 A1 A33 X61 ^SELECT * FROM automated_report_results order by id desc;select * from features;select * from team_features where feature_id = 40;select * from teams where id = 556;select * from automated_reports where id = 54; # 4fdd41f6-dcf0-30d0-b339-7345381b6044["pdf", "pcSELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')=select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;select * from automated_report_results WHERE ceRont.id = 54;select * from opportunities where id = 7594349;597SELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * fromplaybooks where team_id = 711; # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm_fields WHERE id = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;÷ Mai_prompt_description Y!is_selectable Y! sequence TOO was_answered T, 0j Tech Day Review - in 1h 23 mARequestGenerateAsk.JiminnvRenort.lobTestv100% C•Fri 17 Apr 15:37:28CascadeAutomated Report Retrfired:Playbook Activity Type+0 •searched Playbookcrealed ana perormed z other queriesNow I have a complete understanding of the flow. Let me summarize what I found:w"oy I Works: Pavoook Createo → AcIVIVoe carecoresFlow1. Playbook creation ( PlaybookController::store() ):• PlaybookRepository::create() creates the playbook, setting activity field id via getDefaulLACT1v1LVrleldyevent (new PlaybookCreated($playbook, $user)) fires%Pavoookcreated Steners al •ueue. Va Shoul dQueue "Atrachlavout — creales ne ceaur crmlavoulCreatePlaybookCreatedEvent — tracks in PlanhatImportActivitylypes — Imports picklist values as calegorles3. ImportActivityTypes::handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syn app/Services/Crm/Salestorce/Service.php ld) - syncs field metadata• Calls $crmService->importPicklistValues($playbook->getActivityField()) - returns savedFieldValue [I Eloquent modelserates values and calla sethias rensiton reate snlanhenks rontaIterates values and calls $this->repository->create($playbook, $data)ASk anvinine CTbl+ •CodeClaude sonnet 4.0Dis_default TI created_at YID updated_at Y0 rows retrieved in sgo ms (execution: 156 ms, Teiching: 442 ms)Winasun leams595:20uir-o4 spaces...
|
NULL
|
NULL
|
NULL
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpladl• Tech Day Review - in 1h 23 mAAPP (-zsh)₴4-zshDOCKER- 881DEV (docker)APP (-zsh)X3-zsh* Review screenp...• ₴6Changes notstagedfor commit:(use"git add ‹file›….to update what will becommitted)(use"git restore<file>..."to discard changesin working directory)modified:.env.localmodified:./app/Console/Commands/JiminnyDebugCommand.phpmodified:../app/Http/Controllers/API/ActivityController.phpmodified:../app/Http/Controllers/Webhook/ReportController.phpmodified::./app/Jobs/Team/SyncToIntercom.phpmodified:/app/Services/PlaybackService.phpmodified::/config/logging.phpmodified:../routes/web.phpUntracked files:Cuse"git add <files..."to include in what will be committed)/.env.nikilocal/.env.other../WEBHOOK_FILTERING_IMPLEMENTATION.md../app/Console/Commands/Crm/Hubspot/SimulateWebhooksCommand.php../app/Console/Commands/Reports/CreateMockAskJiminnyReportResultCommand.php./ids.txt../raw_sql_query.sql../tests/Unit/Policies/CanAccessAiReportsTest.phpno changes addedto commit (use "git add"and/or "git commit -a")lukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ git pullremote: Enumerating objects: 170,done.remote: Counting objects: 100% (147/147), done.remote: Compressing objects: 100% (35/35), done.remote:Total 170 (delta 116), reused 121 (delta 111), pack-reused 23 (from 1)Receiving objects: 100% (170/170), 55.28 KiB | 1.42 MiB/s,done.Resolving deltas: 100% (119/119), completed with 47 local objects.From github.com:jiminny/app82671d4c13..d4352c6e59JY-20291-datadog-processing-states-> origin/JY-20291-datadog-processing-states20e95bbbc9..360f12adddJY-20541-cleanup-stale-tasks-and-events-> origin/JY-20541-cleanup-stale-tasks-and-events+ 9f8d154791...01c43d2aa6 JY-20553-debug-crm-sync-delays-> origin/JY-20553-debug-crm-sync-delays (forced update)* [new branch]JY-20695-handle-no-raw-transcript-› origin/JY-20695-handle-no-raw-transcriptbe76d8ba82..9b30c928c4JY-9712-change-forever-nudges-to-1-year-expiration -> origin/JY-9712-change-forever-nudges-to-1-year-expiration5bb8fefcba..c04e334173master-> origin/masterUpdating aba9685c0d..08ed383c5berror: Your local changes to the following files would be overwritten by merge:app/Http/Controllers/Webhook/ReportController.phpPlease commit your changes or stash them before you merge.Abortingukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ Uec2-user@ip-10-...• ₴7100% <478Fri 17 Apr 15:37:301₴81ec2-user@ip-10-...O ₴8APP...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileEditFV faVsco.s vProject vv J Crm6 Boo PhpStormFileEditFV faVsco.s vProject vv J Crm6 Bootstrapintegration© ImportActivity Types.© ImportMetadata.php© InitProfiles.php© LayoutModifiedListe© LayoutUpdatedListelC RematchActivityOnC© ResolveOwner.php© SyncOpportunity.phyaoyncrotleleaas.on© SyncProfileOpportun> D DealRisksD ElasticSearchD GroupsO ImportC MailboxD NudgesD OpportunitiesPlaybooksPlaylistsM TeamsTranscription> D Users> D Webhook= .gitkeep© ChangeLogContextCorr› D Mailv D ModelsViewNavigateCodeLaravelRefactorToolsWindowHelp( #11894 on JY-18909-automated-reports-ask-jiminny k v© PlaybookRepository.php© ImportActivityTypes.php x© AskJiminnyReportActivityService.php© ReportController.phpC JiminnyDebugCommand.phpAutomatedReportsSendCommand.php© AutomatedReportsCommand.php© AutomatedReportsRepository.php© AutomatedReportsService.php© CreateHeldActivityEvent.phplrackrrovlderinstalleacventong© CreateActivityLoggedEvent.phpC UserPilotActivityListener.phpC ActivityLogged.php© RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php• AutomatedReportResult.php(C AutomatedReport.phpclass InPortActivitxIypes implements ShouldQueueServicesv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFA HS_localV &PROD4 console 1 s 634 msV ASTAGINGc consoey Docker*** Import the standard Event/Task Type picklist options from the CRM.ououc tuncmion nanoleravoookureateo nevent. voro$playbook = $event->playbook;// Don't run if somehow we already have categories.if ($playbook->getCategories()->isNotEmptyO) {return;$crmService = $this->crmResolver->resolveForTeam($playbook->getTeam());$crmService->syncField($playbook->getActifityField());$values = $crmService->importPicklistValues($playbook->getActivityField());if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());OutputDid T0 rows viii liminnv.crm field valuesGFi # event 226147 *50,0Ix. AUtOwuid Y÷ playbook_id TDDLQПOAФO type Y.name T= custom.log< console LUl= laravel.logA console [STAGING]A SF [jiminny@localhost]A HS_local [iminny@localhost]© RequestGenerateAskJiminnyReportJobTest.phpA console [PROD] X577578579580158142 лv 582583584585586587588589590591592593Ix. AUto vMlaycroundvma iminny v034 A1 A33 X61 ^SELECT * FROM automated_report_results order by id desc;select * from features;select * from team features where feature id = 40:select * from teams where id = 556;select * from automated_reports where id = 54; # 4fdd41f6-dcF0-30d0-b339-7345381b6044["pdf", "pcSELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')=select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;select * from automated_report_results WHERE reRont.id = 54;select * from opportunities where id = 7594349;595v597SELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * fromplaybooks where team_id = 711; # event 226147SELECT * FROMplaybook_categories WHERE playbook_id = 5515;SELECT * FROM crm_fields WHERE id = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;, 0j Tech Day Review - in 1h 23 mARequestGenerateAsk.JiminnvRenort.lobTestv100% C•Fri 17 Apr 15:37:30CascadeAutomated Report Retrfired:Playbook Activity Type+0 •searched Playbookcrealed ana perormed z other queriesNow I have a complete understanding of the flow. Let me summarize what I found:w"oy I Works: Pavoook Createo → AcIVIVoe carecoresFlow1. Playbook creation ( PlaybookController::store() ):• PlaybookRepository::create() creates the playbook, setting activity field id via getDefaulLACTIV1LV-leLdevent (new PlaybookCreated($playbook, $user)) fires%Pavoookcreated Steners al •ueue. Va Shoul dQueue "Atrachlavout — creales ne ceaur crmlavoulCreatePlaybookCreatedEvent — tracks in PlanhatImportActivitylypes — Imports picklist values as calegorles3. ImportActivityTypes::handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syn app/Services/Crm/Salestorce/Service.php ld) - syncs field metadata• Calls $crmService->importPicklistValues($playbook->getActivityField()) - returns savedFieldValue [I Eloquent modelsreratesyatues a calsethies renas/ter.es treste/tinlavheats rontaIterates values and calls $this->repository->create($playbook, $data)ASk anvinine CTbl+ •CodeClauce sonnet 4.0÷ Mai_prompt_description Y!is_selectable Y! sequence TOO was_answered TDis_default TI created_at YC. +08,ID updated_at Y0 rows retrieved in sgo ms (execution: 156 ms, Teichind: 442 mS)W Windsurf Teams 38:47 UTF-8f 4 spaces...
|
NULL
|
NULL
|
NULL
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpladl• Tech Day Review - in 1h 23 mAAPP (-zsh)X4-zshDOCKER881DEV (docker)APP (-zsh)X3-zsh• ₴5* Review screenp...• ₴6Changes notstagedfor commit:(use"git add ‹file›….to update what will becommitted)(use"git restore<file>..."to discard changesin working directory)modified:.env.localmodified:./app/Console/Commands/JiminnyDebugCommand.phpmodified:../app/Http/Controllers/API/ActivityController.phpmodified:../app/Http/Controllers/Webhook/ReportController.phpmodified::./app/Jobs/Team/SyncToIntercom.phpmodified:/app/Services/PlaybackService.phpmodified::/config/logging.phpmodified:../routes/web.phpUntracked files:Cuse"git add <files..."to include in what will be committed)/.env.nikilocal/.env.other../WEBHOOK_FILTERING_IMPLEMENTATION.md../app/Console/Commands/Crm/Hubspot/SimulateWebhooksCommand.php../app/Console/Commands/Reports/CreateMockAskJiminnyReportResultCommand.php./ids.txt../raw_sql_query.sql../tests/Unit/Policies/CanAccessAiReportsTest.phpno changes addedto commit (use "git add"and/or "git commit -a")lukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ git pullremote: Enumerating objects: 170,done.remote: Counting objects: 100% (147/147), done.remote: Compressing objects: 100% (35/35), done.remote:Total 170 (delta 116), reused 121 (delta 111), pack-reused 23 (from 1)Receiving objects: 100% (170/170), 55.28 KiB | 1.42 MiB/s,done.Resolving deltas: 100% (119/119), completed with 47 local objects.From github.com:jiminny/app82671d4c13..d4352c6e59JY-20291-datadog-processing-states-> origin/JY-20291-datadog-processing-states20e95bbbc9..360f12adddJY-20541-cleanup-stale-tasks-and-events-> origin/JY-20541-cleanup-stale-tasks-and-events+ 9f8d154791...01c43d2aa6 JY-20553-debug-crm-sync-delays-> origin/JY-20553-debug-crm-sync-delays (forced update)* [new branch]JY-20695-handle-no-raw-transcript-› origin/JY-20695-handle-no-raw-transcriptbe76d8ba82..9b30c928c4JY-9712-change-forever-nudges-to-1-year-expiration -> origin/JY-9712-change-forever-nudges-to-1-year-expiration5bb8fefcba..c04e334173master-> origin/masterUpdating aba9685c0d..08ed383c5berror: Your local changes to the following files would be overwritten by merge:app/Http/Controllers/Webhook/ReportController.phpPlease commit your changes or stash them before you merge.Abortingukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ Uec2-user@ip-10-...• ₴7100% <478Fri 17 Apr 15:37:311₴81ec2-user@ip-10-...O ₴8APP...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileEditFV faVsco.s vProject vv J Crm6 Boo PhpStormFileEditFV faVsco.s vProject vv J Crm6 Bootstrapintegration© ImportActivity Types.© ImportMetadata.php© InitProfiles.php© LayoutModifiedListe© LayoutUpdatedListelC RematchActivityOnC© ResolveOwner.php© SyncOpportunity.phpasyncrotleleacs.on(c syncrrotllecooonun> D DealRisksD ElasticSearchGroupsO ImportC MailboxC NudgesD OpportunitiesPlaybooksPlaylistsM TeamsTranscription> D Users> D Webhook= .gitkeep© ChangeLogContextCorr› D Mailv D ModelsViewNavigateCodeLaravelRefactorToolsWindowHelp#11894 on JY-18909-automated-reports-ask-jiminny k ~© PlaybookRepository.php© ImportActivityTypes.php X© AskJiminnyReportActivityService.php© ReportController.phpC JiminnyDebugCommand.phpAulomaleakeporissendcommand.ono© AutomatedReportsCommand.php© AutomatedReportsRepository.php© CreateHeldActivityEvent.php© AutomatedReportsService.phplrackrrovlderinstalleacventong© CreateActivityLoggedEvent.phpC UserPilotActivityListener.phpC ActivityLogged.php© RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php• AutomatedReportResult.php(C AutomatedReport.phpclass InPortActivitxIypes implements ShouldQueueServices+oe|xv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFA HS_localV &PROD4 console 1 s 634 msV L STAGINGc consoey Docker*** Import the standard Event/Task Type picklist options from the CRM.ououc tuncmion nanoleravoookureateo nevent. voro$playbook = $event->playbook;// Don't run if somehow we already have categories.if ($pLaybook->getCategories()->isNotEmpty)) {return;$crmService = $this->crmResolver->resolveForTeam($playbook->getTeam());$crmService->sygcField(SpLaybook->getActivityField());$values = $crmSetActivityFieldO));if (empty($valu$values = $u servicelntertacepublic function syncFieldlField $field): void>getActivityField());Update the type, label etc. for a field.OutputDid Tiii liminnv.crm_fieldParameters: -leld stleld0 rows vReturns:voidO wuid TSource:ПAФ.name Taoeconurdels servicesCrm/Servicelnterface.php O= custom.log< console LUl= laravel.logA SF [jiminny@localhost]A console [STAGING]Tx: AutovMlaycroundvA HS_local [iminny@localhost]© RequestGenerateAskJiminnyReportJobTest.phpA console [PROD] X577578579580158142 лv 5825835845855865875885895905915925931574595v0Y0597Ma lminny v034 A1 A33 X61 ^SELECT * FROM automated_report_results order by id desc;select * from features;select * from team features where feature id = 40:select * from teams where id = 556;select * from automated_reports where id = 54; # 4fdd41f6-dcF0-30d0-b339-7345381b6044["pdf", "pcSELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')_=select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;select * from automated_report_results WHERE reRont.id = 54;select * from opportunities where id = 7594349;SELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * fromplaybooks where team_id = 711; # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm_fields WHERE id = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;, 0j Tech Day Review - in 1h 23 mARequestGenerateAsk.JiminnvRenort.lobTestv100% C•Fri 17 Apr 15:37:35CascadeAutomated Report Retrfired:Playbook Activity Type+0 .searched Playbookcrealed ana perormed z other queriesNow I have a complete understanding of the flow. Let me summarize what I found:w"oy I Works: Pavoook Createo → AcIVIVoe carecoresFlow1. Playbook creation ( PlaybookController::store() ):• PlaybookRepository::create() creates the playbook, setting activity field id via getDefaulLACT1v1LVrleldyevent (new PlaybookCreated($playbook, $user)) fires%Pavoookcreated Steners al •ueue. Va Shoul dQueue "Atrachlavout — creales ne ceaur crmlavoulCreatePlaybookCreatedEvent — tracks in PlanhatImportActivitylypes — Imports picklist values as calegorles3. ImportActivityTypes::handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syn app/Services/Crm/Salestorce/Service.php ld) - syncs field metadata• Calls $crmService->importPicklistValues($playbook->getActivityField()) - returns savedFieldValue [I Eloquent modelsreratesyatues a calsethies renas/ter.es treste/tinlavheats rontaIterates values and calls $this->repository->create($playbook, $data)ASk anvinine CTbl+ •CodeClaude sonnet 4.0÷ Mai_prompt_description Y!is_selectable Y! sequence TOO was_answered TDis_default TI created_at YID updated_at Yworksoace associated with branch Jy-log0g-automny' has been restored // Rollback // Configure... (3 minutes ago)Winasur leams43:24 UlF-of 4 spaces...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileEditFV faVsco.s vProject vv J Crm6 Boo PhpStormFileEditFV faVsco.s vProject vv J Crm6 Bootstrapintegration© ImportActivity Types.© ImportMetadata.php© InitProfiles.php© LayoutModifiedListe© LayoutUpdatedListelC RematchActivityOnC© ResolveOwner.php© SyncOpportunity.phyasyncrotleleacs.on© SyncProfileOpportun>_ DealRisksD ElasticSearchD GroupsO ImportC MailboxD NudgesD OpportunitiesPlaybooksPlaylistsM TeamsTranscription> D Users> D Webhook= .gitkeep© ChangeLogContextCorr› D Mailv D ModelsViewNavigateCodeLaravelRefactorToolsWindowHelp#11894 on JY-18909-automated-reports-ask-jiminny k ~© PlaybookRepository.php© ImportActivityTypes.php x© ReportController.phpC JiminnyDebugCommand.php© AutomatedReportsCommand.php© AutomatedReportsRepository.php© CreateHeldActivityEvent.phplrackrrovlderinstalleacventongC UserPilotActivityListener.phpC ActivityLogged.php© AskJiminnyReportActivityService.phpAutomatedReportsSendCommand.php© AutomatedReportsService.php© CreateActivityLoggedEvent.php© AutomatedReportsCallbackService.php© RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php• AutomatedReportResult.php(C AutomatedReport.phpclass InPortActivitxIypes implements ShouldQueueServicesv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SF&=s locallV &PROD4 console 1 s 634 msV ASTAGINGc consoey Docker*** Import the standard Event/Task Type picklist options from the CRM.public function handle(PlaybookCreated $event): void$playbook = $event->playbook;// Don't run if somehow we already have categories.if ($playbook->getCategories()->isNotEmpty()) {return;$crmService = $this->crmResolver->resolveForTeam($playbook->getTeam()):$crmService->syhcField($playbook->getActivityField());$values = $crmService->impfrtPickListValues($playbook->getActivityField());if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());OutputDid T0 rows viii liminnv.crm_field valuesGFi # event 226147 *50,0Ix. AUtOOuvid Yplaybook_id TDDLQПOAФ! type T.name T= custom.log< console LUl= laravel.logA SF [jiminny@localhost]A console [STAGING]Tx: AutovMlaycroundvA HS_local [iminny@localhost]© RequestGenerateAskJiminnyReportJobTest.phpA console [PROD] X577578579580158142 лv5845835845855865875885895905915925931574595v0Y0597ma iminny v034 A1 A33 Х61 ^SELECT * FROM automated_report_results order by id desc;select * from features;select * from team features where feature id = 40:select * from teams where id = 556;select * from automated_reports where id = 54; # 4fdd41f6-dcF0-30d0-b339-7345381b6044["pdf", "pcSELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')_=select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;select * from automated_report_results WHERE reRont.id = 54;select * from opportunities where id = 7594349;SELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * fromplaybooks where team_id = 711; # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm_fields WHERE id = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;, 0j Tech Day Review - in 1h 23 mARequestGenerateAsk.JiminnvRenort.lobTestv100% C•Fri 17 Apr 15:37:37CascadeAutomated Report Retrfired:Playbook Activity Type+0 •searched Playbookcrealed ana perormed z other queriesNow I have a complete understanding of the flow. Let me summarize what I found:w"oy I Works: Pavoook Createo → ACIVIVoe carecorlesFlow1. Playbook creation ( PlaybookController::store() ):• PlaybookRepository::create() creates the playbook, setting activity field id via getDefaulLACTIV1LV-leLdevent (new PlaybookCreated($playbook, $user)) fires%Pavoookcreated Steners al •ueue. Va Shoul dQueue "Atrachlavout — creales ne ceaur crmlavoulCreatePlaybookCreatedEvent — tracks in PlanhatImportActivitylypes — Imports picklist values as calegorles3. ImportActivityTypes::handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syr app/Services/Crm/Salestorce/Service.php ld) - syncs field metadata• Calls $crmService->importPicklistValues($playbook->getActivityField()) - returns savedFieldValue [I Eloquent modelsreratesyatues a calsethies renas/ter.es treste/tinlavheats rontaIterates values and calls $this->repository->create($playbook, $data)ASk anvinine CTbl+ •CodeClauce sonnet 4.0÷ Mai_prompt_description Y!is_selectable Y! sequence TOO was_answered TDis_default TI created_at YID updated_at Yworksoace associated with branch Jy-los0g-automared-repors-ask-iminny' has been restored // Rollback // Configure... (3 minutes ago)Winasur leams43:24 UlF-of 4 spaces...
|
NULL
|
NULL
|
NULL
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpladl• Tech Day Review - in 1h 23 mAAPP (-zsh)X4-zshDOCKER• ₴1DEV (docker)APP (-zsh)X3-zsh• ₴5* Review screenp...• 286Changes notstagedfor commit:(use"git add ‹file>..to update what will becommitted)(use"git restore<files..." to discard changesin working directory)modified:./.env.localmodified:./app/Console/Commands/JiminnyDebugCommand.phpmodified:../app/Http/Controllers/API/ActivityController.phpmodified:../app/Http/Controllers/Webhook/ReportController.phpmodified::./app/Jobs/Team/SyncToIntercom.phpmodified:/app/Services/PlaybackService.phpmodified::/config/logging.phpmodified:../routes/web.phpUntracked files:Cuse"git add <files..."to include in what will be committed)'.env.nikilocal/.env.other../WEBHOOK_FILTERING_IMPLEMENTATION.md../app/Console/Commands/Crm/Hubspot/SimulateWebhooksCommand.php../app/Console/Commands/Reports/CreateMockAskJiminnyReportResultCommand.php./ids.txt../raw_sql_query.sql../tests/Unit/Policies/CanAccessAiReportsTest.phpno changes addedto commit (use "git add"and/or "git commit -a")lukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ git pullremote: Enumerating objects: 170,done.remote: Counting objects: 100% (147/147), done.remote: Compressing objects: 100% (35/35), done.remote:Total 170 (delta 116), reused 121 (delta 111), pack-reused 23 (from 1)Receiving objects: 100% (170/170), 55.28 KiB | 1.42 MiB/s,done.Resolving deltas: 100% (119/119), completed with 47 local objects.From github.com:jiminny/app82671d4c13..d4352c6e59JY-20291-datadog-processing-states-> origin/JY-20291-datadog-processing-states20e95bbbc9..360f12adddJY-20541-cleanup-stale-tasks-and-events-> origin/JY-20541-cleanup-stale-tasks-and-events+ 9f8d154791...01c43d2aa6 JY-20553-debug-crm-sync-delays-> origin/JY-20553-debug-crm-sync-delays (forced update)* [new branch]JY-20695-handle-no-raw-transcript-› origin/JY-20695-handle-no-raw-transcriptbe76d8ba82..9b30c928c4JY-9712-change-forever-nudges-to-1-year-expiration -> origin/JY-9712-change-forever-nudges-to-1-year-expiration5bb8fefcba..c04e334173master-> origin/masterUpdating aba9685c0d..08ed383c5berror: Your local changes to the following files would be overwritten by merge:app/Http/Controllers/Webhook/ReportController.phpPlease commit your changes or stash them before you merge.Abortingukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ Uec2-user@ip-10-...• 87100% <478Fri 17 Apr 15:37:401₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileEditFV faVsco.s vProject vv J Crm6 Boo PhpStormFileEditFV faVsco.s vProject vv J Crm6 Bootstrapintegration© ImportActivity Types.© ImportMetadata.php© InitProfiles.php© LayoutModifiedListe© LayoutUpdatedListelC RematchActivityOnC© ResolveOwner.php© SyncOpportunity.phyasyncrotleleacs.on© SyncProfileOpportun> D DealRisksD ElasticSearchD GroupsO ImportC MailboxD NudgesD OpportunitiesPlaybooksPlaylistsM TeamsTranscription> D Users> D Webhook= .gitkeep© ChangeLogContextCorr› D Mailv D ModelsViewNavigateCodeLaravelRefactorToolsWindowHelp( #11894 on JY-18909-automated-reports-ask-jiminny k ~© PlaybookRepository.php© ImportActivityTypes.php X© AskJiminnyReportActivityService.php© ReportController.phpC JiminnyDebugCommand.phpAutomatedReportsSendCommand.php© AutomatedReportsCommand.php© AutomatedReportsRepository.php© AutomatedReportsService.php© CreateHeldActivityEvent.phplrackrrovlderinstalleacventong© CreateActivityLoggedEvent.phpC UserPilotActivityListener.phpC ActivityLogged.php© RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php• AutomatedReportResult.php(C AutomatedReport.phpclass InPortActivitxIypes implements ShouldQueueServicesv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFdns locallV &PROD4 console 1 s 634 msV ASTAGINGc consoey Docker*** Import the standard Event/Task Type picklist options from the CRM.public function handle(PlaybookCreated $event): void$playbook = $event->playbook;// Don't run if somehow we already have categories.if ($pLaybook->getCategories()->isNotEmpty)) {return;$crmService = $this->crmResolver->resolveForTeam($playbook->getTeam()):$crmService->syncField($playbook->getActivityField());$values = $crmService->importPicklistValues($playbook->getActivityField());if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());OutputDid T0 rows viii liminnv.crm field valuesGFi # event 226147 *50,0Ix. AUtOwuid Y÷ playbook_id TDDLQПOAФO type Y.name T= custom.log< console LUl= laravel.logA console [STAGING]A SF [jiminny@localhost]A HS_local [iminny@localhost]© RequestGenerateAskJiminnyReportJobTest.phpA console [PROD] X577578579580158142 л× 5825835845855865875885895905915921575574595vIx. AUto vMlaycroundvMa lminny v034 A1 A33 X61 ^SELECT * FROM automated_report_results order by id desc;select * from features;select * from team_features where feature_id = 40;select * from teams where id = 556;select * from automated_reports where id = 54; # 4fdd41f6-dcF0-30d0-b339-7345381b6044["pdf", "pcSELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')_=select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;select * from automated_report_results WHERE reRont.id = 54;select * from opportunities where id = 7594349;597SELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * fromplaybooks where team_id = 711; # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm_fieldseVHERE id = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;÷ Mai_prompt_description Y!is_selectable Y! sequence TOO was_answered T, 0j Tech Day Review - in 1h 23 mARequestGenerateAsk.JiminnvRenort.lobTestv100% C•Fri 17 Apr 15:37:40CascadeAutomated Report Retrfired:Playbook Activity Type+0 .searched Playbookcrealed ana perormed z other queriesNow I have a complete understanding of the flow. Let me summarize what I found:w"oy I Works: Pavoook Createo → AcIVIVoe carecoresFlow1. Playbook creation ( PlaybookController::store() ):• PlaybookRepository::create() creates the playbook, setting activity field id via getDefaulLACTIV1LV-leLdevent (new PlaybookCreated($playbook, $user)) fires%Pavoookcreated Steners al •ueue. Va Shoul dQueue "Atrachlavout — creales ne ceaur crmlavoulCreatePlaybookCreatedEvent — tracks in PlanhatImportActivitylypes — Imports picklist values as calegorles3. ImportActivityTypes::handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syn app/Services/Crm/Salestorce/Service.php ld) - syncs field metadata• Calls $crmService->importPicklistValues($playbook->getActivityField()) - returns savedFieldValue [I Eloquent modelsreratesyatues a calsethies renas/ter.es treste/tinlavheats rontaIterates values and calls $this->repository->create($playbook, $data)ASk anvinine CTbl+ •CodeClaude sonnet 4.0Dis_default TI created_at YID updated_at Yworksoace associated with branch Jy-loy0g-automaled-repnny' has been restored // Rollback // Configure... (3 minutes ago)winasur leams40:40 UlF-df 4 spaces...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileEditFV faVsco.s vProject vO dependency PhpStormFileEditFV faVsco.s vProject vO dependency-checker.jsonO dev.json= ids.txt=infection.json.distM+INS ALL.moIM+ INTERNAL_ WEBHOOK SETUPjiminny_storageM+ licenses.mdM MakefileO package-lock.json= phpstan.neon.dist= phpstan-baseline.neon<phpunit.xmlTe raw_sql_query.sqlM-R-ADME. molộ sonar-project.properties= test.py<> Untitled Diagram.xmlIs vetur.config.jsM+ WEBHOOK_FILTERING_IMPLE› Ih External LibrariesE® Scratches and Consoles~ D Database Consoles> AEUjiminny@localhostV &PRODA console [PROD]A console_1 [PROD]2 DI [PROD]ViewNavigateCodeLaravelRefactorToolsWindowHelp#11894 on JY-18909-automated-reports-ask-jiminny k•© PlaybookRepository.php© ImportActivityTypes.php x© ReportController.phpC JiminnyDebugCommand.php© AutomatedReportsCommand.php© AutomatedReportsRepository.php© CreateHeldActivityEvent.phplrackrrovlderinstalleacventongC UserPilotActivityListener.phpC ActivityLogged.php© AskJiminnyReportActivityService.phpAutomatedkeportssendcommana.pnp© AutomatedReportsService.php© CreateActivityLoggedEvent.phpC AutomatedReportsCallbackService.php© RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php• AutomatedReportResult.php(C AutomatedReport.phpclass ImportActivitxIypes implements ShouldQueue*** Import the standard Event/Task Type picklist options from the CRM.ououc tuncmion nanoleravoookureateo nevent. voro$playbook = $event->playbook;// Don't run if somehow we already have categories.if ($playbook->getCategories()->isNotEmpty()) {return;$crmService = $this->crmResolver->resolveForTeam($playbook->getTeam());$crmService->syncField($playbook->getActivityField());$values = $crmService->importPicklistValues($playbook->getActivityField());4748if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());Servicesv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFA HS_localV &PROD4 console 1 s 634 msV L STAGINGc consoey DockerOutputDid T0 rowsviii liminnv.crm field valuesGFi # event 226147 *50,0Ix. AUtOwuid Y÷ playbook_id TDDLGQGEAĐO type Y.name T= custom.log= laravel.log< console LUlconsole SlAGiNGA SF [jiminny@localhost]A HS_local [iminny@localhost]C RequestGenerateAskJiminnyReportJobTest.phpA console [PROD] XIx. Aulo vMlaycroundvMa lminny v034 A1 A33 X61 ^5775785795801581584583584585586587588589590591592157511574oYsV596597SELECT * FROM automated_report_results order by id desc;select * from features;select * from team_features where feature_id = 40;select * from teams where id = 556.select * from automated_reports where id = 54; # 4fdd41f6-dcF0-30d0-b339-7345381b6044["pdf", "pcSELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')_=select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;select * from automated_report_results WHERE reRont.id = 54;select * from opportunities where id = 7594349;SELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * fromplavbooks where team id = 711: # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROMcrm fields WHERE id = 226147;SELECT * FROM crm_fietü_values WHERE crm_field_id = 226147;Data Source: PRODSchema: jiminnyTable: crm_field_values-- auto-generated definitioncreate cable cri tlela vacuesWai_prompt_description Tidvvidint unsigned,onnary lo)nuLl,crm_field_id int unsignedvaluevarchar (255)not nur?,Laoeuvarchar 2a5)nuLl,sequenceint unsigned default 0 not null,is_defaulttinyint (1)default 0 not null,Created antlmestampupudLeu_altimestampnull,null,constraint cri_tlela_values tlela_tatorelghforeign key (crm_f1eld_1d) references crm_fields (1d)engine = InnoDBcollate = utf8mb4_unicode_cirow Tormat = UYNAMiU,j Tech Day Review - in 1h 23 mARequestGenerateAsk.JiminnvRenort.lobTestv100% C•Fri 17 Apr 15:37:41CascadeAutomated Report Retrfired:Playbook Activity Typesearched Playbookcrealed ana perormed z other queriesNow I have a complete understanding of the flow. Let me summarize what I found:w"oy I Works: Pavoook Createo → AcIVIVoe carecoresFlow1. Playbook creation ( PlaybookController::store() ):• PlaybookRepository::create() creates the playbook, setting activity field id via getDefaulLACT1v1LVrleldyevent (new PlaybookCreated($playbook, $user)) fires%Pavoookcreated Steners al •ueue. Va Shoul dQueue "Atrachlavout — creales ne ceaur crmlavoulCreatePlaybookCreatedEvent — tracks in PlanhatImportActivitylypes — Imports picklist values as calegorles3. ImportActivityTypes::handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syn app/Services/Crm/Salesforce/Service.php ld ( )) - syncs field metadata• Calls $crmService->importPicklistValues($playbook->getActivityField()) - returns savedFieldValue [I Eloquent modelsreratesyatues a calsethies renas/ter.es treste/tinlavheats rontaIterates values and calls $this->repository->create($playbook, $data)ASk anvinine CTbl+ •CodeClaude Sonnet 4.0Dis_default TI created_at YID updated_at Yworksoace associated with branch Jy-loy0g-automaled-repnny' has been restored // Rollback // Configure... (3 minutes ago)Winasun leams59b.19uir-o4 spaces...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileFV faVsco.s vEditViewToolsWindowHelpPr PhpStormFileFV faVsco.s vEditViewToolsWindowHelpProject vO dependency-checker.jsonO dev.json= ids.txt=infection.json.distM+INS ALL.moINavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-jiminny k ~© PlaybookRepository.php© ImportActivityTypes.php x© AskJiminnyReportActivityService.php© ReportController.phpC JiminnyDebugCommand.phpAulomaleakeporissendcommand.ono© AutomatedReportsCommand.php© CreateHeldActivityEvent.phpC UserPilotActivityListener.php© AutomatedReportsRepository.php© AutomatedReportsService.phplrackrrovlderinstalleacventong© CreateActivityLoggedEvent.phpC ActivityLogged.phpM+ INTERNAL_ WEBHOOK SETUPjiminny_storageM+ licenses.mdM MakefileO package-lock.json© RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php• AutomatedReportResult.php(C AutomatedReport.phpclass InPortActivitxIypes implements ShouldQueue**= phpstan.neon.dist= phpstan-baseline.neon* Import the standard Event/Task Type picklist options from the CRM.<phpunit.xmlTe raw_sql_query.sqlpublic function handle(PlaybookCreated $event): voidM-R-ADME. molộ sonar-project.properties$playbook = $event->playbook;= test.py<> Untitled Diagram.xmlus vetur.config.isM+ WEBHOOK_FILTERING_IMPLE// Don't run if somehow we already have categories.if ($playbook->getCategories()->isNotEmpty()) {return;› Ih External LibrariesE® Scratches and Consoles~ D Database Consoles> AEU$crmService = $this->crmResolver->resolveForTeam($playbook->getTeam()):$crmService->syncField($playbook->getActivityField());577578579580158142 лv584583584585586587588589590591592157511574oYsV596597jiminny@localhostV &PROD$values = $crmService->importPicklistValues($playbook->getActivityField());A console [PROD]A console_1 [PROD]2 DI [PROD]4748if (empty($values)) {$values = $this->fetchActivity{¡eldVaLues($pLaybook->getActivityField());Servicesv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFdns locallV &PROD4 console 1 s 634 msV ASTAGINGc consoey Docker= custom.log< console LUl= laravel.logA console [STAGING]A SF [jiminny@localhost]A HS_local [iminny@localhost]A console [PROD] X© RequestGenerateAskJiminnyReportJobTest.phpIx. Aulo vMlaycroundvMa lminny v034 A1 A33 X61 ^SELECT * FROM automated_report_results order by id desc;select * from features;select * from team_features where feature_id = 40;select * from teams where id = 556;select * from automated_reports where id = 54; # 4fdd41f6-dcF0-30d0-b339-7345381b6044["pdf", "pcSELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')_=select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;select * from automated_report_results WHERE reRont.id = 54;select * from opportunities where id = 7594349;SELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * fromplaybooks where team_id = 711; # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm fields WHERE id = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;OutputDid T0 rows vf jiminny.crm_field_values50,0wuid YGFi # event 226147 *Ix. AUtODDL÷ playbook_id TGQGEAĐ! type T.name T÷ Mai_prompt_description Y!is_selectable Y! sequence TOO was_answered T, 0j Tech Day Review - in 1h 23 mARequestGenerateAsk.JiminnvRenort.lobTestv100% C•Fri 17 Apr 15:37:44CascadeAutomated Report Retrfired:Playbook Activity Type+D..searched Playbookcrealed ana perormed z other queriesNow I have a complete understanding of the flow. Let me summarize what I found:w"oy I Works: Pavoook Createo → ACIVIVoe carecorlesFlow1. Playbook creation ( PlaybookController::store() ):• PlaybookRepository::create() creates the playbook, setting activity field id via getDefaulLACT1v1LVrleldyevent (new PlaybookCreated($playbook, $user)) fires%Pavoookcreated Steners al •ueue. Va Shoul dQueue "Atrachlavout — creales ne ceaur crmlavoulCreatePlaybookCreatedEvent — tracks in PlanhatImportActivitylypes — Imports picklist values as calegorles3. ImportActivityTypes::handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syr app/Services/Crm/Salestorce/Service.php ld) - syncs field metadata• Calls $crmService->importPicklistValues($playbook->getActivityField()) - returns savedFieldValue [I Eloquent modelsreratesyatues a calsethies renas/ter.es treste/tinlavheats rontaIterates values and calls $this->repository->create($playbook, $data)ASk anvinine CTbl+ & COO€Claude Sonnet 4.0Dis_default TI created_at YID updated_at Yworksoace associated with branch Jy-los0g-automared-repors-ask-iminny' has been restored // Rollback // Configure... (3 minutes ago)Winasun leams59b.19uir-o4 spaces...
|
NULL
|
NULL
|
NULL
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpladl• Tech Day Review - in 1h 23 mAAPP (-zsh)X4-zshDOCKER• ₴1DEV (docker)APP (-zsh)X3-zsh• ₴5* Review screenp...• 286Changes notstagedfor commit:(use"git add ‹file>..to update what will becommitted)(use"git restore<files..." to discard changesin working directory)modified:./.env.localmodified:./app/Console/Commands/JiminnyDebugCommand.phpmodified:../app/Http/Controllers/API/ActivityController.phpmodified:../app/Http/Controllers/Webhook/ReportController.phpmodified::./app/Jobs/Team/SyncToIntercom.phpmodified:/app/Services/PlaybackService.phpmodified::/config/logging.phpmodified:../routes/web.phpUntracked files:Cuse"git add <files..."to include in what will be committed)'.env.nikilocal/.env.other../WEBHOOK_FILTERING_IMPLEMENTATION.md../app/Console/Commands/Crm/Hubspot/SimulateWebhooksCommand.php../app/Console/Commands/Reports/CreateMockAskJiminnyReportResultCommand.php./ids.txt../raw_sql_query.sql../tests/Unit/Policies/CanAccessAiReportsTest.phpno changes addedto commit (use "git add"and/or "git commit -a")lukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ git pullremote: Enumerating objects: 170,done.remote: Counting objects: 100% (147/147), done.remote: Compressing objects: 100% (35/35), done.remote:Total 170 (delta 116), reused 121 (delta 111), pack-reused 23 (from 1)Receiving objects: 100% (170/170), 55.28 KiB | 1.42 MiB/s,done.Resolving deltas: 100% (119/119), completed with 47 local objects.From github.com:jiminny/app82671d4c13..d4352c6e59JY-20291-datadog-processing-states-> origin/JY-20291-datadog-processing-states20e95bbbc9..360f12adddJY-20541-cleanup-stale-tasks-and-events-> origin/JY-20541-cleanup-stale-tasks-and-events+ 9f8d154791...01c43d2aa6 JY-20553-debug-crm-sync-delays-> origin/JY-20553-debug-crm-sync-delays (forced update)* [new branch]JY-20695-handle-no-raw-transcript-› origin/JY-20695-handle-no-raw-transcriptbe76d8ba82..9b30c928c4JY-9712-change-forever-nudges-to-1-year-expiration -> origin/JY-9712-change-forever-nudges-to-1-year-expiration5bb8fefcba..c04e334173master-> origin/masterUpdating aba9685c0d..08ed383c5berror: Your local changes to the following files would be overwritten by merge:app/Http/Controllers/Webhook/ReportController.phpPlease commit your changes or stash them before you merge.Abortingukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ Uec2-user@ip-10-...• 87100% <478Fri 17 Apr 15:37:461₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileEditViewToolsWindowHelpFV faVsco.s vPr PhpStormFileEditViewToolsWindowHelpFV faVsco.s vProject vO dependency-checker.jsonO dev.json= lds.txi=infection.json.distM+INS ALL.mdNavigateCodeLaravelRefactor( #11894 on JY-18909-automated-reports-ask-jiminny k v© PlaybookRepository.php© ImportActivityTypes.php x© AskJiminnyReportActivityService.php© ReportController.phpC JiminnyDebugCommand.phpAulomaleakeporissendcommand.ono© AutomatedReportsCommand.php© CreateHeldActivityEvent.phpC UserPilotActivityListener.php© AutomatedReportsRepository.phplrackrrovlderinstalleacventongC ActivityLogged.php© AutomatedReportsService.php© CreateActivityLoggedEvent.php© AutomatedReportsCallbackService.phpM+ INTERNAL_ WEBHOOK SETUPjiminny_storageM+ licenses.mdM MakefileO package-lock.json= phpstan.neon.dist© RequestGenerateAsKJiminnyReportJob.php© RequestGenerateReportJob.php• AutomatedReportResult.php© AutomatedReport.phpclass IuectACttkitKTUREE implements shouldqueue* Import the standard Event/Task Type picklist options from the CRM.= phpstan-baseline.neon<phpunit.xmlpublic function handle(PlaybookCreated $event): voidTe raw_sql_query.sqlM-R-ADME. mol$playbook = Sevent->playbook;ộ sonar-project.properties= test.py<> Untitled Diagram.xmlus vetur.config.is// Don't run if somehow we already have categories.if ($playbook->getCategories()->isNotEmpty()) {returnrM+ WEBHOOK_FILTERING_IMPLE› Ih External LibrariesE® Scratches and Consoles~ D Database Consoles$crmService = $this->crmResolver->resolveForTeam($pLaybook->getTeam());$crmService->syncField($playbook->getActivityField();577578579580581A2 л v 5825835845855865875885895905915925931574oysV596> AEU> A jiminny@localhost$values = $crmService->importPicklistValues($playbook->getActivityField());V &PRODA console [PROD]A console_1 [PROD]if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());2 DI [PROD]-4849= custom.log= laravel.logA SF [jiminny@localhost]< console LUlconsole SIAGINGA HS_local [iminny@localhost]A console [PROD] X© RequestGenerateAskJiminnyReportJobTest.phpIx. AUto vMlaycroundvMa lminny v034 A1 A33 X61 ^SELECT * FROM automated_report_results order by id desc;select * from features;select * from team_features where feature_id = 40;select * from teams where id = 556;select * from automated_reports where id = 54; # 4fdd41f6-dcF0-30d0-b339-7345381b6044["pdf", "pcSELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')_=select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;select * from automated_report_results WHERE reRont.id = 54;select * from opportunities where id = 7594349;SELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * fromplavbooks where team id = 711: # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm fields WHERE id = 226147;SELECT * FROM crm_field-values HERE crm_field_id = 226147;Servicesv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFA HS_localV &PROD4 console 1 s 634 msV L STAGINGc consoey DockerOutputDid T0 rowsviii liminnv.crm_field valuesGFi # event 226147 X50,0+O wvid TIx. AUtO÷ playbook_id TDDLQПOAФO type Y.name T÷ Mai_prompt_description Y!is_selectable Y! sequence TOO was_answered T, 0j Tech Day Review - in 1h 23 mARequestGenerateAsk.JiminnvRenort.lobTestv100% C•Fri 17 Apr 15:37:46CascadeAutomated Report Retrfired:Playbook Activity Type+D..searched Playbookcrealed ana perormed z other queriesNow I have a complete understanding of the flow. Let me summarize what I found:w"oy I Works: Pavoook Createo → AcIVIVoe carecoresFlow1. Playbook creation ( PlaybookController::store() ):• PlaybookRepository::create() creates the playbook, setting activity field id via getDefaulLACTIV1LV-leLdevent (new PlaybookCreated($playbook, $user)) fires%Pavoookcreated Steners al •ueue. Va Shoul dQueue "Atrachlavout — creales ne ceaur crmlavoulCreatePlaybookCreatedEvent — tracks in PlanhatImportActivitylypes — Imports picklist values as calegorles3. ImportActivityTypes::handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syn app/Services/Crm/Salestorce/Service.php ld) - syncs field metadata• Calls $crmService->importPicklistValues($playbook->getActivityField()) - returns savedFieldValue [I Eloquent modelsreratesyatues a calsethies renas/ter.es treste/tinlavheats rontaIterates values and calls $this->repository->create($playbook, $data)ASk anvinine CTbl+ & COO€Claude Sonnet 4.0Dis_default TI created_at YID updated_at Yworksoace associated with branch Jy-log0g-automaled-nny nas been restorea // kollback // contigure... (s minutes ago)Winasun leams59b.19uir-o4 spaces...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileEditFV faVsco.s vProject vO dependency PhpStormFileEditFV faVsco.s vProject vO dependency-checker.jsonO dev.json= lds.txi=infection.json.distM+INS ALL.mdM+ INTERNAL_ WEBHOOK SETUPjiminny_storageM+ licenses.mdM MakefileO package-lock.json= phpstan.neon.dist= phpstan-baseline.neon<phpunit.xmlTe raw_sql_query.sqlM-R-ADME. molộ sonar-project.properties= test.py<> Untitled Diagram.xmlus vetur.config.isM+ WEBHOOK_FILTERING_IMPLE› Ih External LibrariesE® Scratches and Consoles~ D Database Consoles> AEU> A jiminny@localhostV &PRODA console [PROD]A console_1 [PROD]2 DI [PROD]ViewNavigateCodeLaravelRefactorToolsWindowHelp#11894 on JY-18909-automated-reports-ask-jiminny k ~© PlaybookRepository.php© ImportActivityTypes.php x© AskJiminnyReportActivityService.php© ReportController.phpC JiminnyDebugCommand.phpAulomaleakeporissendcommand.ono© AutomatedReportsCommand.php© AutomatedReportsRepository.php© CreateHeldActivityEvent.php© AutomatedReportsService.phplrackrrovlderinstalleacventong© CreateActivityLoggedEvent.phpC UserPilotActivityListener.phpC ActivityLogged.php© RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php• AutomatedReportResult.php© AutomatedReport.phpclass IuectACttkitKTUREE implements shouldqueue* Import the standard Event/Task Type picklist options from the CRM.public function handle(PlaybookCreated $event): void$playbook = Sevent->playbook;// Don't run if somehow we already have categories.if ($playbook->getCategories()->isNotEmpty()) {returnr$crmService = $this->crmResolver->resolveForTeam($pLaybook->getTeam());$crmService->syncField($playbook->getActivityField();$values = $crmService->importPicklistValues($playbook->getActivityField());if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField();-4849Servicesv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFA HS_localV &PROD4 console 1 s 634 msV L STAGINGc consoey DockerOutputDid T0 rowsviii liminnv.crm_field valuesGFi # event 226147 X50,0+O wvid TIx. AUtO÷ playbook_id TDDLQGAФO type Y.name T= custom.log= laravel.log< console EUiconsole SlAGiNGA SF [jiminny@localhost]A HS_local [iminny@localhost]C RequestGenerateAskJiminnyReportJobTest.phpA console [PROD] XIx. Aulo vMlaycroundvMa lminny v034 A1 A33 X61 ^5775785795801581v58458358458558658758858959059159215751574oYsVSELECT * FROM automated_report_results order by id desc;select * from features;select * from team_features where feature_id = 40;select * from teams where id = 556.select * from automated_reports where id = 54; # 4fdd41f6-dcF0-30d0-b339-7345381b6044["pdf", "pcSELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')_=select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;select * from automated_report_results WHERE reRont.id = 54;select * from opportunities where id = 7594349;597SELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] x TOIplavbooks where team id = 711: # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm_fields WHERE id = 226147;SELECT * FROM crm_fiegd_values WHERE crm_field_id = 226147;Data Source: PRODSchema: jiminnyTable: crm_field_values-- auto-generated definitioncreate cable cri tlela vacues÷ Mai_prompt_descriptionidint unsigned,UULOIonnary lo)crm_field_id int unsignednull,not null,valuevarchar (255)Laoeuvarchar 255)nuuL.sequenceint unsigned default o not null,is_defaultCinyInc1)default 0 not null,Created aumumestalitoupdated_attimestampnull,constraint cri_tlela_values-tlelata_torelgnforeign key (crm_f1eld_1d) references crm_fields (1d)ed Tengine = InnoDBcollate = utf8mb4_unicode_cirow Tormat = UYNAMiU,, 0j Tech Day Review - in 1h 23 mARequestGenerateAsk.JiminnvRenort.lobTestv100% C•Fri 17 Apr 15:37:47CascadeAutomated Report Retrfired:Playbook Activity Typesearched Playbookcrealed ana perormed z other queriesNow I have a complete understanding of the flow. Let me summarize what I found:w"oy I Works: Pavoook Createo → AcIVIVoe carecoresFlow1. Playbook creation ( PlaybookController::store() ):• PlaybookRepository::create() creates the playbook, setting activity field id via getDefaulLACTIV1LV-leLdevent (new PlaybookCreated($playbook, $user)) fires%Plavoookcreated Steners al •ueueo Va Shoul doueue ).Atrachlavout — creales ne ceraur crmlavourCreatePlaybookCreatedEvent — tracks in PlanhatImportActivitylypes — Imports picklist values as calegorles3. ImportActivityTypes::handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syn app/Services/Crm/Salesforce/Service.php ld ( )) - syncs field metadata• Calls $crmService->importPicklistValues($playbook->getActivityField()) - returns savedFieldValue [I Eloquent modelsreratesyatues a calsethies renas/ter.es treste/tinlavheats rontaIterates values and calls $this->repository->create($playbook, $data)ASk anvinine CTbl" COdEClaude Sonnet 4.0Dis_default TI created_at YID updated_at Yworksoace associated with branch Jy-loy0g-automated-nny nas been restorea // kollback // contigure... (3 minutes ago)Winasun leamsb9/.2zuir-o4 spaces...
|
NULL
|
NULL
|
NULL
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpladl• Tech Day Review - in 1h 23 mAAPP (-zsh)X4-zshDOCKER• ₴1DEV (docker)APP (-zsh)X3-zsh• ₴5* Review screenp...• 286Changes notstagedfor commit:(use"git add ‹file>..to update what will becommitted)(use"git restore<files..." to discard changesin working directory)modified:./.env.localmodified:./app/Console/Commands/JiminnyDebugCommand.phpmodified:../app/Http/Controllers/API/ActivityController.phpmodified:../app/Http/Controllers/Webhook/ReportController.phpmodified::./app/Jobs/Team/SyncToIntercom.phpmodified:/app/Services/PlaybackService.phpmodified::/config/logging.phpmodified:../routes/web.phpUntracked files:Cuse"git add <files..."to include in what will be committed)'.env.nikilocal/.env.other../WEBHOOK_FILTERING_IMPLEMENTATION.md../app/Console/Commands/Crm/Hubspot/SimulateWebhooksCommand.php../app/Console/Commands/Reports/CreateMockAskJiminnyReportResultCommand.php./ids.txt../raw_sql_query.sql../tests/Unit/Policies/CanAccessAiReportsTest.phpno changes addedto commit (use "git add"and/or "git commit -a")lukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ git pullremote: Enumerating objects: 170,done.remote: Counting objects: 100% (147/147), done.remote: Compressing objects: 100% (35/35), done.remote:Total 170 (delta 116), reused 121 (delta 111), pack-reused 23 (from 1)Receiving objects: 100% (170/170), 55.28 KiB | 1.42 MiB/s,done.Resolving deltas: 100% (119/119), completed with 47 local objects.From github.com:jiminny/app82671d4c13..d4352c6e59JY-20291-datadog-processing-states-> origin/JY-20291-datadog-processing-states20e95bbbc9..360f12adddJY-20541-cleanup-stale-tasks-and-events-> origin/JY-20541-cleanup-stale-tasks-and-events+ 9f8d154791...01c43d2aa6 JY-20553-debug-crm-sync-delays-> origin/JY-20553-debug-crm-sync-delays (forced update)* [new branch]JY-20695-handle-no-raw-transcript-› origin/JY-20695-handle-no-raw-transcriptbe76d8ba82..9b30c928c4JY-9712-change-forever-nudges-to-1-year-expiration -> origin/JY-9712-change-forever-nudges-to-1-year-expiration5bb8fefcba..c04e334173master-> origin/masterUpdating aba9685c0d..08ed383c5berror: Your local changes to the following files would be overwritten by merge:app/Http/Controllers/Webhook/ReportController.phpPlease commit your changes or stash them before you merge.Abortingukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ Uec2-user@ip-10-...• 87100% <478Fri 17 Apr 15:37:481₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileFV faVsco.s vEditViewToolsWindowHelpPr PhpStormFileFV faVsco.s vEditViewToolsWindowHelpProject vO dependency-checker.jsonO dev.json= lds.txi=infection.json.distM+INS ALL.mdNavigateCodeLaravelRefactor( #11894 on JY-18909-automated-reports-ask-jiminny k ~© PlaybookRepository.php© ImportActivityTypes.php x© AskJiminnyReportActivityService.php© ReportController.phpC JiminnyDebugCommand.phpAulomaleakeporissendcommand.ono© AutomatedReportsCommand.php© CreateHeldActivityEvent.phpC UserPilotActivityListener.php© AutomatedReportsRepository.phplrackrrovlderinstalleacventongC ActivityLogged.php© AutomatedReportsService.php© CreateActivityLoggedEvent.php© AutomatedReportsCallbackService.phpM+ INTERNAL_ WEBHOOK SETUPjiminny_storageM+ licenses.mdM MakefileO package-lock.json= phpstan.neon.dist© RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php• AutomatedReportResult.php© AutomatedReport.phpclass IuectACttkitKTUREE implements shouldqueue* Import the standard Event/Task Type picklist options from the CRM.= phpstan-baseline.neon<phpunit.xmlpublic function handle(PlaybookCreated $event): voidTe raw_sql_query.sqlM-R-ADME. mol$playbook = Sevent->playbook;ộ sonar-project.properties= test.py<> Untitled Diagram.xmlus vetur.config.is// Don't run if somehow we already have categories.if ($playbook->getCategories()->isNotEmpty()) {returnrM+ WEBHOOK_FILTERING_IMPLE› Ih External LibrariesE® Scratches and Consoles577578579580581A2 л v 58258358458558658758858959059159215751574oYsV~ D Database Consoles$crmService = $this->crmResolver->resolveForTeam($pLaybook->getTeam()):$crmService->syncField($playbook->getActivityField();> AEU597> A jiminny@localhost$values = $crmService->importPicklistValues($playbook->getActivityField());V &PRODA console [PROD]A console_1 [PROD]if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField();2 DI [PROD]-4849= custom.log< console LUl= laravel.logA console [STAGING]A SF [jiminny@localhost]A HS_local [iminny@localhost]A console [PROD] X© RequestGenerateAskJiminnyReportJobTest.phpIx. AUto vMlaycroundvMa lminny v034 A1 A33 X61 ^SELECT * FROM automated_report_results order by id desc;select * from features;select * from team_features where feature_id = 40;select * from teams where id = 556;select * from automated_reports where id = 54; # 4fdd41f6-dcF0-30d0-b339-7345381b6044["pdf", "pcSELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')_=select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;select * from automated_report_results WHERE reRont.id = 54;select * from opportunities where id = 7594349;SELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * fromplaybooks where team_id = 711; # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm_fields WHERE id = 226147;SELECT * FROM crm_fieha Kalues WHERE crm_field_id = 226147;Servicesv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFA HS_localV &PROD4 console 1 s 634 msV L STAGINGc consoey DockerOutputDid T0 rowsviii liminnv.crm field valuesGFi # event 226147 X50,0+O wvid TIx. AUtO÷ playbook_id TDDLQПOAФO type Y.name T÷ Mai_prompt_description Y!is_selectable Y! sequence TOO was_answered T, 0j Tech Day Review - in 1h 23 mARequestGenerateAsk.JiminnvRenort.lobTestv100% C•Fri 17 Apr 15:37:48CascadeAutomated Report Retrfired:Playbook Activity Type+D..searched Playbookcrealed ana perormed z other queriesNow I have a complete understanding of the flow. Let me summarize what I found:w"oy I Works: Pavoook Createo → AcIVIVoe carecoresFlow1. Playbook creation ( PlaybookController::store() ):• PlaybookRepository::create() creates the playbook, setting activity field id via getDefaulLACT1v1LVrleldyevent (new PlaybookCreated($playbook, $user)) fires%Pavoookcreated Steners al •ueue. Va Shoul dQueue "Atrachlavout — creales ne ceaur crmlavoulCreatePlaybookCreatedEvent — tracks in PlanhatImportActivitylypes — Imports picklist values as calegorles3. ImportActivityTypes::handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syn app/Services/Crm/Salestorce/Service.php ld) - syncs field metadata• Calls $crmService->importPicklistValues($playbook->getActivityField()) - returns savedFieldValue [I Eloquent modelsreratesyatues a calsethies renas/ter.es treste/tinlavheats rontaIterates values and calls $this->repository->create($playbook, $data)ASk anvinine CTbl" COdEClaude Sonnet 4.0Dis_default TI created_at YID updated_at Yworksoace associated with branch Jy-log0g-automaled-nny nas been restorea // kollback // contigure... (s minutes ago)Winasun leamsogrzz uir-o4 spaces...
|
NULL
|
NULL
|
NULL
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpladl• Tech Day Review - in 1h 23 mAAPP (-zsh)X4-zshDOCKER• ₴1DEV (docker)APP (-zsh)X3-zsh• ₴5* Review screenp...• 286Changes notstagedfor commit:(use"git add ‹file>..to update what will becommitted)(use"git restore<files..." to discard changesin working directory)modified:./.env.localmodified:./app/Console/Commands/JiminnyDebugCommand.phpmodified:../app/Http/Controllers/API/ActivityController.phpmodified:../app/Http/Controllers/Webhook/ReportController.phpmodified::./app/Jobs/Team/SyncToIntercom.phpmodified:/app/Services/PlaybackService.phpmodified::/config/logging.phpmodified:../routes/web.phpUntracked files:Cuse"git add <files..."to include in what will be committed)'.env.nikilocal/.env.other../WEBHOOK_FILTERING_IMPLEMENTATION.md../app/Console/Commands/Crm/Hubspot/SimulateWebhooksCommand.php../app/Console/Commands/Reports/CreateMockAskJiminnyReportResultCommand.php./ids.txt../raw_sql_query.sql../tests/Unit/Policies/CanAccessAiReportsTest.phpno changes addedto commit (use "git add"and/or "git commit -a")lukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ git pullremote: Enumerating objects: 170,done.remote: Counting objects: 100% (147/147), done.remote: Compressing objects: 100% (35/35), done.remote:Total 170 (delta 116), reused 121 (delta 111), pack-reused 23 (from 1)Receiving objects: 100% (170/170), 55.28 KiB | 1.42 MiB/s,done.Resolving deltas: 100% (119/119), completed with 47 local objects.From github.com:jiminny/app82671d4c13..d4352c6e59JY-20291-datadog-processing-states-> origin/JY-20291-datadog-processing-states20e95bbbc9..360f12adddJY-20541-cleanup-stale-tasks-and-events-> origin/JY-20541-cleanup-stale-tasks-and-events+ 9f8d154791...01c43d2aa6 JY-20553-debug-crm-sync-delays-> origin/JY-20553-debug-crm-sync-delays (forced update)* [new branch]JY-20695-handle-no-raw-transcript-› origin/JY-20695-handle-no-raw-transcriptbe76d8ba82..9b30c928c4JY-9712-change-forever-nudges-to-1-year-expiration -> origin/JY-9712-change-forever-nudges-to-1-year-expiration5bb8fefcba..c04e334173master-> origin/masterUpdating aba9685c0d..08ed383c5berror: Your local changes to the following files would be overwritten by merge:app/Http/Controllers/Webhook/ReportController.phpPlease commit your changes or stash them before you merge.Abortingukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ Uec2-user@ip-10-...• 87100% <478Fri 17 Apr 15:37:561₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileEditFV faVsco.s vProject vO dependency PhpStormFileEditFV faVsco.s vProject vO dependency-checker.jsonO dev.json= lds.txi=infection.json.distM+INS ALL.moIM+ INTERNAL_ WEBHOOK SETUPjiminny_storageM+ licenses.mdM MakefileO package-lock.json= phpstan.neon.dist= phpstan-baseline.neon<phpunit.xmlTe raw_sql_query.sqlM-R-ADME.moộ sonar-project.properties= test.py<> Untitled Diagram.xmlus vetur.config.isM+ WEBHOOK_FILTERING_IMPLE› Ih External LibrariesE® Scratches and Consoles~ D Database Consoles>dEUjiminny@localhostV &PRODA console [PROD]A console_1 [PROD]2 DI [PROD]ViewNavigateCodeLaravelRefactor( #11894 on JY-18909-automated-reports-ask-jiminny k v© PlaybookRepository.php© ImportActivityTypes.php x© ReportController.phpC JiminnyDebugCommand.php© AutomatedReportsCommand.php© CreateHeldActivityEvent.phpC UserPilotActivityListener.phpToolsWindowHelp© AskJiminnyReportActivityService.phpAutomatedReportsSendCommand.php© AutomatedReportsRepository.php© AutomatedReportsService.phpTrackProviderInstalledEvent.php© CreateActivityLoggedEvent.phpC ActivityLogged.php© RequestGenerateAsKJiminnyReportJob.php© RequestGenerateReportJob.php• AutomatedReportResult.php© AutomatedReport.phpclass IueectActivitktuRes implements shouidqueue* Import the standard Event/Task Type picklist options from the CRM.public function handle(PlaybookCreated $event): void$playbook = Sevent->playbook;// Don't run if somehow we already have categories.if ($playbook->getCategories()->isNotEmpty()) {returnr$crmService = $this->crmResolver->resoveF@rTeam($pLaybook->getTeam());$crmService->syncField($playbook->getActivityField();svalues = $cmnservice-importPi(kListValues (SpLaybook→ gtActivityFzeldO);if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());-4849ServicesOutputiii liminnv.crm field values# jiminny.crm_fields xv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFdns locallV &PROD4 console 1 s 226 msV L STAGINGc consoey Docker1rowv OUIx. AUtoyQGEA+uvid (UUID)OE crm_configuration_id! crm_provider_id• labelI descriptionO typeI LengthI default_valueobject_typeJ is_selectableO is_mandatoryDis_filterableis_indexableID created_at• updated_atD is_readonly226147692TypeType4f807b7c-86e9-2d77-81d6-d58b542821e9OCKUIST<null>event2023-04-24 09:30:232075-05-1 18:56154I row retrieved startind trom 1in 51/ ms execution: 144 ms, Telching: 3/3 ms.= custom.log< console EUi= laravel.logA SF [jiminny@localhost]A console [STAGING]Tx: AutovMlaycroundvA HS_local [iminny@localhost]© RequestGenerateAskJiminnyReportJobTest.phpA console [PROD] X57757857915881581A2 л v 58258358458558658758858959059159215751574575596 vSa jiminny ~034 A1 A33 Х61 ^SELECT * FROM automated_report_results order by id desc;select * from features;select * from team features where feature id = 40:select * from teams where id = 556;select * from automated_reports where id = 54; # 4fdd41f6-dcF0-30d0-b339-7345381b6044["pdf", "pcSELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')_=select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;select * from automated_report_results WHERE reRont.id = 54;select * from opportunities where id = 7594349;SELECT * FROM teams WHERE name LIKE "%Les%'; # 711, 692, 16067B - [EMAIL] * fromplaybooks where team_id = 711; # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm_fields WHERE id = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;j Tech Day Review - in 1h 23 mA100% C•Fri 17 Apr 15:37:56RequestGenerateAskJiminnyReportJobTest vCascadeAutomated Report Retrfired:Playbook Activity Type+0 •searched Playbookcrealed ana perormed z other queriesNow I have a complete understanding of the flow. Let me summarize what I found:w"oy I Works: Pavoook Createo → ACIVIVoe carecorlesFlow1. Playbook creation ( PlaybookController::store() ):• PlaybookRepository::create() creates the playbook, setting activity field id via getDefaulLACT1v1LVrleldyevent (new PlaybookCreated($playbook, $user)) fires%Pavoookcreated Steners al •ueue. Va Shoul dQueue "Atrachlavout — creales ne ceaur crmlavoulCreatePlaybookCreatedEvent — tracks in PlanhatImportActivitylypes — Imports picklist values as calegorles3. ImportActivityTypes::handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syn app/Services/Crm/Salestorce/Service.php ld) - syncs field metadata• Calls $crmService->importPicklistValues($playbook->getActivityField()) - returns savedFieldValue [I Eloquent modelserates values and calla sethias rensiton reate snlanhenks rontaIterates values and calls $this->repository->create($playbook, $data)ASk anvinine CTbl+ & COO€Claude sonnet 4.0usv v]winasun leams 590:23 Ulr-o4 spaces...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileEditFV faVsco.s vProjectvv J Crm6 Boot PhpStormFileEditFV faVsco.s vProjectvv J Crm6 Bootstrapintegration© ImportActivity Types.© ImportMetadata.php© InitProfiles.php© LayoutModifiedListe© LayoutUpdatedListelC RematchActivityOnC© ResolveOwner.php© SyncOpportunity.phyasyncrotleleacs.on© SyncProfileOpportun> D DealRisksD ElasticSearchD GroupsO ImportC MailboxC NudgesD OpportunitiesPlaybooksPlaylistsM TeamsTranscription> D Users> D Webhook= gitkeep© ChangeLogContextCorr› D Mailv D ModelsViewNavigateCodeLaravelRefactor( #11894 on JY-18909-automated-reports-ask-jiminny k v© PlaybookRepository.php© ImportActivityTypes.php x© ReportController.phpC JiminnyDebugCommand.php© AutomatedReportsCommand.php© CreateHeldActivityEvent.phpC UserPilotActivityListener.phpToolsWindowHelp© AskJiminnyReportActivityService.php© AutomatedReportsSendCommand.php© AutomatedReportsRepository.php© AutomatedReportsService.phpTrackProviderInstalledEvent.php© CreateActivityLoggedEvent.phpC ActivityLogged.phpC AutomatedReportsCallbackService.php© RequestGenerateAsKJiminnyReportJob.php© RequestGenerateReportJob.php© AutomatedReportResult.php(C AutomatedReport.phpclass IuectACttkitKTUREE implements shouldqueue* Import the standard Event/Task Type picklist options from the CRM.Servicesv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFA HS_localV &PROD4 console 1 s 226 msV L STAGINGc consoey Dockerpublic function handle(PlaybookCreated $event): void$playbook = Sevent->playbook;// Don't run if somehow we already have categories.if ($playbook->getCategories()->isNotEmpty()) {returnr$crmService = $this->crmResolver->resolveForTeam($pLaybook->getTeam()):$crmService->syncField($playbook->getActivityField();$values = $crmService->importPicklistValues($playbook->getActivityField());if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());Outputiii liminnv.crm field values# jiminny.crm_fields x1row v 5 0, 0Ix. AUtoyQGEA+uvid (UUID)OE crm_configuration_id! crm_provider_id• labelI descriptionO typeI Lengthdefault_valueobject_typeJ is_selectableO is_mandatoryDis_filterableis_indexableID created_at• updated_atD is_readonly226147692TypeType4f807b7c-86e9-2d77-81d6-d58b542821e9OCKUIST<null>event2023-04-24 09:30:232023-05-17 18:36:57I row retrieved startind trom 1in 51/ ms execution: 144 ms, Telching: 3/3 ms.= custom.log< console EUi= laravel.logA console [STAGING]A SF [jiminny@localhost]A HS_local [iminny@localhost]© RequestGenerateAskJiminnyReportJobTest.phpA console [PROD] X577578579580158142 л v 584583584585586587588589590591592157511574575596 vIx. AUto vMlaycroundvMa lminny v034 A1 A33 X61 ^SELECT * FROM automated_report_results order by id desc;select * from features;select * from team_features where feature_id = 40;select * from teams where id = 556;select * from automated_reports where id = 54; # 4fdd41f6-dcF0-30d0-b339-7345381b6044["pdf", "pcSELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')_=select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;select * from automated_report_results WHERE reRont.id = 54;select * from opportunities whImportActivityTypes.phpAnonymous Classes (2E1)SELECT * FROM teams WHERE nameselect * from•avoooks VnereSELECT * FROM playbook_categorSELECT * FROM crm_fields WHERESELECT * FROM crm_field_valuesInherited members (36R)• Lambdas (gL)v © ImportActivity TypesP crmreso ver: Resove eamermconnection® fieldRepository: FieldRepository® repository: PlaybookCategoryRepository® a _construct(crmResolver: Resolve TeamCrmConnection, fieldRepository:8 fetchActivityFieldValues(field: Field): Collection@ a handle(event: PlaybookCreated): void, 0j Tech Day Review - in 1h 23 mARequestGenerateAskJiminnyReportJobTest v100% C•Fri 17 Apr 15:37:59CascadeAutomated Report Retrfired:Playbook Activity Type+0 •searched Playbookcrealed ana perormed z other queriesNow I have a complete understanding of the flow. Let me summarize what I found:w"oy I Works: Pavoook Createo → ACIVIVoe carecorlesFlow1. Playbook creation ( PlaybookController::store() ):• PlaybookRepository::create() creates the playbook, setting activity field id via getDefaulLACTIV1LV-leLdevent (new PlaybookCreated($playbook, $user)) fires%Pavoookcreated Steners al •ueue. Va Shoul dQueue "Atrachlavout — creales ne ceaur crmlavourCreatePlaybookCreatedEvent — tracks in PlanhatImportActivitylypes — Imports picklist values as calegorles3. ImportActivityTypes::handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syn app/Services/Crm/Salesforce/Service.php ld ( )) - syncs field metadata• Calls $crmService->importPicklistValues($playbook->getActivityField()) - returns savedFieldValue [I Eloquent models"ermesvalues and cale sthhserepostterysctreste/spilayreads romtoASk anvinine CTbl+ •CodeClauce sonnet 4.0CSV vW Windsurf Teams 45:40 UTF-8 4 spaces...
|
NULL
|
NULL
|
NULL
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpladl• Tech Day Review - in 1h 23 mAAPP (-zsh)X4-zshDOCKER• ₴1DEV (docker)APP (-zsh)X3-zsh• ₴5* Review screenp...• 286Changes notstagedfor commit:(use"git add ‹file>..to update what will becommitted)(use"git restore<files..." to discard changesin working directory)modified:./.env.localmodified:./app/Console/Commands/JiminnyDebugCommand.phpmodified:../app/Http/Controllers/API/ActivityController.phpmodified:../app/Http/Controllers/Webhook/ReportController.phpmodified::./app/Jobs/Team/SyncToIntercom.phpmodified:/app/Services/PlaybackService.phpmodified::/config/logging.phpmodified:../routes/web.phpUntracked files:Cuse"git add <files..."to include in what will be committed)'.env.nikilocal/.env.other../WEBHOOK_FILTERING_IMPLEMENTATION.md../app/Console/Commands/Crm/Hubspot/SimulateWebhooksCommand.php../app/Console/Commands/Reports/CreateMockAskJiminnyReportResultCommand.php./ids.txt../raw_sql_query.sql../tests/Unit/Policies/CanAccessAiReportsTest.phpno changes addedto commit (use "git add"and/or "git commit -a")lukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ git pullremote: Enumerating objects: 170,done.remote: Counting objects: 100% (147/147), done.remote: Compressing objects: 100% (35/35), done.remote:Total 170 (delta 116), reused 121 (delta 111), pack-reused 23 (from 1)Receiving objects: 100% (170/170), 55.28 KiB | 1.42 MiB/s,done.Resolving deltas: 100% (119/119), completed with 47 local objects.From github.com:jiminny/app82671d4c13..d4352c6e59JY-20291-datadog-processing-states-> origin/JY-20291-datadog-processing-states20e95bbbc9..360f12adddJY-20541-cleanup-stale-tasks-and-events-> origin/JY-20541-cleanup-stale-tasks-and-events+ 9f8d154791...01c43d2aa6 JY-20553-debug-crm-sync-delays-> origin/JY-20553-debug-crm-sync-delays (forced update)* [new branch]JY-20695-handle-no-raw-transcript-› origin/JY-20695-handle-no-raw-transcriptbe76d8ba82..9b30c928c4JY-9712-change-forever-nudges-to-1-year-expiration -> origin/JY-9712-change-forever-nudges-to-1-year-expiration5bb8fefcba..c04e334173master-> origin/masterUpdating aba9685c0d..08ed383c5berror: Your local changes to the following files would be overwritten by merge:app/Http/Controllers/Webhook/ReportController.phpPlease commit your changes or stash them before you merge.Abortingukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ Uec2-user@ip-10-...• 87100% <478Fri 17 Apr 15:38:011₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileEditFV faVsco.s vProjectvv J Crm6 Boot PhpStormFileEditFV faVsco.s vProjectvv J Crm6 Bootstrapintegration© ImportActivity Types.© ImportMetadata.php© InitProfiles.php© LayoutModifiedListe© LayoutUpdatedListelC RematchActivityOnC© ResolveOwner.php© SyncOpportunity.phy© SyncProfileLeads.ph© SyncProfileOpportun> D DealRisksD ElasticSearchD GroupsO ImportC MailboxD NudgesD OpportunitiesPlaybooksPlaylistsM TeamsTranscription> D Users> D Webhook= gitkeep© ChangeLogContextCorr› D Mailv D ModelsViewNavigateCodeLaravelRefactor( #11894 on JY-18909-automated-reports-ask-jiminny k v© PlaybookRepository.php© ImportActivityTypes.php x© ReportController.phpC JiminnyDebugCommand.php© AutomatedReportsCommand.php© CreateHeldActivityEvent.phpC UserPilotActivityListener.phpToolsWindowHelp© AskJiminnyReportActivityService.phpAutomatedReportsSendCommand.php© AutomatedReportsRepository.php© AutomatedReportsService.phpTrackProviderInstalledEvent.php© CreateActivityLoggedEvent.phpC ActivityLogged.php© AutomatedReportsCallbackService.php© RequestGenerateAsKJiminnyReportJob.php© RequestGenerateReportJob.php© AutomatedReportResult.php© AutomatedReport.phpclass IuectACttkitKTUREE implements shouldqueue* Import the standard Event/Task Type picklist options from the CRM.Servicesv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFdns locallV &PROD4 console 1 s 226 msV L STAGINGc consoey Dockerpublic function handle(PlaybookCreated $event): void$playbook = Sevent->playbook;// Don't run if somehow we already have categories.if ($playbook->getCategories()->isNotEmpty()) {returnr$crmService = $this->crmResolver->resolveForTeam($pLaybook->getTeam());$crmService->syncField($playbook->getActivityField();Svalvef = scrmservice-→importPiokistValues (Splaybook-getActivityField());if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField();Outputiii liminnv.crm field values# jiminny.crm_fields x1rowv OUIx. AUtoyQGEA+uvid (UUID)OE crm_configuration_id! crm_provider_id• labelI descriptionO typeI LengthI default_valueobject_typeJ is_selectableO is_mandatoryDis_filterableis_indexableID created_at• updated_atD is_readonly226147692TypeType4f807b7c-86e9-2d77-81d6-d58b542821e9OCKUIST<null>event2023-04-24 09:30:232075-05-1 18:56154I row retrieved startind trom 1in 51/ ms execution: 144 ms, Telching: 3/3 ms.= custom.log< console EUi= laravel.logA SF [jiminny@localhost]A console [STAGING]Tx: AutovMlaycroundvA HS_local [iminny@localhost]© RequestGenerateAskJiminnyReportJobTest.phpA console [PROD] X57757857915881581A2 л v 58258358458558658758858959059159215751574575596 vma iminny v034 A1 A33 X61 ^SELECT * FROM automated_report_results order by id desc;select * from features;select * from team features where feature id = 40:select * from teams where id = 556;select * from automated_reports where id = 54; # 4fdd41f6-dcF0-30d0-b339-7345381b6044["pdf", "pcSELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')_=select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;select * from automated_report_results WHERE reRont.id = 54;select * from opportunities where id = 7594349;SELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * fromplavbooks where team id = 711: # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm_fields WHERE id = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;j Tech Day Review - in 1h 23 mA100% C•Fri 17 Apr 15:38:01RequestGenerateAskJiminnyReportJobTest vCascadeAutomated Report Retrfired:Playbook Activity Type+0 •searched Playbookcrealed ana perormed z other queriesNow I have a complete understanding of the flow. Let me summarize what I found:w"oy I Works: Pavoook Createo → ACIVIVoe carecorlesFlow1. Playbook creation ( PlaybookController::store() ):• PlaybookRepository::create() creates the playbook, setting activity field id via getDefaulLACTIV1LV-leLdevent (new PlaybookCreated($playbook, $user)) fires%Pavoookcreated Steners al •ueue. Va Shoul dQueue "Atrachlavout — creales ne ceaur crmlavoulCreatePlaybookCreatedEvent — tracks in PlanhatImportActivitylypes — Imports picklist values as calegorles3. ImportActivityTypes::handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syn app/Services/Crm/Salestorce/Service.php ld) - syncs field metadata• Calls $crmService->importPicklistValues($playbook->getActivityField()) - returns savedFieldValue [I Eloquent modelsreratesyatues a calsethies renas/ter.es treste/tinlavheats rontaIterates values and calls $this->repository->create($playbook, $data)ASk anvinine CTbl+ & COO€Claude sonnet 4.0usv v]winasun leams 45:40 UlF-ofh 4 spaces...
|
NULL
|
NULL
|
NULL
|
|
PhpStormProjectvFileFV faVsco.s vEditv J Crm6 Boot PhpStormProjectvFileFV faVsco.s vEditv J Crm6 Bootstrapintegration© ImportActivity Types.© ImportMetadata.php© InitProfiles.php© LayoutModifiedListe© LayoutUpdatedListelC RematchActivityOnC© ResolveOwner.php© SyncOpportunity.phyaoyncrotleleaas.on© SyncProfileOpportun> D DealRisksD ElasticSearchD GroupsO ImportC MailboxD NudgesD OpportunitiesPlaybooksPlaylistsM TeamsTranscription> D Users> D Webhook= gitkeep© ChangeLogContextCorr› D Mail51 Fv D ModelsViewNavigateCodeLaravelRefactorToolsWindowHelp#11894 on JY-18909-automated-reports-ask-jiminny k ~© PlaybookRepository.php© ImportActivityTypes.php X© AskJiminnyReportActivityService.php© ReportController.phpC JiminnyDebugCommand.phpAutomatedReportsSendCommand.php© AutomatedReportsCommand.php© AutomatedReportsRepository.php© AutomatedReportsService.php© CreateHeldActivityEvent.phplrackrrovlderlnstalleacventong© CreateActivityLoggedEvent.phpC UserPilotActivityListener.phpC ActivityLogged.phpC AutomatedReportsCallbackService.php= custom.log= laravel.logA SF [jiminny@localhost]< console LUlconsole SlAGINGA HS_local [iminny@localhost]A console [PROD] XC RequestGenerateAskJiminnyReportJobTest.phpIx. Aulo vMlaycroundvMa lminny v034 A1 A33 X61 ^© RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php© AutomatedReportResult.php© AutomatedReport.phpclass ImportActivitxIxRes implements ShouldQueuepublic function handle(PlaybookCreated $event): void$pLaybook = $event->playbook;57757857958058142 лv 582583584585586SELECT * FROM automated_report_results order by id desc;select * from features;select * from team features where feature id = 40:select * from teams where id = 556;Don't run if somehow we already have categories.if ($playbook->getCategories()->isNotEmptyO) {return;select * from automated_reports where id = 54; # 4fdd41f6-dcF0-30d0-b339-7345381b6044["pdf", "pcSELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')_=select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;588589590$crmService = $this->crmResolver->resolveForTeam($playbook->getTeam)):$crmService->syncField($playbook->getActivityField();59159215751$values = $crmService->importPickZistValves($playbook->getActivityField());574575if (empty($values)) {596 v$values = $this->fetchActivityFieldValues($playbook->getActivityField());597select * from automated_report_results WHERE reRont.id = 54;select * from opportunities where id = 7594349;SELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * fromplavbooks where team id = 711: # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROMcrm_fields WHERE id = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;© ImportActivityTypes/** Ovar staClassflabel: string} $value *Iprivate function fetchActivityFieldValues(foreach ($values as $value) (Field $field%data = l): CollectionServicesOutputiii liminnv.crm_field valuesiE 1rowv GOU# jiminny.crm_fieldsParameters: \Field $fieldsourcer.../app/Listeners/Crm/ImportActivityTypes.php0 :v D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFdns locallV &PROD4 console 1 s 226 msV L STAGINGc consoey DockerIx. AUtoy226147uvid (UUID)OE crm_configuration_id692! crm_provider_idType• labelTypeI descriptionO typeOCKUISTI LengthI default_value<null>object_typeeventJ is_selectable! is_mandatoryDis_filterableis_indexableID created_at• updated_atD is_readonly4f807b7c-86e9-2d77-81d6-d58b542821e92023-04-24 09:30:232023-05-17 18:36:57I row retrieved startind trom 1in 51/ ms execution: 144 ms, Telching: 3/3 ms.{ Tech Day Review • in 1h 22 mARequestGenerateAskJiminnyReportJobTest v100% C•Fri 17 Apr 15:38:05CascadeAutomated Report Retrfired:Playbook Activity Typesearched Playbookcrealed ana perormed z other queriesNow I have a complete understanding of the flow. Let me summarize what I found:w"oy I Works: Pavoook Createo → ACIVIVoe carecorlesFlow1. Playbook creation ( PlaybookController::store() ):• PlaybookRepository::create() creates the playbook, setting activity field id via getDefaulLACTIV1LV-leLdevent (new PlaybookCreated($playbook, $user)) fires%Pavoookcreated Steners al •ueue. Va Shoul dQueue "Atrachlavout — creales ne ceaur crmlavoulCreatePlaybookCreatedEvent — tracks in PlanhatImportActivitylypes — Imports picklist values as calegorles3. ImportActivityTypes::handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syn app/Services/Crm/Salestorce/Service.php ld) - syncs field metadata• Calls $crmService->importPicklistValues($playbook->getActivityField()) - returns savedFieldValue [I Eloquent modelserates values and calla sethias rensiton reate snlanhenks rontaIterates values and calls $this->repository->create($playbook, $data)ASk anvinine CTbl+ & COO€Clauce sonnet 4.0usv v]W Windsurf Teams 45:43 UTF-8fh 4 spaces...
|
NULL
|
NULL
|
NULL
|
|
PhpStormProjectvFileFV faVsco.s vEditViewNavigateC PhpStormProjectvFileFV faVsco.s vEditViewNavigateCodeLaravelRefactorToolsWindowHelp( #11894 on JY-18909-automated-reports-ask-jiminny k v© PlaybookRepository.php© ImportActivityTypes.php x© AskJiminnyReportActivityService.php= custom.log= laravel.logA SF [jiminny@localhost]A HS_local [iminny@localhost]A console [PROD] Xv J Crm© ReportController.phpC JiminnyDebugCommand.phpAutomatedReportsSendCommand.php< console EUiA console [STAGING]© RequestGenerateAskJiminnyReportJobTest.php6 Bootstrapintegration© ImportActivity Types.© AutomatedReportsCommand.php© AutomatedReportsRepository.php© AutomatedReportsService.phpTx: AutovMlaycroundvma iminny v© ImportMetadata.php© CreateHeldActivityEvent.php© TrackProviderInstalledEvent.php© CreateActivityLoggedEvent.php034 A1 A33 Х61 ^577SELECT * FROM automated_report_results order by id desc;© InitProfiles.phpC UserPilotActivityListener.phpC ActivityLogged.php© AutomatedReportsCallbackService.php578© LayoutModifiedListe579select * from features;© LayoutUpdatedListel© RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php580select * from team features where feature id = 40:C RematchActivityOnC© AutomatedReportResult.php(C AutomatedReport.php581© Resolveowner.php© SyncOpportunity.phyclass ImportActivitxIxRes implements ShouldQueueA2 л v 582select * from teams where id = 556;public function handle(PlaybookCreated $event): void583© SyncProfileLeads.phreturnr584select * from automated_reports where id = 54; # 4fdd41f6-dcF0-30d0-b339-7345381b6044["pdf", "pc© SyncProfileOpportun585SELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')_=> D DealRisks586select * from automated_report_results order by id desc;D ElasticSearch$crmService = $this->crmResolver->resolveForTeam($playbook->getTeam());D Groups587SELECT * FROM automated_report_results WHERE id = 1919;$crmService->syncField($playbook->getActivityField());588O ImportC Mailbox589select * from automated_report_results WHERE ceRont.id = 54;$values = $crmService->importPicklistValues($playbook->getActivityField);590D Nudges591select * from opportunities where id = 7594349;D OpportunitiesPlaybooksif (empty($values)) {Д592$values = $this->fetchActivityFieldValues($playbook->getActivityField());593SELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - jiminnyintegration@lesmills.coPlaylists594select * from playbooks where team_id = 711; # event 226147M Teams575TranscriptionSELECT * FROM playbook_categories WHERE playbook_id = 5515;/** Ovar stdClass{label: string} $value */596 vSELECT * FROM crm_fields WHERE id = 226147;> D Usersforeach ($values as $value) {597SELECT * FROM crm_field_values WHERE crm_field_id = 226147;> D Webhook$data = [= gitkeep'name' => $value->label,© ChangeLogContextCorr'enabled'→ true,› D Mail'type' => PlaybookCategory::TYPE_ALL,v D ModelsServicesv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFdns locallV &PROD4 console 1 s 226 msYESAGINGc consoey DockerOutputiii liminnv.crm field values# jiminny.crm_fields1rowv O LIx. AUtoyQGAĐ226147uvid (UUID)OE crm_configuration_id692! crm_provider_idType• labelTypeI descriptionO typeOCKUIST• LengthI default_value<null>object_typeeventJ is_selectableis_mandatoryDis_filterableis_indexableID created_atI updated_atD is_readonly4f807b7c-86e9-2d77-81d6-d58b542821e92023-04-24 09:30:232023-05-17 18:36:57{ Tech Day Review • in 1h 22 mARequestGenerateAskJiminnyReportJobTest v100% C•Fri 17 Apr 15:38:08CascadeAutomated Report Retrfired:Playbook Activity Typesearched Playbookcrealed ana perormed z other queriesNow I have a complete understanding of the flow. Let me summarize what I found:w"oy I Works: Pavoook Createo → AcIVIVoe carecoresFlow1. Playbook creation ( PlaybookController::store() ):• PlaybookRepository::create() creates the playbook, setting activity field id via getDefaulLACTIV1LV-leLdevent (new PlaybookCreated($playbook, $user)) fires%Plavoookcreated Steners al •ueueo Va Shoul doueue ).Atrachlavout — creales ne ceraur crmlavourCreatePlaybookCreatedEvent — tracks in PlanhatImportActivitylypes — Imports picklist values as calegorles3. ImportActivityTypes::handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syncField($playbook→>getActivityField()) - syncs field metadata• Calls $crmService->importPicklistValues($playbook->getActivityField()) - returns savedFieldValue [I Eloquent modelsreratesyatues a calsethies renas/ter.es treste/tinlavheats rontaIterates values and calls $this->repository->create($playbook, $data)ASk anvinine CTbl— &CoO€Claude Sonnet 4.0• : -usvvworksoace associated with branch Jy-log0g-autonny' has been restored // Rollback // Configure... (4 minutes ago)winasur leams40:43 UlF-ofa 4 spaces...
|
NULL
|
NULL
|
NULL
|
|
PhpStormProjectvFileEditViewNavigateCodeLaravelRef PhpStormProjectvFileEditViewNavigateCodeLaravelRefactorToolsWindowHelpFV faVsco.s v( #11894 on JY-18909-automated-reports-ask-jiminny k v© PlaybookRepository.php© ImportActivityTypes.php x© AskJiminnyReportActivityService.php= custom.log= laravel.logA SF [jiminny@localhost]A HS_local [iminny@localhost]A console [PROD] Xv J Crm© ReportController.phpC JiminnyDebugCommand.phpAutomatedReportsSendCommand.php< console EUiA console [STAGING]© RequestGenerateAskJiminnyReportJobTest.php6 Bootstrapintegration© ImportActivity Types.© AutomatedReportsCommand.php© AutomatedReportsRepository.php© AutomatedReportsService.phpTx: AutovMlaycroundvMa lminny v© ImportMetadata.php© CreateHeldActivityEvent.php© TrackProviderInstalledEvent.php© CreateActivityLoggedEvent.php034 A1 A33 Х61 ^577SELECT * FROM automated_report_results order by id desc;© InitProfiles.phpC UserPilotActivityListener.phpC ActivityLogged.phpC AutomatedReportsCallbackService.php578© LayoutModifiedListe579select * from features;© LayoutUpdatedListel© RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php580select * from team features where feature id = 40:C RematchActivityOnC© AutomatedReportResult.php© AutomatedReport.php© ResolveOwner.php581© SyncOpportunity.phyclass ImportActivitxIxRes implements ShouldQueue42 л584select * from teams where id = 556;public function handle(PlaybookCreated $event): void583@ SyncProfileLeads.ph584© SyncProfileOpportun585> D DealRisksD ElasticSearchif (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityFieldO);586D Groups587select * from automated_reports where id = 54; # 4fdd41f6-dcf0-30d0-b339-7345381b6044["pdf", "pcSELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')_=select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;588O ImportC Mailbox589select * from automated_report_results WHERE ceRont.id = 54;D NudgesD OpportunitiesPlaybooksPlaylistsM Teams/** @var stdClass{label: string} $value */foreach ($values as $value) {$data = ['name' => $value->label,'enabled' → true,'type' => PlaybookCategory::TYPE_ALL,590_591select * from opportunities where id = 7594349;9.5925931574Transcription> D Users> D Webhook= gitkeep596 v1t (sur:: concalns(scrcolower(svalue->label), L'sms sent, "sms out".•text 597$data['type'] = PlaybookCategory::TYPE_SMS_OUTBOUND;SELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * fromplaybooks where team_id = 711; # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm_fields WHERE id = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;© ChangeLogContextCorr› D Mailv D Modelsif (Str: :contains(strtolower ($value->label), ['sms received', 'sms in',Services+oc exv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFdns locallV &PROD4 console 1 s 226 msYESAGINGc consoey DockerOutputiii liminnv.crm field valueslrow v50,0# jiminny.crm_fields xIx. AUtoyGQGEAĐ226147uvid (UUID)OE crm_configuration_id692! crm_provider_idType• labelTypeI descriptionO typeOCKUIST• LengthI default_value<null>object_typeeventJ is_selectableis_mandatoryDis_filterableis_indexableID created_atI updated_atD is_readonly4f807b7c-86e9-2d77-81d6-d58b542821e92023-04-24 09:30:232075-05-1 18:56154worksoace associated with branch Jy-los0g-automared-repors-ask-ny' has been restored // Rollback // Configure... (4 minutes ago){ Tech Day Review • in 1h 22 mARequestGenerateAskJiminnyReportJobTest v100% C•Fri 17 Apr 15:38:17CascadeAutomated Report Retrfired:Playbook Activity Typesearched Playbookcrealed ana perormed z other queriesNow I have a complete understanding of the flow. Let me summarize what I found:w"oy I Works: Pavoook Createo → AcIVIVoe carecoresFlow1. Playbook creation ( PlaybookController::store() ):• PlaybookRepository::create() creates the playbook, setting activity field id via getDefaulLACTIV1LV-leLdevent (new PlaybookCreated($playbook, $user)) fires%Pavoookcreated Steners al •ueue. Va Shoul dQueue "Atrachlavout — creales ne ceaur crmlavoulCreatePlaybookCreatedEvent — tracks in PlanhatImportActivitylypes — Imports picklist values as calegorles3. ImportActivityTypes::handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syncField($playbook->getActivityField()) - syncs field metadata• Calls $crmService->importPicklistValues($playbook->getActivityField()) - returns savedFieldValue [I Eloquent modelsreratesyatues a calsethies renas/ter.es treste/tinlavheats rontaIterates values and calls $this->repository->create($playbook, $data)ASk anvinine CTbl+ & COO€Clauce sonnet 4.0usvvW Windsurf Teams 45:43 UTF-8fh 4 spaces...
|
NULL
|
NULL
|
NULL
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelp(ab)• Tech Day Review • in 1h 22 mAAPP (-zsh)₴4-zshDOCKER• ₴1DEV (docker)APP (-zsh)X3-zsh• ₴5* Review screenp...• 286Changes notstagedfor commit:(use"git add ‹file>..to update what will becommitted)(use"git restore<files..." to discard changesin working directory)modified:./.env.localmodified:./app/Console/Commands/JiminnyDebugCommand.phpmodified:../app/Http/Controllers/API/ActivityController.phpmodified:../app/Http/Controllers/Webhook/ReportController.phpmodified::./app/Jobs/Team/SyncToIntercom.phpmodified:/app/Services/PlaybackService.phpmodified::/config/logging.phpmodified:../routes/web.phpUntracked files:Cuse"git add <files..."to include in what will be committed)'.env.nikilocal/.env.other../WEBHOOK_FILTERING_IMPLEMENTATION.md../app/Console/Commands/Crm/Hubspot/SimulateWebhooksCommand.php../app/Console/Commands/Reports/CreateMockAskJiminnyReportResultCommand.php./ids.txt../raw_sql_query.sql../tests/Unit/Policies/CanAccessAiReportsTest.phpno changes addedto commit (use "git add"and/or "git commit -a")lukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ git pullremote: Enumerating objects: 170,done.remote: Counting objects: 100% (147/147), done.remote: Compressing objects: 100% (35/35), done.remote:Total 170 (delta 116), reused 121 (delta 111), pack-reused 23 (from 1)Receiving objects: 100% (170/170), 55.28 KiB | 1.42 MiB/s,done.Resolving deltas: 100% (119/119), completed with 47 local objects.From github.com:jiminny/app82671d4c13..d4352c6e59JY-20291-datadog-processing-states-> origin/JY-20291-datadog-processing-states20e95bbbc9..360f12adddJY-20541-cleanup-stale-tasks-and-events-> origin/JY-20541-cleanup-stale-tasks-and-events+ 9f8d154791...01c43d2aa6 JY-20553-debug-crm-sync-delays-> origin/JY-20553-debug-crm-sync-delays (forced update)* [new branch]JY-20695-handle-no-raw-transcript-› origin/JY-20695-handle-no-raw-transcriptbe76d8ba82..9b30c928c4JY-9712-change-forever-nudges-to-1-year-expiration -> origin/JY-9712-change-forever-nudges-to-1-year-expiration5bb8fefcba..c04e334173master-> origin/masterUpdating aba9685c0d..08ed383c5berror: Your local changes to the following files would be overwritten by merge:app/Http/Controllers/Webhook/ReportController.phpPlease commit your changes or stash them before you merge.Abortingukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ Uec2-user@ip-10-...• 87100% <478Fri 17 Apr 15:38:191₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileEditWindowHelpFV faVsco.s vProjectv= c PhpStormFileEditWindowHelpFV faVsco.s vProjectv= custom.log= laravel.logA console [STAGING]A SF [jiminny@localhost]A HS_local [iminny@localhost]© RequestGenerateAskJiminnyReportJobTest.phpA console [PROD] Xv J Crm6 Bootstrapintegration© ImportActivity Types.© ImportMetadata.php© InitProfiles.php© LayoutModifiedListe© LayoutUpdatedListelC RematchActivityOnC© ResolveOwner.php© SyncOpportunity.phy© SyncProfileLeads.ph© SyncProfileOpportun> D DealRisksD ElasticSearchD GroupsO ImportC MailboxC NudgesD OpportunitiesPlaybooksPlaylistsM TeamsTranscription> D Users> D Webhook= gitkeep© ChangeLogContextCorr› D Mailv D ModelsViewNavigateCodeLaravelRefactorTools( #11894 on JY-18909-automated-reports-ask-jiminny k v© PlaybookRepository.php© ImportActivityTypes.php x© ReportController.phpC JiminnyDebugCommand.php© AutomatedReportsCommand.php© CreateHeldActivityEvent.phpC UserPilotActivityListener.php© AskJiminnyReportActivityService.phpAutomatedReportsSendCommand.php© AutomatedReportsRepository.php© AutomatedReportsService.phpTrackProviderInstalledEvent.php© CreateActivityLoggedEvent.phpC ActivityLogged.phpC AutomatedReportsCallbackService.php< console EUiIx. AUto vMlaycroundvma iminny v034 A1 A33 X61 ^577578579© RequestGenerateAskJiminnyReportJob.php© AutomatedReportResult.php(C AutomatedReport.phpclass ImportActivitxIxRes implements ShouldQueuepublic function handle(PlaybookCreated $event): void© RequestGenerateReportJob.php580581A2 л v 582583584585if (Str::contains(strtolower($valve->label), ['sms received',"sms in','t 586$data['type'] = PlaybookCategory::TYPE_SMS_INBOUND;587588589$this->repository->create($playbook, $data);590SELECT * FROM automated_report_results order by id desc;select * from features;select * from team_features where feature_id = 40;select * from teams where id = 556;select * from automated_reports where id = 54; # 4fdd41f6-dcF0-30d0-b339-7345381b6044["pdf", "pcSELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')_=select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;select * from automated_report_results WHERE ceRont.id = 54;select * from opportunities where id = 7594349;1 usageprivate function fetchActivityFieldValues(Field $field): Collection59215751574575596 v597SELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * from plavbooks where team id = 711: # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm_fields WHERE id = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;/** Ovar Collection<FieldValue> */return $this->fieldReppsitory->getPickListfalues($field);Servicesv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFdns locallV &PROD4 console 1 s 226 msV ASTAGINGc consoey DockerGEAФ{ Tech Day Review • in 1h 22 mARequestGenerateAskJiminnyReportJobTest v100% C•Fri 17 Apr 15:38:20CascadeAutomated Report Retrfired:Playbook Activity Typesearched Playbookcrealed ana perormed z other queriesNow I have a complete understanding of the flow. Let me summarize what I found:w"oy I Works: Pavoook Createo → AcIVIVoe carecoresFlow1. Playbook creation ( PlaybookController::store() ):• PlaybookRepository::create() creates the playbook, setting activity field id via getDefaulLACTIV1LV-leLdevent (new PlaybookCreated($playbook, $user)) fires%Pavoookcreated Steners al •ueue. Va Shoul dQueue "Atrachlavout — creales ne ceaur crmlavoulCreatePlaybookCreatedEvent — tracks in PlanhatImportActivitylypes — Imports picklist values as calegorles3. ImportActivityTypes::handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syncField($playbook->getActivityField()) - syncs field metadata• Calls $crmService->importPicklistValues($playbook->getActivityField()) - returns savedFieldValue [I Eloquent modelsreratesyatues a calsethies renas/ter.es treste/tinlavheats rontaIterates values and calls $this->repository->create($playbook, $data)ASk anvinine CTbl+ & COO€Clauce sonnet 4.0Outputiii liminnv.crm field values1rowv5 0,0# jiminny.crm_fieldsIx. AUtoyuvid (UUID)OE crm_configuration_id! crm_provider_id• labelI descriptionO typeI LengthI default_valueobject_typeJ is_selectable! is_mandatoryDis_filterableis_indexableID created_atI updated_atD is_readonly226147692TypeType4f807b7c-86e9-2d77-81d6-d58b542821e9OCKUIST<null>event2023-04-24 09:30:232023-05-17 18:36:57worksoace associated with branch Jy-los0g-automared-repors-ask-innny' has been restored // Rollback // Configure... (4 minutes ago)usvvW Windsurf Teams 74:31 UTF-8 ( 4 spaces...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileEditFV faVsco.s vProject vv J Crm6 Boo PhpStormFileEditFV faVsco.s vProject vv J Crm6 Bootstrapintegration© ImportActivity Types.© ImportMetadata.php© InitProfiles.php© LayoutModifiedListe© LayoutUpdatedListelC RematchActivityOnC© ResolveOwner.php© SyncOpportunity.php@ SyncProfileLeads.ph© SyncProfileOpportun> D DealRisksD ElasticSearchD GroupsO ImportC MailboxD NudgesD OpportunitiesPlaybooksPlaylistsM TeamsTranscription> D Users> D Webhook= gitkeep© ChangeLogContextCorr› D Mailv D ModelsViewNavigateCodeLaravelRefactorToolsWindowHelp( #11894 on JY-18909-automated-reports-ask-jiminny k v© PlaybookRepository.php© ImportActivityTypes.php x© FieldRepository.php© AskJiminnyReportActivityService.php© ReportController.phpC JiminnyDebugCommand.php© AutomatedReportsSendCommand.php© AutomatedReportsCommand.php© AutomatedReportsRepository.php© AutomatedReportsService.phpC TrackProviderInstalledEvent.php© CreateActivityLoqgedEvent.php© CreateHeldActivityEvent.phpC UserPilotActivityListener.php= custom.log< console LUl= laravel.logA SF [jiminny@localhost]A console [STAGING]Tx: AutovMlaycroundvA HS_local [iminny@localhost]© RequestGenerateAskJiminnyReportJobTest.phpA console [PROD] XMa lminny v034 A1 A33 Х61 ^© ActivityLogged.php© AutomatedReportsCallbackService.php© RequestGenerateReportJob.phpc) AutomatedReportResult.onoclass ImportActivitxIxRes implements ShouldQueuepublic function handle(PlaybookCreated $event): void© RequestGenerateAskJiminnyReportJob.php© AutomatedReport.php577578579580581A2 л v 582583584585't 586SELECT * FROM automated_report_results order by id desc;select * from features;select * from team_features where feature_id = 40;select * from teams where id = 556;if (Str::contains(strtolower($valve->label), ['sms received','sms in',$data['type'] = PlaybookCategory::TYPE_SMS_INBOUND;select * from automated_reports where id = 54; # 4fdd41f6-dcf0-30d0-b339-7345381b6044["pdf", "pcSELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')_=select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;$this->repository->create($playbook, $data);588589590select * from automated_report_results WHERE ceRont.id = 54;select * from opportunities where id = 7594349;1 usageprivate function fetchActivityFieldValues(Field $field): Collection59215751574575596 v597SELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * fromplaybooks where team_id = 711; # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm_fields WHERE id = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;/** Ovar Collection<FieldValue> */return $this->fieldRepository->getPicklistValves($field);Servicesv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFdns locallV &PROD4 console 1 s 226 msV ASTAGINGc consoey DockerGEAФ{ Tech Day Review • in 1h 22 mARequestGenerateAskJiminnyReportJobTest v100% C•Fri 17 Apr 15:38:31CascadeAutomated Report Retrfired:Playbook Activity Type+D ..searched Playbookcrealed ana perormed z other queriesNow I have a complete understanding of the flow. Let me summarize what I found:w"oy I Works: Pavoook Createo → AcIVIVoe carecoresFlow1. Playbook creation ( PlaybookController::store() ):• PlaybookRepository::create() creates the playbook, setting activity field id via getDefaulLACTIV1LV-leLdevent (new PlaybookCreated($playbook, $user)) fires%Pavoookcreated Steners al •ueue. Va Shoul dQueue "Atrachlavout — creales ne ceaur crmlavourCreatePlaybookCreatedEvent — tracks in PlanhatImportActivitylypes — Imports picklist values as calegorles3. ImportActivityTypes::handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syncField($playbook→>getActivityField()) - syncs field metadata• Calls $crmService->importPicklistValues($playbook->getActivityField()) - returns savedFieldValue [I Eloquent modelserates values and calla sethias rensiton reate snlanhenks rontaIterates values and calls $this->repository->create($playbook, $data)ASk anvinine CTbl+ & COO€Clauce sonnet 4.0Outputiii liminnv.crm field values1rowv5 0,0# jiminny.crm_fieldsIx. AUtoyuvid (UUID)OE crm_configuration_id! crm_provider_id• labelI descriptionO type• LengthI default_valueobject_typeJ is_selectableis_mandatoryDis_filterableis_indexableID created_at• updated_atD is_readonly226147692TypeType4f807b7c-86e9-2d77-81d6-d58b542821e9OCKUIST<null>event2023-04-24 09:30:232023-05-17 18:36:57worksoace associated with branch Jy-los0g-automared-reporis-nny' has been restored // Rollback // Configure... (4 minutes ago)usvvW Windsurf Teams 74:51 UTF-8 ( 4 spaces...
|
NULL
|
NULL
|
NULL
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelp(ab)• Tech Day Review • in 1h 22 mAAPP (-zsh)₴4-zshDOCKER• ₴1DEV (docker)APP (-zsh)X3-zsh• ₴5* Review screenp...• 286Changes notstagedfor commit:(use"git add ‹file>..to update what will becommitted)(use"git restore<files..." to discard changesin working directory)modified:./.env.localmodified:./app/Console/Commands/JiminnyDebugCommand.phpmodified:../app/Http/Controllers/API/ActivityController.phpmodified:../app/Http/Controllers/Webhook/ReportController.phpmodified::./app/Jobs/Team/SyncToIntercom.phpmodified:/app/Services/PlaybackService.phpmodified::/config/logging.phpmodified:../routes/web.phpUntracked files:Cuse"git add <files..."to include in what will be committed)'.env.nikilocal/.env.other../WEBHOOK_FILTERING_IMPLEMENTATION.md../app/Console/Commands/Crm/Hubspot/SimulateWebhooksCommand.php../app/Console/Commands/Reports/CreateMockAskJiminnyReportResultCommand.php./ids.txt../raw_sql_query.sql../tests/Unit/Policies/CanAccessAiReportsTest.phpno changes addedto commit (use "git add"and/or "git commit -a")lukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ git pullremote: Enumerating objects: 170,done.remote: Counting objects: 100% (147/147), done.remote: Compressing objects: 100% (35/35), done.remote:Total 170 (delta 116), reused 121 (delta 111), pack-reused 23 (from 1)Receiving objects: 100% (170/170), 55.28 KiB | 1.42 MiB/s,done.Resolving deltas: 100% (119/119), completed with 47 local objects.From github.com:jiminny/app82671d4c13..d4352c6e59JY-20291-datadog-processing-states-> origin/JY-20291-datadog-processing-states20e95bbbc9..360f12adddJY-20541-cleanup-stale-tasks-and-events-> origin/JY-20541-cleanup-stale-tasks-and-events+ 9f8d154791...01c43d2aa6 JY-20553-debug-crm-sync-delays-> origin/JY-20553-debug-crm-sync-delays (forced update)* [new branch]JY-20695-handle-no-raw-transcript-› origin/JY-20695-handle-no-raw-transcriptbe76d8ba82..9b30c928c4JY-9712-change-forever-nudges-to-1-year-expiration -> origin/JY-9712-change-forever-nudges-to-1-year-expiration5bb8fefcba..c04e334173master-> origin/masterUpdating aba9685c0d..08ed383c5berror: Your local changes to the following files would be overwritten by merge:app/Http/Controllers/Webhook/ReportController.phpPlease commit your changes or stash them before you merge.Abortingukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ Uec2-user@ip-10-...• 87100% <478Fri 17 Apr 15:38:321₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelp(ab)• Tech Day Review • in 1h 22 mAAPP (-zsh)₴4-zshDOCKER• ₴1DEV (docker)APP (-zsh)X3-zsh• ₴5* Review screenp...• 286Changes notstagedfor commit:(use"git add ‹file>..to update what will becommitted)(use"git restore<files..." to discard changesin working directory)modified:./.env.localmodified:./app/Console/Commands/JiminnyDebugCommand.phpmodified:../app/Http/Controllers/API/ActivityController.phpmodified:../app/Http/Controllers/Webhook/ReportController.phpmodified::./app/Jobs/Team/SyncToIntercom.phpmodified:/app/Services/PlaybackService.phpmodified::/config/logging.phpmodified:../routes/web.phpUntracked files:Cuse"git add <files..."to include in what will be committed)'.env.nikilocal/.env.other../WEBHOOK_FILTERING_IMPLEMENTATION.md../app/Console/Commands/Crm/Hubspot/SimulateWebhooksCommand.php../app/Console/Commands/Reports/CreateMockAskJiminnyReportResultCommand.php./ids.txt../raw_sql_query.sql../tests/Unit/Policies/CanAccessAiReportsTest.phpno changes addedto commit (use "git add"and/or "git commit -a")lukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ git pullremote: Enumerating objects: 170,done.remote: Counting objects: 100% (147/147), done.remote: Compressing objects: 100% (35/35), done.remote:Total 170 (delta 116), reused 121 (delta 111), pack-reused 23 (from 1)Receiving objects: 100% (170/170), 55.28 KiB | 1.42 MiB/s,done.Resolving deltas: 100% (119/119), completed with 47 local objects.From github.com:jiminny/app82671d4c13..d4352c6e59JY-20291-datadog-processing-states-> origin/JY-20291-datadog-processing-states20e95bbbc9..360f12adddJY-20541-cleanup-stale-tasks-and-events-> origin/JY-20541-cleanup-stale-tasks-and-events+ 9f8d154791...01c43d2aa6 JY-20553-debug-crm-sync-delays-> origin/JY-20553-debug-crm-sync-delays (forced update)* [new branch]JY-20695-handle-no-raw-transcript-› origin/JY-20695-handle-no-raw-transcriptbe76d8ba82..9b30c928c4JY-9712-change-forever-nudges-to-1-year-expiration -> origin/JY-9712-change-forever-nudges-to-1-year-expiration5bb8fefcba..c04e334173master-> origin/masterUpdating aba9685c0d..08ed383c5berror: Your local changes to the following files would be overwritten by merge:app/Http/Controllers/Webhook/ReportController.phpPlease commit your changes or stash them before you merge.Abortingukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ Uec2-user@ip-10-...• 87100% <478Fri 17 Apr 15:38:341₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
|
PhpStormFileEditFV faVsco.s vProject vO dependency PhpStormFileEditFV faVsco.s vProject vO dependency-checker.jsonO dev.jsonEids.txt=infection.json.distM+INS ALL.mOM+ INTERNAL_ WEBHOOK SETUPjiminny_storageM+ licenses.mdM MakefileO package-lock.json= phpstan.neon.dist= phpstan-baseline.neon<phpunit.xmlTe raw_sql_query.sqlMeR-ADME.moê sonar-project.properties= test.py<> Untitled Diagram.xmlus vetur.config.isM+ WEBHOOK_FILTERING_IMPLE› Ih External LibrariesE® Scratches and Consoles~ D Database Consoles>dEUjiminny@localhostV &PRODA console [PROD]A console_1 [PROD]2 DI [PROD]ViewNavigateCodeLaravelRefactorToolsWindowHelp#11894 on JY-18909-automated-reports-ask-jiminny k ~© PlaybookRepository.php© ImportActivityTypes.php x© FieldRepository.php© AskJiminnyReportActivityService.php© ReportController.phpC JiminnyDebugCommand.php© AutomatedReportsSendCommand.php© AutomatedReportsCommand.phpC AutomatedReportsRepository.php© AutomatedReportsService.phpC TrackProviderInstalledEvent.php© CreateActivityLoqgedEvent.php© CreateHeldActivityEvent.phpC UserPilotActivityListener.php= custom.log< console LUl= laravel.logA console [STAGING]A SF [jiminny@localhost]A HS_local [iminny@localhost]C RequestGenerateAskJiminnyReportJobTest.phpA console [PROD] XIx. AUto vMlaycroundvSa jiminny ~034 A1 A33 X61 ^© ActivityLogged.php© AutomatedReportsCallbackService.php© RequestGenerateReportJob.phpc) AutomatedReportResult.onoclass ImportActivitxIxRes implements ShouldQueuepublic function handle(PlaybookCreated $event): void© RequestGenerateAskJiminnyReportJob.php© AutomatedReport.php577578579580581A2 л v 582583584585't 586SELECT * FROM automated_report_results order by id desc;select * from features;select * from team_features where feature_id = 40;select * from teams where id = 556.if (Str::contains(strtolower($valve->label), ['sms received','sms in',$data['type'] = PlaybookCategory::TYPE_SMS_INBOUND;select * from automated_reports where id = 54; # 4fdd41f6-dcF0-30d0-b339-7345381b6044,["pdf", "prSELECT * FROM automated_report_results WHERE uvid_to_bin('822fa41b-afd3-43a9-a248-86b0e36f3131')_=select * from automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;$this->repository->create($playbook, $data);588589590select * from automated_report_results WHERE ceRont.id = 54;select * from opportunities where id = 7594349;1 usageprivate function fetchActivityFieldValues(Field $field): Collection5945931574575OY0V597SELECT * FROM teams WHERE name LIKE '%Les%'; # 711), 692, 16067B -[EMAIL] x Tr01playbooks where team_id = 711; # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm_fields WHERE id = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;/** @var Collection<FieldValue> */return $this->fieldRepository->getPicklistValves($field);Services+oс exv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFdns locallV &PROD4 console 1 s 226 msV ASTAGINGc consoey Docker{ Tech Day Review • in 1h 22 mARequestGenerateAskJiminnyReportJobTest v100% C•Fri 17 Apr 15:38:34CascadeAutomated Report Retrfired:Playbook Activity Type+0 •searched Playbookcrealed ana perormed z other queriesNow I have a complete understanding of the flow. Let me summarize what I found:w"oy I Works: Pavoook Createo → AcIVIVoe carecoresFlow1. Playbook creation ( PlaybookController::store() ):• PlaybookRepository::create() creates the playbook, setting activity field id via getDefaulLACTIV1LV-leLdevent (new PlaybookCreated($playbook, $user)) fires%Pavoookcreated Steners al •ueue. Va Shoul dQueue "Atrachlavout — creales ne ceaur crmlavoulCreatePlaybookCreatedEvent — tracks in PlanhatImportActivitylypes — Imports picklist values as calegorles3. ImportActivityTypes::handle() (ImportActivityTypes.php:33-69):• Skips if categories already exist• Calls $crmService->syncField($playbook->getActivityField()) - syncs field metadata• Calls $crmService->importPicklistValues($playbook->getActivityField()) - returns savedFieldValue [I Eloquent modelsreratesyatues a calsethies renas/ter.es treste/tinlavheats rontaIterates values and calls $this->repository->create($playbook, $data)ASk anvinine Ctbl+ & COO€Claude Sonnet 4.0Outputiii liminnv.crm field values# jiminny.crm_fields xiE 1rowv GOUIx. AUtoyGQGEAĐuvid (UUID)OE crm_configuration_id! crm_provider_id• labelI descriptionO typeI LengthI default_valueobject_typeJ is_selectableO is_mandatoryDis_filterableis_indexableID created_at• updated_atD is_readonly226147692TypeType4f807b7c-86e9-2d77-81d6-d58b542821e9OCKUIST<null>event2023-04-24 09:30:232023-05-17 18:36:57worksoace associated with branch Jy-los0g-automaled-repony' has been restored // Rollback // Configure... (4 minutes ago)usv v]W Windsurf Teams 593:51 (3 chars) UTF-84 spaces...
|
NULL
|
NULL
|
NULL
|