|
PhpStormProject vFileEditViewNavigateCodeLaravelRe PhpStormProject vFileEditViewNavigateCodeLaravelRefactorToolsWindowHelpFV faVsco.js v( #11894 on JY-18909-automated-reports-ask-jiminny k v© PlaybookRepository.phpImponAcuivily lypes.onp© FieldRepository.php= custom.log= laravel.logA SF [jiminny@localhost]A HS_local [iminny@localhost]A console [PROD] Xv J Crm© AskJiminnyReportActivityService.phpC JiminnyDebugCommand.php< console LUlA console [STAGING]© RequestGenerateAskJiminnyReportJobTest.php6 Bootstrapintegration© ImportActivity Types.© AutomatedReportsSendCommand.php© AutomatedReportsCommand.phpTx: AutovHaycroundvma iminny vSELECT * FROM teams WHERE name LIKE '%Integrum ESG%'; # 1126, 1065,© ImportMetadata.php© AutomatedReportsRepository.php© CreateHeldActivityEvent.php034 A1 A34 X62 Aselect * from opportunities where team_id = 1126;© InitProfiles.phpC TrackProviderInstalledEvent.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.php558SELECT * FROM teams WHERE name LIKE "%Base%'* # 1125, 1063,© LayoutModifiedListe© LayoutUpdatedListel© ActivityLogged.php9 AutomatedReportsCallbackService.php• RequestGenerateAskJiminnyReportJob.php559select * fromopportunities where team_id = 1125;select * from contacts cC RematchActivityOnC© RequestGenerateReportJob.phpc) Automated keponkesuivono© AutomatedReport.php1561where c.team_1d = 8021© Resolveowner.php© SyncOpportunity.phpclass ImportActivitxIxRes implements ShouldQueueV504public function handle(PlaybookCreated $event): void563SELECT * FROM@ SyncProfileLeads.phacmumes YicKr 10 =/004470$playbook = $event->playbook;564SELECT * FROM crm_profiles WHERE user_id = 15440;© SyncProfileOpportun565SELECT * FROM crm_profiles WHERE crm_configuration_id = 555;> D DealRisksD ElasticSearch// Don't run if somehow we already have categories.566SELECT * FROM crm_configurations WHERE id = 555;if ($playbook->getCategories()→>isNotEmptyO)) {— 567SELECT * FROM users WHERE id = 15440; # team.581, gr. 15440, pl.3911, act. field 162182Groupsreturn;568SELECTO Import569C MailboxCONCAT(u.id, LASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE "' END) AS user_id,570u.email,D NudgesD Opportunities$crmService = $this->crmResolver->resolveForTeam($playbook->getTeam());571Sal.*Playbooksscrmservice->syncrleldlsplaybook->getaculvicyrleldooh572Lowner 1o Frum socal accounts sa573Julr users u on u.l = sa.soclaole 1oPlaylists$values = $crmService->importPicklistValues($playbook->getActivityFieldO);574Juir reallls t1..n<->1: on t.id = u.team idM Teams575TranscriptionWHERE U.team_id = 581 and sa.provider = 'salesferce':> D Usersif (empty($values)) {576$values = $this->fetchActivityFieldValues($playbook->getActivityField()):577> D WebhookSELECT * FROM automated_ report_results order by id desc;578= gitkeep579select * from features;© ChangeLogContextCorr/** @var stdClass{label: string} $value */580select * from team_features where feature_id = 40;› C Mail|v Modelsforeach ($values as $value) {581$data = [582select * from teams where id = 556;>_ Activity> MAi'name' => $value-›labez,|-583> D AskAnythingenao leo'=> true,584> M CalendarIyoe" →ravoookLaredor..rE ALLA5851:586> M Connection587Contractsselect * 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 id = 1919;if (Str::contains(strtolower($value->label), ['sms sent',"sms out','text 588> D CrmD ElasticSearch$data['type'] = PlaybookCategory::TYPE_SMS_OUTBOUND;589select * from automated_ report_results WHERE ceRontaid = 54;O FeatureOpportunity0 ParticipantPlaybackThemeD Playlist0 Scorecard>MWebhookC) Account.oho© Activity.php© Address.php© AiPrompt.php© AutomatedReport.php© AutomatedReportResult© Calendar.php© Calllmport.php591if (Str::contains(strtolower($valve->label), ['sms received',"sms 1n',t 592$data['type'] = PlaybookCategory::TYPE_SMS_INBOUND;15931594595фchis->reposicory->creace(,playdook, sdaca);596 v597598599lusaee600private function fetchActivityFieldValues(Field $field): Collection601602/** @var Collection<FieldValue> */return $this->fieldRepository->getPicklistValves($field);603604605select * from opportunitles where 1d = 7594349SELECT * FROM teams WHEREname LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * from plavbooks where team id = 711: # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROMWHEREid = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;SELECT * FROM crm_configurations WHERE id = 692;© CoachingFeedback.php© CoachingFeedbackVisit© CoachingSection.php607SELECTCONCAT (u.id, CASE WHEN U.id = t.owner_id THEN ' (owner) ' ELSE "' END) AS user_id,U.emall,sa.*,towner 1d FROM soctal accounts saJOIN users u on u.id = sa.sociable_idJOTN teams + 1.n<->1: on t.id = u.team idWHERE u.team_id = 711 and sa.provider = 'salesforce':© CoachingSectionCriteric© CoachingSectionCriteri© CoachingSectionFeedb:© CommentAbstract.phpworksoace associated with branch Jy-loy0g-automaled-repg Tech Day Review • in 1h 3 mARequestGenerateAskJiminnyReportJobTest v100% C•Fri 17 Apr 15:57:35CascadeAutomated Report RetiPlaybook Activity TypeLet me check the fallback path more carefully:+D ...•ImportActivityTypes.php:45-49w$values = $crmService->importPicklistValues($playbook->getActivityField());if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());1moortrickuscvalues rerurns tle dvalues — anarrav or saveo rieldvalue -ocuent mocels, Inefallback fetchActivityFieldValues also returns FieldValue models from DB.unen the lteration.ImportActivityTypes.php:51-67/** @var stdClass(label: string} $value */Toreach svalues as svaluenoaras→ $va lue-> Labe L,This is the bug. The avar docblock says stdClass but svalue is actually a FieldValue Eloquent model.For importPicklistValues path, it works because FieldValue has a label property.But for the fallback path fetchActivityFieldValues(), same thing - FieldValue models, $value→>labeWait - the DB has 7 existing crm_field_values. The fallback should have found them. Let me re-examinethe real issue: the Salesforce field values in DB are stale (from 2023) and don't match the currentSalestorce picklist (8 different values now). But more critically:Coarchodl NoRosultsExcention.in ano/services/crm/salestorce/service.onoz/Now let me check what syncField does for a non-custom field with object_type = 'event":Service.php:379-410} else {$query =SELEClJo, Daral voe, Developervame, Label, Lenoth. DescriotonFROMFieldDetinationWHEREDurableId = :entityName';sentityname = stleld->qectnclcynameSearched getEntityName in app/Models/Crm/Field.php (1)S0 getentityName() for this tield returns "Event.lype". Ine syncrieta() FleldDerinition soel querywould querv tor Fvent Tvne —this is a vallo stancaro S- obiect tield. But the kev insiaht Is.syncField() does NOT import picklist values for non-custom fields in the standard syncField() method— Il only syncs meladata (label, tyoe, lenouh. Ine picklist values are impored separately in 1mportP1cKuastvaltesoNow the critical question - why did importPicklistValues return empty? Let me look at what exceptionscoule ve nrown oesces NoresultsexceptionSearched getObjectsUrl|client->get in app/Services/Crm/Salesforce (12)Now I see it clearly. In getObjectFields ():SyncFieldsTrait.php:27-36$cachekey = 'crm.profile#' • $this→>profile->id . '.fieldType:' • $objectType;return Cache:: remember(ScacheKey, 300, function use (SobiectType) !$url = $this->client->get0bjectsUrl() • ucfirst($objectType)"/describe':Ask anything (24L)+ ‹› CodeClaude Sonnet 4.6winasun leams54:41uir-o( 4 spaces...
|
NULL
|
NULL
|
NULL
|
48672
|
|
PhpStormProject vFileEditViewNavigateCodeLaravelRe PhpStormProject vFileEditViewNavigateCodeLaravelRefactorToolsWindowHelpFV faVsco.js v( #11894 on JY-18909-automated-reports-ask-jiminny k v© PlaybookRepository.phpImponacuivily lypes.ono© FieldRepository.php= custom.log= laravel.logA SF [jiminny@localhost]A HS_local [iminny@localhost]A console [PROD] Xv J Crm© AskJiminnyReportActivityService.phpC JiminnyDebugCommand.php< console LUlA console [STAGING]© RequestGenerateAskJiminnyReportJobTest.php6 Bootstrapintegration© ImportActivity Types.© AutomatedReportsSendCommand.php© AutomatedReportsCommand.phpTx: AutovHaycroundvma iminny vSELECT * FROM teams WHERE name LIKE '%Integrum ESG%'; # 1126, 1065,© ImportMetadata.php© AutomatedReportsRepository.php© CreateHeldActivityEvent.php034 A1 A34 X62 Aselect * from opportunities where team_id = 1126;© InitProfiles.phpC TrackProviderInstalledEvent.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.php558SELECT * FROM teams WHERE name LIKE "%Base%'* # 1125, 1063,© LayoutModifiedListe© LayoutUpdatedListel© ActivityLogged.php9 AutomatedReportsCallbackService.php• RequestGenerateAskJiminnyReportJob.php559select * fromopportunities where team_id = 1125;select * from contacts cC RematchActivityOnCC RequestGenerateReportJob.phpc) Automated keponkesuivono© AutomatedReport.php1561where c.team_1d = 8021© Resolveowner.php© SyncOpportunity.phpclass ImportActivitxIxRes implements ShouldQueueV504public function handle(PlaybookCreated $event): void563SELECT * FROM@ SyncProfileLeads.phacmumes YicKr 10 =/004470$playbook = $event->playbook;564SELECT * FROM crm_profiles WHERE user_id = 15440;© SyncProfileOpportun565SELECT * FROM crm_profiles WHERE crm_configuration_id = 555;> D DealRisksD ElasticSearch// Don't run if somehow we already have categories.566SELECT * FROM crm_configurations WHERE id = 555;if ($playbook->getCategories()→>isNotEmptyO)) {— 567SELECT * FROM users WHERE id = 15440; # team.581, gr. 15440, pl.3911, act. field 162182Groupsreturn;568SELECTO Import569C MailboxCONCAT(u.id, LASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE "' END) AS user_id,570u.email,D NudgesD Opportunities$crmService = $this->crmResolver->resolveForTeam($playbook->getTeam());571Sal.*Playbooksscrmservice->syncrleldlsplaybook->getaculvicyrleldooh572Lowner 1o Frum socal accounts sa573Julr users u on u.l = sa.soclaole 1oPlaylists$values = $crmService->importPicklistValues($playbook->getActivityFieldO);574Juir reallls t1..n<->1: on t.id = u.team idM Teams575TranscriptionWHERE U.team_id = 581 and sa.provider = 'salesferce':> D Usersif (empty($values)) {576$values = $this->fetchActivityFieldValues($playbook->getActivityField()) :577> D WebhookSELECT * FROM automated_ report_results order by id desc;578= gitkeep579select * from features;© ChangeLogContextCorr/** @var stdClass{label: string} $value */580select * from team_features where feature_id = 40;› C Mail|v Modelsforeach ($values as $value) {581$data = [582select * from teams where id = 556;>_ Activity> MAi'name' => $value-›labez,|-583> D AskAnythingenao leo'=> true,584> M CalendarIyoe" →ravoookLaredor..rE ALLA5851:586> M Connection587Contractsselect * 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 id = 1919;if (Str::contains(strtolower($value->label), ['sms sent',"sms out','text 588> D CrmD ElasticSearch$data['type'] = PlaybookCategory::TYPE_SMS_OUTBOUND;589select * from automated_ report_results WHERE ceRontaid = 54;O FeatureOpportunity0 ParticipantPlaybackThemeD Playlist0 Scorecard>MWebhookC) Account.oho© Activity.php© Address.php© AiPrompt.php© AutomatedReport.php© AutomatedReportResult© Calendar.php© Calllmport.php591if (Str::contains(strtolower($valve->label), ['sms received',"sms 1n',t 592$data['type'] = PlaybookCategory::TYPE_SMS_INBOUND;15931594595фchis->reposicory->creace(,playdook, sdaca);596 v597598599lusaee600private function fetchActivityFieldValues(Field $field): Collection601602/** @var Collection<FieldValue> */return $this->fieldRepository->getPicklistValves($field);603604605select * from opportunitles where 1d = 7594349SELECT * FROM teams WHEREname LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * from plavbooks where team id = 711: # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROMWHEREid = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;SELECT * FROM crm_configurations WHERE id = 692;© CoachingFeedback.php© CoachingFeedbackVisit© CoachingSection.php607SELECTCONCAT (u.id, CASE WHEN U.id = t.owner_id THEN ' (owner) ' ELSE "' END) AS user_id,U.emall,sa.*,towner 1d FROM soctal accounts saJOIN users u on u.id = sa.sociable_idJOTN teams + 1.n<->1: on t.id = u.team idWHERE u.team_id = 711 and sa.provider = 'salesforce':© CoachingSectionCriteric© CoachingSectionCriteri© CoachingSectionFeedb:© CommentAbstract.phpworksoace associated with branch Jy-loy0g-automaled-repg Tech Day Review • in 1h 3 mARequestGenerateAskJiminnyReportJobTest v100% C•Fri 17 Apr 15:57:40CascadeAutomated Report RetiPlaybook Activity TypeLet me check the fallback path more carefully:+D ...ImportActivityTypes.php:45-49w$values = $crmService->importPicklistValues($playbook->getActivityField());if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());1moortrickuscvalues rerurns tle dvalues — anarrav or saveo rieldvalue -ocuent mocels, Inefallback fetchActivityFieldValues also returns FieldValue models from DB.unen the lteration.ImportActivityTypes.php:51-67/** @var stdClass(label: string} $value */Toreach svalues as svaluenoaras→ $va lue-> Labe L,This is the bug. The avar docblock says stdClass but svalue is actually a FieldValue Eloquent model.For importPicklistValues path, it works because FieldValue has a label property.But for the fallback path fetchActivityFieldValues(), same thing - FieldValue models, $value→>labeWait - the DB has 7 existing crm_field_values. The fallback should have found them. Let me re-examinethe real issue: the Salesforce field values in DB are stale (from 2023) and don't match the currentSalestorce picklist (8 different values now). But more critically:Coarchodl NoRosultsExcention.in ano/services/crm/salestorce/service.onoz/Now let me check what syncField does for a non-custom field with object_type = 'event":Service.php:379-410} else {$query =SELEClJo, Daral voe, Developervame, Label, Lenoth. DescriotonFROMFieldDetinationWHEREDurableId = :entityName';sentityname = stleld->qectnclcynameSearched getEntityName in app/Models/Crm/Field.php (1)S0 getentityName() for this tield returns "Event.lype". Ine syncrieta() FleldDerinition soel querywould querv tor Fvent Tvne —this is a vallo stancaro S- obiect tield. But the kev insiaht Is.syncField() does NOT import picklist values for non-custom fields in the standard syncField() method— Il only syncs meladata (label, tyoe, lenouh. Ine picklist values are impored separately in 1mportP1cKuastvaltesoNow the critical question - why did importPicklistValues return empty? Let me look at what exceptionscoule ve nrown oesces NoresultsexceptionSearched getObjectsUrl|client->get in app/Services/Crm/Salesforce (12)Now I see it clearly. In getObjectFields ():SyncFieldsTrait.php:27-36$cachekey = 'crm.profile#' • $this→>profile->id . '.fieldType:' • $objectType;return Cache:: remember(ScacheKey, 300, function use (SobiectType) !$url = $this->client->get0bjectsUrl() • ucfirst($objectType)"/describe':Ask anything (24L)+ ‹› CodeClaude Sonnet 4.6winasun leams54:41uir-o( 4 spaces...
|
NULL
|
NULL
|
NULL
|
48673
|
|
PhpStormFileEditViewNavigateCodeLaravelRefactorFV PhpStormFileEditViewNavigateCodeLaravelRefactorFV faVsco.js v#11894 on JY-18909-automated-reports-ask-iminny K vProject vToolsWindowHelp© PlaybookRepository.php© ImportActivityTypes.php© Service.php© FieldRepository.php© SnapshotRepository.ph||© AskJiminnyReportActivityService.php© ReportController.php) JiminnyDebuccommana.ono© SocialAccountRepositor© AutomatedReportsSendCommand.php© AutomatedReportsCommand.php© StageRepository.php© AutomatedReportsRepository.php• CreateHeldActivityEvent.php© SubscriptionSetRepositTaskRepository.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.php558© TeamAiContextRepositc© ActivityLogged.php© AutomatedReportsCallbackService.php© RequestGenerateAskJiminnyReportJob.php559C) TeamDomainsRepositor© TeamInsightsRepository© RequestGenerateReportJob.php(c) AutomatedReportkesult.ong© AutomatedReport.php1561©TeamRepository.phpclass Service extends BaseService implementsAnalyzing...562©ThemeRepository.php000public function syncField(Field $field): void563©TimezoneRepository.ph364564© TopicRepository.php365// There is always 1 result at this point.565© TорicTriggerRepository366$sfField = $sfFields->current();566© TrackRepository.php367567© TranscriptionModelLoc:© TranscriptionRepository368// Sync field metadata.568369onetadara = ostrielol'metadata'a© TranscriptionSummaryF569370570© UserRepository.php$field->description = mb_strimwidth($metadata['description'] ?? "© VocabularyRepository.p372$field->label = mb_strimwidth($metadatal'label']??571Field::LA 572> _ Rules373$field->type = $this->convertFieldType($metadata['type'],$field->ge 573v D Services374$field->is_mandatory = ($metadata['required'] === true);> D Activity375$field->length = $metadata[ 'length']:> C AjReports> D Avatar376$field->default_value = mb_strimwidth(trim($metadata[ 'defaultValue'] 576377$field->save();C Calendar3787 else {577578D Conference379$query ='M579D Crm380SELECT580Bullhorn381Id, DataType, DeveloperName, Label, Length, Description581382FKUM582• Copper383ne couermlalon58.4• CrmObjects584WNCKC584D DecorateActivity385Durableld = :entityName'D Dummy386C Helpers387$entityName = $field->getEntityName();587• Hubspot388$sfFields = $this->queryHandler->metadata($query, [588[ IntegrationApp389'entityName' => $entityName,589• Listeners390]):070MeradatalMigration391591394// There is always 1 result at this point.-592Pibedrive395$sfField = $sfFields->currentO;593M Salesforce574594> D Fields395$convertedType = $this->convertFieldType($sfField['DataType'], $enti 595> D OpportunityMatcl396$label = mb_strimwidth($sfField['Label'], O, Field::LABEL_MAX_LENGTH 596 v> D OpportunitySync!397> D ProspectSearchS398if ($field->isBusinessType)) {598> D ServiceTraits399$label = 'Opportunity Type';599© Client.php400600© DecorateActivity-401601* DeleteObjectsTra402$field->description = mb_strimwidth($sfField['Description'], 0, Fiel 602© FieldDefinitions.p© PayloadBuilder.pt403$field->label = $label;404фTleld->type = convertedlype:604© Profile.php405$field->Length = $sfField['Length'];605C) @uervBuilder.php400$field->save();606© QueryHandler.ph|40/© Querylterator.php408} catch (NoResultsException $noResultsException) {© QueryResults.php407// Nothing to sync.© Service.php410© SyncBatchRedisSO Traits412Workspace associated with branch 'JY-18909-automated-reports-ask-jiminny' has been restored // Rollback // Configure... (23 minutes ago)= custom.log< console EUi= laravel.logA console [STAGING]A SF [jiminny@localhost]A HS_local [iminny@localhost]A console [PROD] X© RequestGenerateAskJiminnyReportJobTest.phpIx. Aulo vHaycroundvSELECT * 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 * fromopportunities where team_id = 1125;select * from contacts cwhere c.team_id = 882;Ma lminny v034 A1 A34 X62 ASELECT * FROMacmumes YicKr 10 =/004470SELECT * FROM crm_profiles WHERE user_id = 15440;SELECT * FROM crm_profiles WHERE 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,Sal.*Lowner 1o Frum socal accounts saJulr users u on u.l = sa.soclaole 1oJOIN teams t 1..n‹->1: on t.id = u.team idWHERE U.team_id = 581 and sa.provider = 'salesferce':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 uuid_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 ceRontaid = 54;select * from opportunities where id = 7594349;SELE * FROM teams WHERE name LIKE'%Les%'; # 711, 692, 16067B - [EMAIL] * from playbooks where team_id = 711; # event 226147ocLE * -rumolavoook caredories Vhcke oLavoook 10 = 5515.SELECT * FROM crm_fieldsid = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;SELECT * FROM crm_configurations WHERE id = 692;SELECTCONCAT(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 T n<→>l: on t.1d = U.team_1dVheke Urrean 1o = ano sa.orovtder ='salesfonce' :g Tech Day Review • in 1h 3 mARequestGenerateAskJiminnyReportJobTest v100% C•Fri 17 Apr 15:57:43CascadeAutomated Report RetiPlaybook Activity TypeLet me check the fallback path more carefully:• ImportActivityTypes.php:45-49$values = $crmService->importPicklistValues($playbook->getActivityField());+D ..wif (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());1moortrickuscvalues rerurns tle dvalues — anarrav or saveo rieldvalue -ocuent mocels, Inefallback fetchActivityFieldValues also returns FieldValue models from DB.unen the lteration.ImportActivityTypes.php:51-67/** @var stdClass(label: string} $value */Toreach svalues as svaluenoaras= $value→> LabeL,This is the bug. The avar docblock says stdClass but svalue is actually a FieldValue Eloquent model.For importPicklistValues path, it works because FieldValue has a label property.But for the fallback path fetchActivityFieldValues(), same thing - FieldValue models, $value→>labeWait - the DB has 7 existing crm_field_values. The fallback should have found them. Let me re-examinethe real issue: the Salesforce field values in DB are stale (from 2023) and don't match the currentSalestorce picklist (8 different values now). But more critically:Coarchodl NoRosultsExcention.in ano/services/crm/salestorce/service.onoz/Now let me check what syncField does for a non-custom field with object_type = 'event":Service.php:379-410} else {$query ='SELEClId, DataType, Deve(SperName, Label, Length, DescriptionFROMFieldDetinat ionWHEREDurableId = :entityName';sentityname = stleld->qectnclcynameSearched getEntityName in app/Models/Crm/Field.php (1)S0 getentityName() for this tield returns "Event.lype". Ine syncrieta() FleldDerinition soul querywould querv tor Fvent Tvne —this is a vallo stancaro S- obiect tield. But the kev insiaht Is.syncField() does NOT import picklist values for non-custom fields in the standard syncField() method— Il only syncs meladata (label, tyoe, lenouh. Ine picklist values are impored separately in 1mportP1cKuastvaltesoNow the critical question - why did importPicklistValues return empty? Let me look at what exceptionscoule ve nrown oesces NoresultsexceptionSearched getObjectsUrl client->get in app/Services/Crm/Salesforce (12)Now I see it clearly. In getObjectFields ():SyncFieldsTrait.php:27-36$cachekey = 'crm.profile#' • $this→>profile->id . '.fieldType:' • $objectType;return Cache:: remember(ScacheKey, 300, function use (SobiectType) !$url = $this->client->get0bjectsUrl() • ucfirst($objectType)"/describe':Ask anything (24L)+ ‹> CodeClaude Sonnet 4.6Winasun leamsuir-o( 4 spaces...
|
NULL
|
NULL
|
NULL
|
48674
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelp>0.(a6]• Tech Day Review - in 1h 3 mAPP (-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:57:451₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48675
|
|
PhpStormFileEditViewNavigateCodeLaravelRefactorToo PhpStormFileEditViewNavigateCodeLaravelRefactorToolsWindowHelpFV faVsco.js v#11894 on JY-18909-automated-reports-ask-jiminny k ~Project v© PlaybookRepository.php© ImportActivityTypes.php© Service.php© FieldRepository.php© SnapshotRepository.ph||© AskJiminnyReportActivityService.php© ReportController.php) JiminnyDebuccommana.ono© SocialAccountRepositor© AutomatedReportsSendCommand.php© AutomatedReportsCommand.php© StageRepository.php© AutomatedReportsRepository.php© CreateHeldActivityEvent.php© SubscriptionSetRepositTaskRepository.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.php558C) TeamAiContextReposit‹© ActivityLogged.php© AutomatedReportsCallbackService.php© RequestGenerateAskJiminnyReportJob.php559C) TeamDomainsRepositorC TeaminsightsRepositon© RequestGenerateReportJob.phpc AutomatedRenorkesult.ong© AutomatedReport.php1561©TeamRepository.phpclass Service extends BaseService implementsB1^V504©ThemeRepository.php000public function syncField(Field $field): void563©TimezoneRepository.ph364564© TopicRepository.php365// There is always 1 result at this point.565© TорicTriggerRepository366$sfField = $sfFields->current();566© TrackRepository.php367567© TranscriptionModelLoc:© TranscriptionRepository368// Sync field metadata.568369onetadara = ostrielol'metadata'a© TranscriptionSummaryF569370570© UserRepository.php371$field->description = mb_strimwidth($metadata['description'] ?? "',© VocabularyRepository.p372$field->label = mb_strimwidth($metadatal'label']??571Field::LA 572> _ Rules5/5$field->type = $this->convertFieldType($metadata['type'],$field->ge 573v D Services374$field->is_mandatory = ($metadata['required'] === true);> D Activity375$field->length = $metadata[ 'length']:> C AjReports7575$field->default_value = mb_strimwidth(trim($metadata[ 'defaultValue'] 576> D Avatar376377$field->save();C Calendar3787 else {1577> D Conference3791578$query = '579D CrmSELECT580BullhornId, DataType, DeveloperName, Label, Length, Description581FKUM582eloverlimoiWNCKC= custom.log< console EUi= laravel.logA SF [jiminny@localhost]A console [STAGING]A HS_local [iminny@localhost]A console [PROD] X© RequestGenerateAskJiminnyReportJobTest.phpTx: AutovHaycroundvSELECT * FROM teams WHERE name LIKE '%Integrum ESG%'; # 1126, 1065,Ma lminny v034 A1 A34 X62 Aselect * from opportunities where team_id = 1126;SELECT * FROM teams WHERE name LIKE '%Base%'; # 1125, 1063,select * fromopportunities where team_id = 1125;select * from contacts cwhere c.team_1d = 802,SELECT * FROMacmumes YicKr 10 =/004470SELECT * FROM crm_profiles WHERE user_id = 15440;SELECT * FROM crm_profiles WHERE 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,Sal.*Lowner 1o Frum socal accounts saJulr users u on u.l = sa.sociaole 1oJuir reallls tIs»l. On 1.10 = U.teall l0WHERE U.team_id = 581 and sa.provider = 'salesferce':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;coooelL crmoo ectsD DecorateActivityD DummyC Helpers• Hubspot[ IntegrationAppListenersMeradatalMigrationPibedriveM Salesforce> D Fields> D OpportunityMatcl> D OpportunitySync!> D ProspectSearchS> D ServiceTraits© Client.php© DecorateActivity-* DeleteObjectsTra© FieldDefinitions.p© PayloadBuilder.pt© Profile.php© QueryBuilder.php(©) QueryHandler.phi© Querylterator.php© QueryResults.php© Service.php© SyncBatchRedisSO Traits585584385386Durableld = :entityName'58558638838939039139239539439539639739839940040140240340440540040/408$entityName = $field->getEntityName();$sfFields = $this->queryHandler->metadata($query, ['entityName' => $entityName,]):588589590select * 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 id = 1919;select * from automated_ report_results WHERE reRontaid = 54;select * from opportunities where id = 7594349;nere is auwavs I resulr at ciis oounu592SsfField = $sfFields->currento:593594$convertedType = $this->convertFieldType($sfField['DataType'], $enti 595$label = mb_strimwidth($sfField['Label'], O, Field::LABEL_MAX_LENGTH 596 v597if ($field->isBusinessType)) {598$label = 'Opportunity Type';599600601$field->description = mb_strimwidth($sfField['Description'], 0, Fiel 602$field->label = $label;$field->type = $convertedType;603604mieloen enoun - "strieuoltenotn605$field->save();606607SELECT * FROM teams WHERE name LIKE "%LeS%"; # 711, 692, 1606/B - [EMAIL] * from playbooks where team_id = 711; # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm_fieldsid = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;SELECT * FROM crm_configurations WHERE id = 692;SELECTCONCAT(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 t n<→>l on t.1d = U.ceam_10Vheke Urrean 1o = ano sa.orovtder ='salesfonce' :} catch (NoResultsException $noResultsException) {// Nothing to sync.410Workspace associated with branch 'JY-18909-automated-reports-ask-jiminny' has been restored // Rollback // Configure... (23 minutes ago)g Tech Day Review • in 1h 3 mA100% C•Fri 17 Apr 15:57:46RequestGenerateAskJiminnyReportJobTest vCascadeAutomated Report RetiPlaybook Activity Type+0 •Let me check the fallback path more carefully:ImportActivityTypes.php:45-49w$values = $crmService->importPicklistValues($playbook->getActivityField());if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());1moortrickuscvalues rerurns tle dvalues — anarrav or saveo rieldvalue -ocuent mocels, Inefallback fetchActivityFieldValues also returns FieldValue models from DB.unen the lteration.ImportActivityTypes.php:51-67/** @var stdClass(label: string} $value */Toreach svalues as svaluenoaras→ $va lue-> Labe L,This is the bug. The avar docblock says stdClass but svalue is actually a FieldValue Eloquent model.For importPicklistValues path, it works because FieldValue has a label property.But for the fallback path fetchActivityFieldValues(), same thing - FieldValue models, $value→>labeWait - the DB has 7 existing crm_field_values. The fallback should have found them. Let me re-examinethe real issue: the Salesforce field values in DB are stale (from 2023) and don't match the currentSalestorce picklist (8 different values now). But more critically:Coarchedl NoRosulisExcention.in ano/services/crmisalestorce/service.ongcmzNow let me check what syncField does for a non-custom field with object_type = 'event":Service.php:379-410} else {$query =SELEClFROMWHEREJo, Daral voe, Developervame, Label, Lenouh, DescriotionFieldDetinationDurableId = :entityName';sentityname = stleld->qectnclcynameSearched getEntityName in app/Models/Crm/Field.php (1)S0 getentityName() for this tield returns "Event.lype". Ine syncrieta() FleldDerinition soel querywould querv tor Fvent Tvne —this is a vallo stancaro S- obiect tield. But the kev insiaht Is.syncField() does NOT import picklist values for non-custom fields in the standard syncField() method— Il only syncs meladata (label, tyoe, lenouh. Ine picklist values are impored separately in 1mportP1cKuastValues ().Now the critical question - why did importPicklistValues return empty? Let me look at what exceptionscoule ve nrown oesces NoresultsexceptionSearched getObjectsUrl client->get in app/Services/Crm/Salesforce (12)Now I see it clearly. In getObjectFields ():SyncFieldsTrait.php:27-36$cachekey = 'crm.profile#' • $this→>profile->id . '.fieldType:' • $objectType;return Cache:: remember(ScacheKey, 300, function use (SobiectType)$url = $this->client->get0bjectsUrl() • ucfirst($objectType)"/describe':Ask anything (24L)+ ‹› CodeClaude Sonnet 4.6Winasun leamsuir-o( 4 spaces...
|
NULL
|
NULL
|
NULL
|
48676
|
|
PhpStormFileFditViewNavigateCodeLaravelRetactonToo PhpStormFileFditViewNavigateCodeLaravelRetactonToolsWindowHelpFV faVsco.js v#11894 on JY-18909-automated-reports-ask-iminny K vProject v© SnapshotRepository.ph|C SocialAccountRepositorg stageRepository.phpsubscriptionsetkeposit(C TaskRepository.phpC) TeamAiContextReposit‹C) TeamDomainsRepositorC TeaminsightsRepositonC TeamRepository.php©) ThemeRepository.phpC TimezoneRepository.phC TopicRepository.phpC) TopicTriggerRepositoryg TrackRepository.php© TranscriptionModelLoc:C TranscriptionRepositoryC) TranscriptionSummarvFC UserRepository.phpC) VocabularvRepositorv.n> _ Rulesv _ Services>_ Activity>D AReportsM Avatar• calendarM Conference0 ermBullhornM Copper_ CrmObiects_ DecorateActivity→ Dummy• Helpers_ HubspotD IntegrationApp_ ListenersMeradatalD MigrationPibedriveM Salesforce› Fields> → OpportunityMatcl>→ OpportunitySync!> D ProspectSearchS>D ServiceTraits© client.php(©) DecorateActivity.V DeleteObjectsira©FieldDerinitions.pC) PavloadBuilder.ohC) Profile.phpC) @uervBuilder.php(C) QueryHandler.phi(©) Querylterator.phg(C) QueryResults.php©) Service.php(©) SyncBatchRedisSJ TraitsC PlaybookRepository.php©IportActivity Types.php X© Service.phpC FieldRepository.phpC AskJiminnyReportActivityService.phpC ReportController.phpC JiminnyDebugCommand.php= custom.log= laravel.logd SF (iminny@localhostHS_local fiminny@localhost)& console PROD X< console LUl4 console [STAGING© AutomatedReportsSendCommand.php© AutomatedReportsCommand.phpC AutomatedReportsRepository.php(©) AutomatedReportsService.php©) Create-eldActivityEvent.ongC TrackProviderInstalledEvent.php© CreateActivityLoqgedEvent.phpC UserPilotActivityListener.php558) Activiv odded.nhn© AutomatedReportsCallbackService.php© RequestGenerateAskJiminnyReportJob.phpC RequestGenerateReportJob.php(C AutomatedReportResult.php(C AutomatedReport.php1561s usaees/**class Service extends BaseService implements321 0>pubLlc Tunccion cecueacinstonusrlelas. arraya...r325040330331332333555336 CI557B1^V504563564565private function isCustomField(Field Sfield): booli...h566568* Ihis one is now called only when ImportActivitylypes is triggered or syncriel 569* Regular sync now uses sharedsynchiecastralt -› syncsingleudyectlype—57€* Neeos o de renticed uurer on=571ououc tuncmon syncrelourel nmeloy. vola573try34634134234234434534634734834935035135235335435535635855436136236436636736836%371372373374375if ($this->isCustomField($field)) {Squery =SFIFCT1d, Metadata, TabletnumoridFROMcuscomFleldWHIEKEVevelovername = TlelovaneAIMUaoecnunurio = mecolvoeANDNamespacePrefix = :namespacePrefix':5/705775781701580581582583584585586587588// We need to constrain the field lookup to the object, in case it 3 589?'activity':$fleld->object_type;"fieldName''fieldTvoe' => ucfirst(SobiectTvoe).namespacePrefix' = 'null',1):5921593594— 596 /=597599691// There is always 1 result at this point.ssfrield = ssfrlelds->currenton= 603/ sync tleld metadata,$metadata = $sfField['Metadata']:— 607$field->label = mb_ strimwidthSmetadatal'label'] ??$field->Length = $metadatal'Length'Jworksoace associated with branch Jy-los0g-automared-repors-ask-iminny nas been restorea // kollback // contigure... (23 minutes ago)C RequestGenerateAskJiminnyReportJobTest.phpTx: AutovHaycroundvMa lminny vSELECT * FROM teams WHERE name LIKE "%Integrum ES6%* # 1126, 1065,034 A1 A34 V 62 ^select * from opportunitles where team_1d = 1126:SELECT * FROM teams WHERE name LIKE "%Base%'; # 1125, 1063,seLect * troopportunitles where team_1d = 1125;seLect * trom contacus cwhere c.team_1d = 802,SELECT * FROMactivities WHERE id = 76822967SELECT * FROM crm_ profiles WHERE user id = 15440:SELECT * FROM crm_ profiles WHERE crm confiquration id = 555:SELECT * FROM crm_confiqurations WHERE 1d = 5551SELECT * FROM users WHERE id = 15440; # team.581, gr. 15440, pl.3911, act. field 162182SELECTCONCAT(U.1d, CASE WHEN U.1d = t.owner_1d THEN' (owner)' ELSE"' END) AS User_1d,u.emall,Sal.*Towner 1o Frum socal accounts saJulr users u on u.l = sa.soclaole 1oJuir reallls ton t.id = u.team idWHERE 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_1d = 40*select * from teams where id = 556;select * 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 id desc;SELECT * FROM automated_ report_results WHERE id = 1919;select * from automated_report_results WHERE reRont.id = 54;select * from opportunities where id = 7594349SELFCT * FROM teams WHEREI1%Les%'• # 711. 692 160678- iiminnvintearation0lesmills.comselect * from nlavbooks where team id = 711• # event 226147SELECT * FROM plavbook categories WHERE plavbook id = 5515:SELECT * FROM crm fields WHEREid = 226147:SELECT * FROM crm field values WHERE crm field id = 226147:CEECTsa.*• Tech Day Review • in 1h 3 mA100% zFri 17 Apr 15:57:49RequestGenerateAskJiminnyReportJobTest vCascadeAutomated Renort RetPlaybook Activity TypeLet me check the fallback path more carefully:ImportActivityTypes.php:45-49$values = ScrmService→>importPicklistValues($playbook->getActivityField0):1emotysvaluessvalues = $this->fetchActivityFieldValues($playbook->getActivityField0);1moortrickuscvalues rerurns tle dvalues — anarrav or saveo rieldvalue -ocuent mocels, Inefalllback fetchAct ivitvFie dValues also returns Fiel dValue models from DBunen the lteration.• ImportActivityTypes.php:51-67/** @var stdClass{label: string} $value */Toreach svalues as svaluenoaras→ $va lue-> Labe L,This is the bug. The avar docblock says stdClass but svalue is actually a FieldValue Eloquent model.For importPicklistVa lues path, it works because FieldValue has a label property.But for the fallback path fetchActivityFieldValues(), same thing - FieldValue models, $value->labeWait - the DB has / existing crm_field_values . The fallback should have tound them. Let me re-examinethe real issue: the Salesforce field values in DB are stale (from 2023) and don't match the currentSalestorce picklist (8 different values now). But more critically:Coarchodl NoRosultsExcention.in ano/services/crm/salestorce/service.onoz/Now let me check what syncField does for a non-custom field with object type = 'event" :• Service.php:379-410relse ?$query ='SELEClJo, Daral voe, Developervame, Label, Lenouh, DescriotionFROMFieldDetinationWHEREDurableId = :entityName':sentityname = stleld->qectnclcynameSearched getEntityName in app/Models/Crm/Field.php (1)S0 getentityName() for this tield returns "Event.lype". Ine syncrieta() FleldDerinition soel querywould querv tor Fvent Tvne —this is a vallo stancaro S- obiect tield. But the kev insiaht Is.syncField() does NOT import picklist values for non-custom fields in the standard syncField() method— Il only syncs meladata (label, tyoe, lenouh. Ine picklist values are impored separately in 1mportP1cKuastValuesoNow the critical question — why did importPicklistValues return empty? Let me look at what exceptionscoule ve nrown oesces NoresultsexceptionSearched getObjectsUrl client->get in app/Services/Crm/Salesforce (12)Now l see it clearly. In getObjectFields(:SyncFieldsTrait.php:27-36$cacheKey = 'crm.profile#' • $this->profile→>id . '.fieldType:' • SobjectType;return Cache:: remember(ScacheKey, 300, function use (SobiectType) !$url = Sthis->client->qetObiectsUrl . ucfirst(SobiectType) ."/describe':Ask anything (&+L)+ ‹› CodeClaude Sonnet 4.6Winasun leamsuir-oCa 4 spacesW...
|
NULL
|
NULL
|
NULL
|
48677
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelp>0.(a6]• Tech Day Review - in 1h 3 mAPP (-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:57:491₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48678
|
|
PhpStormFileEditViewNavigateCodeLaravelRefactorToo PhpStormFileEditViewNavigateCodeLaravelRefactorToolsWindowHelpFV faVsco.s v#11894 on JY-18909-automated-reports-ask-jiminny k•Project v© PlaybookRepository.php© ImportActivityTypes.php x© Service.php© FieldRepository.phpE custom.logv J Crm© AskJiminnyReportActivityService.php© ReportController.phpC JiminnyDebugCommand.php< console LUl6 Bootstrapintegration© ImportActivity Types.© AutomatedReportsSendCommand.php© AutomatedReportsCommand.php© ImportMetadata.phpC AutomatedReportsRepository.php© AutomatedReportsService.php© CreateHeldActivityEvent.php© InitProfiles.php© CreateActivityLoqgedEvent.phpC UserPilotActivityListener.php558© LayoutModifiedListe© LayoutUpdatedListel© ActivityLogged.php© AutomatedReportsCallbackService.php© RequestGenerateAskJiminnyReportJob.php559C RematchActivityOnCC RequestGenerateReportJob.php© AutomatedReportResult.php© AutomatedReport.php1561© Resolveowner.php© SyncOpportunity.phpclass ImportActivitxIxRes implements ShouldQueueAVI504public function563@ SyncProfileLeads.ph© SyncProfileOpportun) 4..3564565> D DealRisksD ElasticSearch/**566D Groups* Import the standard Event/Task Type picklist options from the CRM.— 567568O ImportC Mailboxpublic function handle(PlaybookCreated $event): void569570D NudgesD Opportunities"olavoook = sevent->olavoooke571Playbooks572Playlists// bon t run it somenow we already nave cacegories.573M Teamsif ($playbook->getCategories()->isNotEmptyO)) {Transcription39575returnr576> D Users577> D Webhook= gitkeep$crmService = $this->crmResolver->resolveForTeam($playbook->getTeam());578© ChangeLogContextCorr$crmService->syncField($playbook->getActivityField());579580› D Mailv _ Models$values = $crmService->importPicklistValues($playbook->getActivityField();581> DActivity582> MAiif (empty($values)) €-58.4> D AskAnything$values = $this->fetchActivityFieldValues($playbook->getActivityField());584585> M Calendar586> M Connection› Contracts/** @var stdClass{label: string} $value */587> D Crmforeach ($values as $value) {588D ElasticSearch$data = [589O Feature'name' => $value->label,l590591Opportunity'enabled"→ true,592ParticipantPlaybackTheme]:'type' = PlaybookCategory::TYPE_ALL,593Playlist0 Scorecard> MWebhookC) Account.oho© Activity.php©Address.php© AiPrompt.php©AutomatedReport.php© AutomatedReportResult© Calendar.php© CallImport.php© CoachingFeedback.php© CoachingFeedbackVisitif (Str::contains(strtolower($value->label), ['sms sent',"sms out','text595$data['type'] = PlaybookCategory::TYPE_SMS_OUTBOUND;596 v597598if (Str::contains(strtolower($valve->label), ['sms received', 'sms in',t599$data['type'] = PlaybookCategory::TYPE_SMS_INBOUND;600601602$this->repository->create($playbook, $data);6031694605607© CoachingSection.php1 usage© CoachingSectionCritericprivate function fetchActivityFieldValues(Field $field): Collection© CoachingSectionCriteri© CoachingSectionFeedb:© CommentAbstract.php/** Ovar Collection<FieldValue> */return $this->fieldRepository->getPicklistValues($field);inny nas been restorea kollback conticure... 23 minutes ago= laravel.logA SF [jiminny@localhost]A console [STAGING]A HS_local [iminny@localhost]A console [PROD] X© RequestGenerateAskJiminnyReportJobTest.phpTx: AutovHaycroundvSELECT * FROM teams WHERE name LIKE '%Integrum ESG%'; # 1126, 1065,ma iminny v034 A1 A34 X62 Aselect * from opportunities where team_id = 1126;SELECT * FROM teams WHERE name LIKE "%Base%'* # 1125, 1063,select * fromopportunities where team_id = 1125;select * from contacts cwhere c.team_1d = 8021SELECT * FROMacmumes YicKr 10 =/004470SELECT * FROM crm_profiles WHERE user_id = 15440;SELECT * FROM crm_profiles WHERE 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,Sal.*Lowner 1o Frum socal accounts saJulr users u on u.l = sa.soclaole 1oJOIN teams t1..n<->1: on t.id = u.team idWHERE U.team_id = 581 and sa.provider = 'salesferce':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 uuid_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 ceRontaid = 54;select * from opportunitles where 1d = 7594349SELECT * FROM teams WHEREname LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * from plavbooks where team id = 711: # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROMcrn trelosid = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;SELECT * FROM crm_configurations WHERE id = 692;SELECTU.emall,sa.*,towner 1d FROM soctal accounts saJOIN users u on u.id = sa.sociable_idCONCAT(u.id, CASE WHEN U.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,WHERE u.team_id = 711 and sa.provider ='salesfonce' :g Tech Day Review • in 1h 3 mA100% C•Fri 17 Apr 15:57:52RequestGenerateAskJiminnyReportJobTest vCascadeAutomated Report RetiPlaybook Activity Type+D..Let me check the fallback path more carefully:•ImportActivityTypes.php:45-49w$values = $crmService->importPicklistValues($playbook->getActivityField());if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());1moortrickuscvalues rerurns tle dvalues — anarrav or saveo rieldvalue -ocuent mocels, Inefallback fetchActivityFieldValues also returns FieldValue models from DB.unen the lteration.ImportActivityTypes.php:51-67/** @var stdClass(label: string} $value */Toreach svalues as svaluenoaras= $value→> LabeL,This is the bug. The avar docblock says stdClass but svalue is actually a FieldValue Eloquent model.For importPicklistValues path, it works because FieldValue has a label property.But for the fallback path fetchActivityFieldValues(), same thing - FieldValue models, $value→>labeWait - the DB has 7 existing crm_field_values. The fallback should have found them. Let me re-examinethe real issue: the Salesforce field values in DB are stale (from 2023) and don't match the currentSalestorce picklist (8 different values now). But more critically:Coarchodl NoRosultsExcention.in ano/services/crm/salestorce/service.onoz/Now let me check what syncField does for a non-custom field with object_type = 'event":Service.php:379-410} else {$query =SELEClFROMWHEREJo, Daral voe, Developervame, Label, Lenoth. DescriotonFieldDetinationDurableId = :entityName';sentityname = stleld->qectnclcynameSearched getEntityName in app/Models/Crm/Field.php (1)S0 getentityName() for this tield returns "Event.lype". Ine syncrieta() FleldDerinition soel querywould querv tor Fvent Tvne —this is a vallo stancaro S- obiect tield. But the kev insiaht Is.syncField() does NOT import picklist values for non-custom fields in the standard syncField() method— Il only syncs meladata (label, tyoe, lenouh. Ine picklist values are impored separately in 1mportP1cKuastvaltesoNow the critical question - why did importPicklistValues return empty? Let me look at what exceptionscoule ve nrown oesces NoresultsexceptionSearched getObjectsUrl|client->get in app/Services/Crm/Salesforce (12)Now I see it clearly. In getObjectFields ():SyncFieldsTrait.php:27-36$cachekey = 'crm.profile#' • $this→>profile->id . '.fieldType:' • $objectType;return Cache:: remember(ScacheKey, 300, function use (SobiectType) !$url = $this->client->get0bjectsUrl() • ucfirst($objectType)"/describe':Ask anything (24L)+ ‹› CodeClaude Sonnet 4.6winasun leams54:41uir-o( 4 spaces...
|
NULL
|
NULL
|
NULL
|
48679
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelp>0.(a6]• Tech Day Review - in 1h 2 mAPP (-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:58:051₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48681
|
|
PhpStormFileFditViewNavigateCodeLaravelRetactonToo PhpStormFileFditViewNavigateCodeLaravelRetactonToolsWindowHelpFV faVsco.s v#11894 on JY-18909-automated-reports-ask-iminny kProject vC PlaybookRepository.phpC ImportActivityTypes.php XC Service.phpC FieldRepository.phpC AskJiminnyReportActivityService.phpT ApiGuardLogin.php) JiminnyDebuccommana.onoC TestCase.phpIvendon© AutomatedReportsSendCommand.php© AutomatedReportsCommand.phpc) AutomatedRepor skeposttory.gnoC AutomatedReporsserwice.org©) Create-eldActivityEvent.ong2s .editorcontig= envE env circleciC TrackProviderInstalledEvent.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.php© ActivityLogged.php© AutomatedReportsCallbackService.php© RequestGenerateAskJiminnyReportJob.phpE env.circleci-niahtlvE.env.localC RequestGenerateReportJob.phpc) AutomatedReportResult.onoC AutomatedReport.php=.env.migrate=.env.nikilocal=.env.other=.env.production=.env.production-eu=.env.qa=.env.gaiE env.rootE.env.stagingE aitattributes.aitianore=.php-cs-fixer.cachephp.php-cs-fixer.dist.phpphp.phpstorm.meta.php=.phpunit.result.cache=.prettierignorewindsurrulesphp_Ide_helper.phpphp_Ide_helper_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.dist= phostan-baseline.neor<> phpunit.xmlle raw sal query.salM+ README.mdos sonar-project.properties= test.py‹> Untitled Diagram.xmlus vetur.config.jsM.WEBHOOK FILIERING IMPUE> iih External Libraries= Scratches and Consolesv M Database ConsolesLEU>Liminny@localhostV & PRODd console PRODd console_1 PROD4 DI PRODIclass ImportActivitxlypes implements ShouldQueuepublic function -_construct() {...}* Import the standard Event/Task Tuoe picklist options from the CRM.public function handle PlaybookCreated sevent: void$playbook = Sevent->playbook;// Don't run if somehow we already have categories.1f (splaybook->getcategories()->1SNotEmptyO) ireturn;$crmService = $this->crmResolver->resolveForTeam($playbook->getTeamO):ScrmService->svncFieldSplavbook->getActivitvField00:$values = $crmService->importPicklistValves(Splaybook->getActivityFieldo.:if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());/**dvar sudclassilabel: surings svalue */toreach (svalues as $value) {$data = П= "valuer>ldoe"enaolea"→ true,'type' => PlaybookCategory::TYPE_ALL.sdatal'type'] = Playbookcategory::TYPE_SMS_OUTBOUND;Sdatal'tvpe'] = PlaybookCategory::TYPE SMS INBOUND:sthis->repository->create($playbook, Sdata):Tusdgeprivate function fetchActivityFieldValues Field Sfield): Collection/** ovar coLcectzon<rlelavalue> */return Sthis->fieldRepository->getPicklistValues($field);ack // contigure... (24 minutes ago,= custom.log= laravel.logL SF (iminny@localhostHS_local fiminny@localhost)& console PROD X< console LUl5581561V504563564565566— 567568569576571572573575576577578579580581582-58.4584585586587588589590501592593595596 /597598t5996006016946074 console [STAGINGC RequestGenerateAskJiminnyReportJobTest.phpTx: AutovHaycroundvMa lminny vSELECT * FROM teams WHERE name LIKE "%Integrum ES6%* # 1126, 1065,034 A1 A34 V 62 ^select * from opportunitles where team_1d = 1126:SELECT * FROM teams WHERE name LIKE "%Base%'; # 1125, 1063,seLect * troiopportunitles where team_1d = 1125;seLect * trom contacus cwhere c.team_1d = 8021SELECT * FROMacmumes YicKr 10 =/004470SELECT * FROM crm_ profiles WHERE user id = 15440:SELECT * FROM crm profiles WHERE crm confiquration id = 555:SELECT * FROM crm_confiqurations WHERE 1d = 5551SELECT * FROM users WHERE id = 15440; # team.581, gr. 15440, pl.3911, act. field 162182SELECTCONCAT(U.1d, CASE WHEN U.1d = t.owner_1d THEN' (owner)' ELSE"' END) AS User_1d,U.email,Sal.*Towner 1o Frum socal accounts saJulr users u on u.l = sa.soclaole 1oJOIN teams t1..n<->1: on t.id = u.team idWHERE U.team_id = 581 and sa.provider = 'salesforce' :SELECT * FROM automated_report_results order by id desc;select * from featuresiselect * from team_features where feature_1d = 40*select * from teams where id = 556;select * 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 id desc;SELECT * FROM automated_report_results WHERE id = 1919;select * from automated_report_results WHERE reRont.id = 54;select * from opportunities where id = 7594349SELFCT * FROM teams WHERFname LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * from playbpoks where team_id = 711; # event 226147SELECT * FROM plavbook categories WHERE plavbook id = 5515:SELECT * FROM crm fieldsid = 226147:SELECT * FROM crm field values WHERE crm field id = 226147:SELECT * FROM crm_ confiqurations WHERE 1d = 692:CEECTU.emall,sa.*towner 1d FROM soctal accounts saJOTN users u on u.id = sa.sociable idWHERE U.team id = 711 and sa.provider =salestorce• Tech Day Review • in 1h 2 mA100% zFri 17 Apr 15:58:06RequestGenerateAskJiminnyReportJobTest vCascadeAutomated Renort RetPlaybook Activity TypeLet me check the fallback path more carefully:ImportActivityTypes.php:45-49$values = ScrmService→>importPicklistValues($playbook->getActivityField0);1emotysvaluessvalues = $this->fetchActivityFieldValues($playbook->getActivityField0);1moortrickuscvalues rerurns tle dvalues — anarrav or saveo rieldvalue -ocuent mocels, Inefalllback fetchAct ivitvFie dValues also returns Fiel dValue models from DBunen the lteration.• ImportActivityTypes.php:51-67/** @var stdClass{label: string} $value */Toreach svalues as svaluenoaras= $value→> LabeL,This is the bug. The avar docblock says stdClass but svalue is actually a FieldValue Eloquent model.For importPicklistValues path, it works because FieldValue has a label property.But for the fallback path fetchActivityFieldValues(), same thing - FieldValue models, $value->labeWait - the DB has / existing crm_field_values . The fallback should have tound them. Let me re-examinethe real issue: the Salesforce field values in DB are stale (from 2023) and don't match the currentSalestorce picklist (8 different values now). But more critically:Coarchodl NoRosultsExcention.in ano/services/crm/salestorce/service.onoz/Now let me check what syncField does for a non-custom field with object type = 'event' :• Service.php:379-410relse ?$query ='SELEClJo, Daral voe, Developervame, Label, Lenouh, DescriotionFROMFieldDetinationWHEREDurableId = :entityName':sentityname = stleld->qectnclcynameSearched getEntityName in app/Models/Crm/Field.php (1)S0 getentityName() for this tield returns "Event.lype". Ine syncrieta() FleldDerinition soel querywould querv tor Fvent Tvne —this is a vallo stancaro S- obiect tield. But the kev insiaht Is.syncField() does NOT import picklist values for non-custom fields in the standard syncField() method— Il only syncs meladata (label, tyoe, lenouh. Ine picklist values are impored separately in 1mportP1cKuastvaltesoNow the critical question — why did importPicklistValues return empty? Let me look at what exceptionscoule ve nrown oesces NoresultsexceptionSearched getObjectsUrl client->get in app/Services/Crm/Salesforce (12)Now l see it clearly. In getObjectFields(:SyncFieldsTrait.php:27-36$cacheKey = 'crm.profile#' • $this->profile→>id . '.fieldType:' • $objectType;return Cache:: remember(ScacheKey, 300, function use (SobiectType) !$url = Sthis->client->qetObiectsUrl . ucfirst(SobiectType) ."/describe':Ask anything (&+L)+ ‹› CodeClaude Sonnet 4.6Winasun leams59b:lsuir-oW...
|
NULL
|
NULL
|
NULL
|
48682
|
|
PhpStormFileEditFV faVsco.s vProject vO dependency PhpStormFileEditFV faVsco.s vProject vO dependency-checker.jsonO dev.json= 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.xmlus vetur.config.isM+ WEBHOOK_FILTERING_IMPLE› Ih External LibrariesE® Scratches and Consoles~ D Database Consoles>LEUjiminny@localhostV &PRODA console [PROD]A console_1 [PROD]2 DI [PROD]ViewNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-jiminny k ~© PlaybookRepository.php© ImportActivityTypes.php x© AskJiminnyReportActivityService.php© AutomatedReportsSendCommand.php© AutomatedReportsRepository.phpC TrackProviderInstalledEvent.phpToolsWindowHelp© Service.php© AutomatedReportsCommand.php© FieldRepository.php© JiminnyDebugCommand.php= custom.log< console EUi= laravel.logA console [STAGING]A SF [jiminny@localhost]A HS_local [iminny@localhost]© RequestGenerateAskJiminnyReportJobTest.phpA console [PROD] X© CreateHeldActivityEvent.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.phpIx. AUto vHaycroundvscLe * -rum auronated revort resulus Vicke uuro co oin'8241a410-a1select x TOIaucomated_report_resutts order by do desc,SELECT * FROM automated_report_results WHERE i₫ = 1919;Ma lminny v034 A1 A34 X62 ^© ActivityLogged.php9 AutomatedReportsCallbackService.php© RequestGenerateReportJob.phpc) AutomatedReportResult.ono© RequestGenerateAskJiminnyReportJob.php© AutomatedReport.phpclass ImportActivitxIxRes implements ShouldQueuepublic function handle(PlaybookCreated $event): void$values = $this->fetchActivityFieldValues($playbook->getActivityField())÷593select * from automated_report_results WHERE CeRontaid = 54;select * from opportunities where id = 7594349;Servicesv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFdns locallV &PROD4 consoleV L STAGINGc consoey Docker/** @var stdClass{label: string} $value */foreach ($values as $value) {$data = ['name' => $value->label,'enabled"= true,'type' => PlaybookCategory::TYPE_ALL,]:if (Str: :contains(strtolower($value->label), ['sms sent',$data['type'] = PlaybookCategory::TYPE_SMS_OUTBOUND;58658758858959059159259459559615971578574600601602603'sms out','text 604605606SELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * fromplaybooks where team_id = 711; # event 226147oL * -rumoavoook carecorles VhEk- oLavodoko s ooiaSELE* FKUMcrn telos vibke 10 = 220147.SELECT * FROM crm_field_values WHERE crm_field_id = 226147;SELECT * FROM crm_configurations WHERE id = 692;SELECTCONCAT(u.id, CASE 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_idJOIN teams t 1.n<->1: on t.id = u.team_idWHERE U.team_id = 711 and sa.provider = 'salesforce' :if (Str: :contains(strtolower($value->label), ['sms received',Sils I0d$data['type'] = PlaybookCategory::TYPE_SMS_INBOUND;QGAĐg Tech Day Review • in 1h 2 mA• RequestGenerateAskJiminnyReportJobTest v100% C•Fri 17 Apr 15:58:08CascadeAutomated Report RetiPlaybook Activity TypeLet me check the fallback path more carefully:• ImportActivityTypes.php:45-49$values = $crmService->importPicklistValues($playbook->getActivityField());+D..wif (empty($values)) {$values = $this->fetchActivityFieldValues($playbook→>getActivityField());1noortrickustvalues rerurns tle values — anarrav or saveo reldvalue -ocuent moces, Inefallback fetchActivityFieldValues also returns FieldValue models from DB.unen the lteration.ImportActivityTypes.php:51-67/** @var stdClass(label: string} $value */Toreach svalues as svaluenoaras= $value→> LabeL,This is the bug. The avar docblock says stdClass but svalue is actually a FieldValue Eloquent model.For importPicklistValues path, it works because FieldValue has a label property.But for the fallback path fetchActivityFieldValues(), same thing - FieldValue models, $value→>labeWait - the DB has 7 existing crm_field_values. The fallback should have found them. Let me re-examinethe real issue: the Salesforce field values in DB are stale (from 2023) and don't match the currentSalestorce picklist (8 different values now). But more critically:ASk anvinine CTbl+ •CodeClauce sonnet 4.0• : -Outputiii liminnv.crm field values1rowv 5 0,0# jiminny.crm_fields xIx. AUtoyuvid (UUID)OE crm_configuration_id! crm_provider_id• labelI descriptionO typeI 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:57usvvworksoace associated with branch Jy-loy0g-automaled-repny' has been restored // Rollback // Configure... (24 minutes ago)winasun leams594:20uir-o4 spaces...
|
NULL
|
NULL
|
NULL
|
48683
|
|
PhpStormFileEditViewNavigateCodeLaravelRefactorToo PhpStormFileEditViewNavigateCodeLaravelRefactorToolsWindowHelpFV faVsco.s v( #11894 on JY-18909-automated-reports-ask-jiminny k ~Project v© PlaybookRepository.phpImponAcuvily lypes.ono x© Service.php© FieldRepository.phpO dependency-checker.json© AskJiminnyReportActivityService.phpC JiminnyDebugCommand.phpO dev.json© AutomatedReportsSendCommand.php© AutomatedReportsCommand.php= ids.txt=infection.json.dist© AutomatedReportsRepository.php• CreateHeldActivityEvent.phpM+INS ALL.mdC TrackProviderInstalledEvent.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.php587M+ INTERNAL_ WEBHOOK SETUPjiminny_storage© ActivityLogged.php9 AutomatedReportsCallbackService.php© RequestGenerateAskJiminnyReportJob.php588589M+ licenses.mdC RequestGenerateReportJob.phpc) AutomatedReportResult.ong© AutomatedReport.php590M Makefileclass ImportActivitxIxRes implements ShouldQueue591O package-lock.json= phpstan.neon.distpublic function handle(PlaybookCreated $event): void592$values = $this->fetchActivityFieldValues($playbook->getActivityField())÷593= phpstan-baseline.neon594V<phpunit.xml595Te raw_sql_query.sql/** @var stdClass{label: string} $value */596M-R-ADME. molforeach ($values as $value) {ộ sonar-project.properties1597$data = [1578= test.py'name' => $value->label,<> Untitled Diagram.xml574'enabled"= true,600us vetur.config.is'type' => PlaybookCategory::TYPE_ALL,601M+ WEBHOOK_FILTERING_IMPLE]:602› Ih External Libraries603E® Scratches and Consolesif (Str: :contains(strtolower($value->label), ['sms sent','sms out','text 604~ D Database Consoles$data['type'] = PlaybookCategory::TYPE_SMS_OUTBOUND;605A EU606jiminny@localhostV &PRODif (Str: :contains(strtolower($value->label), ['sms received',SIls T0 nA console [PROD]$data['type'] = PlaybookCategory::TYPE_SMS_INBOUND;c consoe IrrouI2 DI [PROD]= custom.log< console EUi= laravel.logA console [STAGING]A SF [jiminny@localhost]A HS_local [iminny@localhost]A console [PROD] X© RequestGenerateAskJiminnyReportJobTest.phpIx. AUto vHaycroundvscLe * -rum auronated revort resulus Vicke uuro co oin'8241a410-a1select x TOIaucomated_report_resutts order by do desc,SELECT * FROM automated_report_results WHERE id = 1919;Ma lminny v034 A1 A34 X62 ^select * from automated_report_results WHERE CeRontaid = 54;Services+,0,0v D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFdns locallV &PROD4 console 1 s 677 msV ASTAGINGc consoey Dockerselect * 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;SELE* FKUMCrIgTLeLaS WHERE 10 = 220147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;SELECT * FROM crm_configurations WHERE id = 692;SELECTCONCAT(u.id, CASE 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_idJOIN teams t 1.n<->1: on t.id = u.team_idWHERE U.team_id = 711 and sa.provider = 'salesforce':Outputiii liminnv.crm_field values# 711, 692, 16067B -...[EMAIL] x13 rowsveDDLBQGEA0id Tuuid (UUID with time-low and time-high swapped) Tteam_id Y4142 a2d6059b-a5df-4b40-bed0-a7877c5cfb394143 cdf0ce24-8e94-4540-8e17-864ad78632984148 1897440d-87f9-4bc4-b983-8ac740b3e55f4149 576d61fe-091a-4669-b459-7ae3ec1229d54248 01848184-1d44-42d9-8e4f-f4526f07c27a4373 5724b2d0-5ca8-4bab-aea4-4ead61ef9b954374 ab6bf89b-95d7-4d3e-a2a9-002ff12f85a74920 9a41525f-4d20-47d1-8c77-639e647df5ff4954 4627c0e3-ec8d-4a1b-838b-29962776bdd25515 8d9e50bb-4e8a-4f61-86e3-5b30347058e15516 4fd32ad0-78a3-4d4a-a446-2efc12fde5393a/Yo0s0o -5701-4999-2427-[CREDIT_CARD] 462c3a37-50b5-48ae-a905-c33204066d07[Dactivity_type T @activity_field_id Y711 event711 event711 task711 task711 event711 taskname Y226147 LMUS CX Playbook226147 Zone 2 Playbook226139 Enablement Team226139 Outbound BDS226147 Zone 1 KA Playbook226139 Test226139 Testtest÷ 0is_selectable Y711 task711 event711 event711 event711 evenu711 event226157 Pipe x Territory Planning226147 Test UK226147 LMUS CX Playbook test226147 LMUS CX Playbook test226147 LMUS CX Playbook testing226147 Test PlaybookTech Day Review - in 1h 2mA• RequestGenerateAskJiminnyReportJobTest v100% CFri 17 Apr 15:58:16CascadeAutomated Report RetiPlaybook Activity TypeLet me check the fallback path more carefully:• ImportActivityTypes.php:45-49$values = $crmService->importPicklistValues($playbook->getActivityField());+D..wif (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());1noortrickustvalues rerurns tle values — anarrav or saveo reldvalue -ocuent moces, Inefallback fetchActivityFieldValues also returns FieldValue models from DB.unen the lteration.ImportActivityTypes.php:51-67/** @var stdClass(label: string} $value */Toreach svalues as svaluenoaras→ $va lue-> Labe L,This is the bug. The avar docblock says stdClass but svalue is actually a FieldValue Eloquent model.For importPicklistValues path, it works because FieldValue has a label property.But for the fallback path fetchActivityFieldValues(), same thing - FieldValue models, $value→>labeWait - the DB has 7 existing crm_field_values. The fallback should have found them. Let me re-examinethe real issue: the Salesforce field values in DB are stale (from 2023) and don't match the currentSalestorce picklist (8 different values now). But more critically:ASk anvinine CTbl" COdEClaude Sonnet 4.0Dai_activity_type_detection_enabled YCSV vID created_at T0 2023-05-18 14:09:570 2023-05-18 14:11:110 2023-05-22 15:35:110105-05-7210.071950 2023-07-06 21:59:170 2023-09-11 12:33:100 2023-09-11 12:47:500112014-08-17 10.473700119094-09-0915.949410 2026-04-16 07:11:030 2026-04-16 07:17:4402070-04-10 0814.00 2026-04-17 12:56:53I updated_at P2025-03-31 17:39:2023-05-18 14:11:2025-07-24 02:33:2023-05-22 16:09:2005-07-96 29.9092023-09-11 12:33:2023-09-11 12:48:2024-08-19 10:49:2024-09-09 15:0512026-04-16 07:17:2026-04-16 07:18:1070-94-10 08.1442026-04-17 12:56:13 rows retrieved starting from 1 in 707 ms (execution: 177 ms, fetching: 530 ms)winasun leams594:20uir-o...
|
NULL
|
NULL
|
NULL
|
48686
|
|
PhpStormFileEditFV faVsco.s vProject vO dependency PhpStormFileEditFV faVsco.s vProject vO dependency-checker.jsonO dev.json= 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.xmlus vetur.config.isM+ WEBHOOK_FILTERING_IMPLE› Ih External LibrariesE® Scratches and Consoles~ D Database Consoles>LEUjiminny@localhostV &PRODA console [PROD]A console_1 [PROD]2 DI [PROD]ViewNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-jiminny k ~© PlaybookRepository.php© ImportActivityTypes.php x© AskJiminnyReportActivityService.php© AutomatedReportsSendCommand.php© AutomatedReportsRepository.phpC TrackProviderInstalledEvent.phpToolsWindowHelp© Service.php© AutomatedReportsCommand.php© FieldRepository.php© JiminnyDebugCommand.php= custom.log< console EUi= laravel.logA console [STAGING]A SF [jiminny@localhost]A HS_local [iminny@localhost]© RequestGenerateAskJiminnyReportJobTest.phpA console [PROD] X© CreateHeldActivityEvent.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.phpIx. AUto vHaycroundvscLe * -rum auronated revort resulus Vicke uuro co oin'8241a410-a1select x TOIautomated_report_results order by id desc;SELECT * FROM automated_report_results WHERE id = 1919;Ma lminny v034 A1 A34 X62 ^587© ActivityLogged.php9 AutomatedReportsCallbackService.php© RequestGenerateAskJiminnyReportJob.php588589© RequestGenerateReportJob.phpc) AutomatedReportResult.ono© AutomatedReport.php590class ImportActivitxIxRes implements ShouldQueue591public function handle(PlaybookCreated $event): void592$values = $this->fetchActivityFieldValues($playbook->getActivityField())÷_593594595/** @var stdClass{label: string} $value */596 vforeach (Svalues as $value)597$data = [1578'name' => $value->label,'enabled"= true,'type' => PlaybookCategory::TYPE_ALL,select * from automated_report_results WHERE CeRontaid = 54;select * from opportunities where id = 7594349;if (Str: :contains(strtolower($value->label), ['sms received',Sils I0d$data['type'] = PlaybookCategory::TYPE_SMS_INBOUND;Servicesv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFA HS_localV &PROD4 console 1 s 369 msV ASTAGINGc consoey Docker]:if (Str: :contains(strtolower($value->label), ['sms sent',$data['type'] = PlaybookCategory::TYPE_SMS_OUTBOUND;600601602603'sms out','text 604605606SELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * from playbooks where team_id = 711; # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;6ELE* FKUcrm_fields WHERE id = 226147;SELECT * FROM Crm_ Fiefd_values WHERE crm_Field_id = 226147;SELECT * FROM crm_configurations WHERE id = 692;SELECTCONCAT(u.id, CASE 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_idJOIN teams t 1.n<->1: on t.id = u.team_idWHERE U.team_id = 711 and sa.provider = 'salesforce' :QGEA+g Tech Day Review • in 1h 2mA• RequestGenerateAskJiminnyReportJobTest v100% C•Fri 17 Apr 15:58:21CascadeAutomated Report RetiPlaybook Activity TypeLet me check the fallback path more carefully:• ImportActivityTypes.php:45-49$values = $crmService->importPicklistValues($playbook->getActivityField());+D..wif (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());1noortrickustvalues rerurns tle values — anarrav or saveo reldvalue -ocuent moces, Inefallback fetchActivityFieldValues also returns FieldValue models from DB.unen the lteration.• ImportActivityTypes.php:51-67/** @var stdClass(label: string} $value */Toreach svalues as svaluenoaras= $value→> LabeL,This is the bug. The avar docblock says stdClass but svalue is actually a FieldValue Eloquent model.For importPicklistValues path, it works because FieldValue has a label property.But for the fallback path fetchActivityFieldValues(), same thing - FieldValue models, $value→>labeWait - the DB has 7 existing crm_field_values. The fallback should have found them. Let me re-examinethe real issue: the Salesforce field values in DB are stale (from 2023) and don't match the currentSalestorce picklist (8 different values now). But more critically:ASk anvinine CTbl+ •CodeClauce 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_indexableI created_atI updated_atD is_readonly226147692TypeType4f807b7c-86e9-2d77-81d6-d58b542821e9T row retrieved starting trom Tin 552 ms (execution: 151 ms, retching: 401 ms)OCKUIST<null>event2023-04-24 09:30:232023-05-17 18:36:57usvvWinasun leams59b:1uir-o4 spaces...
|
NULL
|
NULL
|
NULL
|
48687
|
|
PhpStormFileEditViewToolsWindowHelpFV faVsco.s vPr PhpStormFileEditViewToolsWindowHelpFV faVsco.s vProject 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© Service.php© AskJiminnyReportActivityService.php© AutomatedReportsSendCommand.php© AutomatedReportsCommand.php© AutomatedReportsRepository.phpC TrackProviderInstalledEvent.php© FieldRepository.php© JiminnyDebugCommand.php© CreateHeldActivityEvent.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.phpM+ INTERNAL_ WEBHOOK SETUPjiminny_storageM+ licenses.mdM MakefileO package-lock.json= phpstan.neon.dist= phpstan-baseline.neon<phpunit.xmlTe raw_sql_query.sql© ActivityLogged.php9 AutomatedReportsCallbackService.php© RequestGenerateReportJob.phpc) AutomatedReportResult.onoclass ImportActivitxIxRes implements ShouldQueuepublic function handle(PlaybookCreated $event): void$values = $this->fetchActivityFieldValues($playbook->getActivityField())÷_593© RequestGenerateAskJiminnyReportJob.php589© AutomatedReport.php590591592594595596 vM-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>LEU/** @var stdClass{label: string} $value */foreach (Svalues as $value)$data = ['name' => $value->label,'enabled"= true,'type' => PlaybookCategory::TYPE_ALL,598574600601]:602603if (Str: :contains(strtolower($value->label), ['sms sent','sms out','text 604$data['type'] = PlaybookCategory::TYPE_SMS_OUTBOUND;605606jiminny@localhostV &PRODA console [PROD]if (Str: :contains(strtolower($value->label), ['sms received',SIls T0 n$data['type'] = PlaybookCategory::TYPE_SMS_INBOUND;A console_1 [PROD]2 DI [PROD]= custom.log= laravel.logA SF [jiminny@localhost]< console EUiconsole SlAGiNGA HS_local [iminny@localhost]A console [PROD] XC RequestGenerateAskJiminnyReportJobTest.phpIx. AUto vHaycroundvSElE iMaomatea-neport-nesolis wert atom mta m mselect x Tro1automated_report_results order by id desc;SELECT * FROM automated_report_results WHERE i₫ = 1919;Ma lminny v034 A1 A34 X62 ^select * from automated_report_results WHERE CeRontaid = 54;select * from opportunities where id = 7594349;Servicesv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFA HS_localV &PROD4 console 1 s 369 msV ASTAGINGc consoey DockerSELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * from playbooks where team_id = 711; # event 226147SELECT * FROM pLaybook_categories WHERE playbook_id = 5515;6ELE* FKUcrm_fields WHEREid = 226147;SELECT * FROM Crm_ Fiofd_valves WHERE crm_field_id = 226147:SELECT * FROM crm_conData Source: PRODSELECTSchema: jiminnyTable: crm_field valuesCONCAT(u.id, CASEu.email,sa.*t.owner_id FROM sJOIN users u on u.id-- auco-ceneracea detinitioncreate table crm_field_valuesJOIN teams t 1..n<->1:WHERE U.team_id = 711GA+int unsigned,uvidbinary(16)null,crm_field_id int unsignedvaluevarchar (255)nor nuLulabelvarchar (255)null,sequenceinc unsionea deraulc o noc nucuis_defaulttinyint(1)default O not null,created_attimestampnull,uooarerautlmes campconstraint crm_field_values_field_id_foreignforeign key (crm_field_id) references crm_fields (id)engine = InnoDBcollate = utf8mb4_unicode_cirow_format = DYNAMIC;g Tech Day Review • in 1h 2mA• RequestGenerateAskJiminnyReportJobTest v100% CFri 17 Apr 15:58:22CascadeAutomated Report RetiPlaybook Activity TypeLet me check the fallback path more carefully:• ImportActivityTypes.php:45-49$values = $crmService->importPicklistValues($playbook->getActivityField());+D..wif (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());1noortrickustvalues rerurns tle values — anarrav or saveo reldvalue -ocuent moces, Inefallback fetchActivityFieldValues also returns FieldValue models from DB.unen the lteration.ImportActivityTypes.php:51-67/** @var stdClass(label: string} $value */Toreach svalues as svaluenoaras→ $va lue-> Labe L,This is the bug. The avar docblock says stdClass but svalue is actually a FieldValue Eloquent model.For importPicklistValues path, it works because FieldValue has a label property.But for the fallback path fetchActivityFieldValues(), same thing - FieldValue models, $value→> labeWait - the DB has 7 existing crm_field_values. The fallback should have found them. Let me re-examinethe real issue: the Salesforce field values in DB are stale (from 2023) and don't match the currentSalestorce picklist (8 different values now). But more critically:ASk anvinine Ctbl+ & COO€Claude 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_indexableI created_atI updated_atD is_readonly226147692TypeType4f807b7c-86e9-2d77-81d6-d58b542821e9T row retrieved starting trom Tin 552 ms (execution: 151 ms, retcning: 401 ms)OCKUIST<null>event2023-04-24 09:30:232023-05-17 18:36:57usvvWinasun leams59b:1uir-o4 spaces...
|
NULL
|
NULL
|
NULL
|
48689
|
|
PhpStormFileEditFV faVsco.s vProject vO dependency PhpStormFileEditFV faVsco.s vProject vO dependency-checker.jsonO dev.json= 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.xmlus vetur.config.isM+ WEBHOOK_FILTERING_IMPLE› Ih External LibrariesE® Scratches and Consoles~ D Database Consoles>LEUjiminny@localhostV &PRODA console [PROD]A console_1 [PROD]2 DI [PROD]ViewNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-jiminny k ~© PlaybookRepository.php© ImportActivityTypes.php x© AskJiminnyReportActivityService.php© AutomatedReportsSendCommand.php© AutomatedReportsRepository.phpC TrackProviderInstalledEvent.phpToolsWindowHelp© Service.php© AutomatedReportsCommand.php© FieldRepository.php© JiminnyDebugCommand.php= custom.log< console EUi© CreateHeldActivityEvent.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.php= laravel.logA SF [jiminny@localhost]A console [STAGING]A HS_local [iminny@localhost]© RequestGenerateAskJiminnyReportJobTest.phpTx: AutovHaycroundvscLe * -rum auronated revort resulus Vicke uuro co oin'8241a410-a1select x TOIaucomated_report_resutts order by do desc,SELECT * FROM automated_report_results WHERE id = 1919;A console [PROD] XMa lminny v034 A1 A34 X62 ^© ActivityLogged.php9 AutomatedReportsCallbackService.phpC RequestGenerateReportJob.phpc) AutomatedReportResult.ono© RequestGenerateAskJiminnyReportJob.php© AutomatedReport.phpclass ImportActivitxIxRes implements ShouldQueuepublic function handle(PlaybookCreated $event): void$values = $this->fetchActivityFieldValues($playbook->getActivityField())÷_593select * from automated_report_results WHERE CeRontaid = 54;select * from opportunities where id = 7594349;Servicesv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFdns locallV &PROD4 consoleV L STAGINGc consoey Docker/** @var stdClass{label: string} $value */foreach ($values as $value) {$data = ['name' => $value->label,'enabled"= true,'type' => PlaybookCategory::TYPE_ALL,]:if (Str::contains(strtolower($value->label), ['sms sent',$data['type'] = PlaybookCategory::TYPE_SMS_OUTBOUND;58658758858959042 ^ Y 59159259459515965971578574600601602603'sms out','text 604605606SELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * from playbooks where team_id = 711; # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELE* -RUMcrn telos vibke 10 = 220147.SELECT * FROMcrm_field_values WHERE crm_field_id = 226147;SELECT * FROM crm_configurations WHERE id = 692;SELECTCONCAT(u.id, CASE 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_idJOIN teams t 1.n<->1: on t.id = u.team_idWHERE U.team_id = 711 and sa.provider = 'salesforce' :if (Str: :contains(strtolower($value->label), ['sms received',Sils I0d$data['type'] = PlaybookCategory::TYPE_SMS_INBOUND;QGAĐg Tech Day Review • in 1h 2mA• RequestGenerateAskJiminnyReportJobTest v100% C•Fri 17 Apr 15:58:24CascadeAutomated Report RetiPlaybook Activity TypeLet me check the fallback path more carefully:• ImportActivityTypes.php:45-49$values = $crmService->importPicklistValues($playbook->getActivityField());+D..wif (empty($values)) {$values = $this->fetchActivityFieldValues($playbook→>getActivityField());1noortrickustvalues rerurns tle values — anarrav or saveo reldvalue -ocuent moces, Inefallback fetchActivityFieldValues also returns FieldValue models from DB.unen the lteration.ImportActivityTypes.php:51-67/** @var stdClass(label: string} $value */Toreach svalues as svaluenoaras= $va lue→> Labe L,This is the bug. The avar docblock says stdClass but svalue is actually a FieldValue Eloquent model.For importPicklistValues path, it works because FieldValue has a label property.But for the fallback path fetchActivityFieldValues(), same thing - FieldValue models, $value→>labeWait - the DB has 7 existing crm_field_values. The fallback should have found them. Let me re-examinethe real issue: the Salesforce field values in DB are stale (from 2023) and don't match the currentSalestorce picklist (8 different values now). But more critically:ASk anvinine CTbl+ •CodeClauce sonnet 4.0Outputiii liminnv.crm field values# jiminny.crm_fields x1rowv 5 0,0Ix. AUtoyuvid (UUID)OE crm_configuration_id! crm_provider_id• labelI descriptionO typeI LengthI default_valueobject_typeJ is_selectableis_mandatoryDis_filterableis_indexableI created_atI updated_atD is_readonly226147692TypeType4f807b7c-86e9-2d77-81d6-d58b542821e9T row retrieved starting trom Tin 552 ms (execution: 151 ms, retching: 401 ms)OCKUIST<null>event2023-04-24 09:30:232023-05-17 18:36:57usvvWinasun leamsO9/L2uir-o4 spaces...
|
NULL
|
NULL
|
NULL
|
48690
|
|
PhpStormFileFV faVsco.s vEditViewToolsWindowHelpPr PhpStormFileFV faVsco.s vEditViewToolsWindowHelpProject vO dependency-checker.json© FieldRepository.phpC JiminnyDebugCommand.phpO dev.json= ids.txt=infection.json.distM+INS ALL.mdNavigateCodeLaravelRefactor( #11894 on JY-18909-automated-reports-ask-jiminny k ~© PlaybookRepository.php© ImportActivityTypes.php x© Service.php© AskJiminnyReportActivityService.php© AutomatedReportsSendCommand.php© AutomatedReportsCommand.php© AutomatedReportsRepository.php© CreateHeldActivityEvent.phpC TrackProviderInstalledEvent.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.phpM+ INTERNAL_ WEBHOOK SETUPjiminny_storageM+ licenses.mdM MakefileO package-lock.json= phpstan.neon.dist© ActivityLogged.php9 AutomatedReportsCallbackService.phpC RequestGenerateReportJob.php(c) AutomatedReportkesult.ong© RequestGenerateAskJiminnyReportJob.php© AutomatedReport.phpclass ImportActivitxIxRes implements ShouldQueuepublic function handle(PlaybookCreated $event): void$values = $this->fetchActivityFieldValues($playbook->getActivityField())÷_593= phpstan-baseline.neon<phpunit.xmlTe raw_sql_query.sqlM-R-ADME. molộ sonar-project.properties58658758858959042 ^ Y 5915925945951596597v578= test.py<> Untitled Diagram.xmlus vetur.config.is/** @var stdClass{label: string} $value */foreach ($values as $value) {$data = ['name' => $value->label,'enabled"= true,'type' => PlaybookCategory::TYPE_ALL,M+ WEBHOOK_FILTERING_IMPLE› Ih External LibrariesE® Scratches and Consoles~ D Database Consoles>LEU600601]:602603if (Str: :contains(strtolower($value->label), ['sms sent','sms out','text 604$data['type'] = PlaybookCategory::TYPE_SMS_OUTBOUND;605606jiminny@localhostV &PRODA console [PROD]if (Str: :contains(strtolower($value->label), ['sms received',Sils I0.$data['type'] = PlaybookCategory::TYPE_SMS_INBOUND;A console_1 [PROD]2 DI [PROD]= custom.log< console EUi= laravel.logA SF [jiminny@localhost]A console [STAGING]A HS_local [iminny@localhost]A console [PROD] X© RequestGenerateAskJiminnyReportJobTest.phpTx: AutovHaycroundvMa lminny vscLe * -rum auronated revort resulus Vicke uuro co oin'8241a410-a1034 A1 A34 X62 ^select x TOIaucomated_report_resutts order by do desc,SELECT * FROM automated_report_results WHERE id = 1919;select * from automated_report_results WHERE CeRontaid = 54;Servicesv D DatabaseV A EU4, console 1 s 59 msv Ajiminny@localhost4 SFdns locallV &PROD4 console 1 s 317 msV ASTAGINGc consoey Dockerselect * from opportunities where id = 7594349;SELECT * FROM teams WHERE name LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * from playbooks where team_id = 711; # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELE* -RUMcrn telos vibke 10 = 220147.SELECT * FROMcrm_field_values WHERE crm_field_id = 226147;SELECT * FROM crm_configurations WHERE id = 692;SELECTCONCAT(u.id, CASE 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_idJOIN teams t 1.n<->1: on t.id = u.team_idWHERE U.team_id = 711 and sa.provider = 'salesforce' :Output7 rowsv00 id Tiii liminnv.crm field valuesf jiminny.crm_field_values 2xTx,BQGA@ uvid (UUID with time-low and time-high swapped) Y589775 43b96283-f4fd-4c7a-82c1-ad5a305b44b5589776 84742c88-d558-4604-Đ232-7b1130b65612589777 384edfe8-b84a-4000-a6c2-0186d1e96ba0no401400[PHONE]0-7495-413500C02155589779 5d15823e-8c2a-40ab-89c8-4af415bc8a04589780 ddcc3e9f-6d8c-4064-8e24-1accd140ab17643225 a53dadf4-b2fa-482e-8d64-e76ef2d80f5d÷ crm_field_id T! value Y226147 New Business Meeting226147 Partnership Review226147 Schedule Analysis226147 Follow-Up226147 Other226147 INADIMPLÊNCIA226147 Marketing Strategy Meetinglabel YNew Business MeetingPartnership Reviewocnequle AnduysasFollow-upOtherINADIMPLÊNCIAMarketing scrategy Meecing÷ . sequence TTech Day Review - in 1h 2mA• RequestGenerateAskJiminnyReportJobTest v100% C•Fri 17 Apr 15:58:33CascadeAutomated Report RetiPlaybook Activity TypeLet me check the fallback path more carefully:• ImportActivityTypes.php:45-49$values = $crmService->importPicklistValues($playbook->getActivityField());+D..wif (empty($values)) {$values = $this->fetchActivityFieldValues($playbook→>getActivityField());1noortrickustvalues rerurns tle values — anarrav or saveo reldvalue -ocuent moces, Inefallback fetchActivityFieldValues also returns FieldValue models from DB.unen the lteration.ImportActivityTypes.php:51-67/** @var stdClass(label: string} $value */Toreach svalues as svaluenoaras= $value→> LabeL,This is the bug. The avar docblock says stdClass but svalue is actually a FieldValue Eloquent model.For importPicklistValues path, it works because FieldValue has a label property.But for the fallback path fetchActivityFieldValues(), same thing - FieldValue models, $value→>labeWait - the DB has 7 existing crm_field_values. The fallback should have found them. Let me re-examinethe real issue: the Salesforce field values in DB are stale (from 2023) and don't match the currentSalestorce picklist (8 different values now). But more critically:ASk anvinine CTbl" COdEClaude Sonnet 4.0Hide tois_default YI created_at T0 2023-05-17 18:36:570 2023-05-17 18:36:570 2023-05-17 18:36:570 2023-05-17 18:36:570119095-05-118.50950 2023-05-17 18:36:570 2023-06-09 11:15:52CSVv÷ I updated_at T2023-05-17 18:36:572023-05-17 18:36:572023-05-17 18:36:572023-05-17 18:36:572023-05-17 18:36:572023-05-17 18:36:572023-06-09 11:15:52Hide the active lool windowWinasun leams59/.22uir-d...
|
NULL
|
NULL
|
NULL
|
48692
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelp>0.(a6]• Tech Day Review - in 1h 2 mAPP (-zsh)₴4-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:58:341₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48693
|
|
PhpStormFileEditViewFV faVsco.js vProject v=.env.o PhpStormFileEditViewFV faVsco.js vProject v=.env.other= ,env.oroduction=.env.production-eu=.env.ga= .env.qaiE.env.rootE.env.staging=.gitattributes• .gitignoreE .php-cs-fixer.cachephp.php-cs-fixer.dist.phpphp.phpstorm.meta.php=.phpunit.result.cache=.prettierignoreE .windsurfrulespip dlae_nelper.onephp_ide_helper_models.phpphp artisanO composer.json0 composer.lock0 dependency-checker.json dev.json= ids.txtEinfection.json.distM+INSIALL.moM+ INTERNAL_WEBHOOK SETUPEjiminny_storageM+ licenses.mdM MakefileO package-lock.json= phpstan.neon.dist=phpstan-baseline.neon< phpunit.xmlTe raw_sql_query.sqlM- KEADMEMOê sonar-project.propertiesE test.py<> Untitled Diagram.xmlIs vetur.config.jsM+ WEBHOOK_FILTERING_IMPLE› ib External LibrariesE Scratches and Consolesv D Database ConsolesNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny K vToolsWindowHelp© PlaybookRepository.php© ImportActivityTypes.php x© Service.php© AskJiminnyReportActivityService.php© FieldRepository.php© JiminnyDebugCommand.php© AutomatedReportsSendCommand.php© AutomatedReportsCommand.php© AutomatedReportsRepository.php© CreateHeldActivityEvent.phpC TrackProviderInstalledEvent.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.php= custom.log< console LUl© ActivityLogged.php9 AutomatedReportsCallbackService.php558© RequestGenerateAskJiminnyReportJob.php559© AutomatedReport.php, & lminnva ocalhostvAPRUDc consoe rrobi« console_1 [PROD]A DI [PROD]LQA4 QAI› QAI PRODV & STAGINGA console [STAGING]¿ consoe AGINGI& uranus s AGINGI> M Extensions> D ScratchesC RequestGenerateReportJob.phpc) Automated keponkesuivonoclass ImportActivitxIxRes implements ShouldQueuepublic function handle(PlaybookCreated $event): void$playbook = $event->playbook;156142 лV504563564565// Don't run if somehow we already have categories.if ($playbook->getCategories()->isNotEmptyO) {return;566- 567568569570$crmService = $this->crmResolver->resolveForTeam($playbook->getTeam());scrmservice->syncrleldlsplaybook->getaculvicyrleldooh571572573$values = $crmService->importPicklistValues($playbook->getActivityFieldO);574575if (empty($values)) {576$values = $this->fetchActivityFieldValues($playbook->getActivityField()) :577578579/** @var stdClass{label: string} $value */foreach ($values as $value) {$data = ['name' => $value->label,enao leo'=> true,Iyoe" →ravoookuaredory..rE ALLA580581582-5835845851:586587if (Str::contains(strtolower($value->label), ['sms sent',"sms out','text 588$data['type'] = PlaybookCategory::TYPE_SMS_OUTBOUND;589591if (Str::contains(strtolower($valve->label), ['sms received',"sms 1n',t 592$data['type'] = PlaybookCategory::TYPE_SNS_INBOUND;15931594595фchis->reposicory->creace(playbook, sdata);597lusaeeprivate function fetchActivityFieldValues(Field $field): Collection/** @var Collection<FieLdValue> */return $this->fieldRepository->getPicklistValves($field);599600601602603604605607worksoace associated with branch Jy-log0g-autonck // Configure... (24 minutes ago)= laravel.logA SF [jiminny@localhost]A console [STAGING]A HS_local [iminny@localhost]A console [PROD] X© RequestGenerateAskJiminnyReportJobTest.phpTx: AutovHaycroundvSELECT * FROM teams WHERE name LIKE '%Integrum ESG%'; # 1126, 1065,Ma lminny v034 A1 A34 X62 Aselect * from opportunities where team_id = 1126;SELECT * FROM teams WHERE name LIKE "%Base%'* # 1125, 1063,select * fromopportunities where team_id = 1125;select * from contacts cwhere c.team_1d = 802,SELECT * FROMacmumes YicKr 10 =/004470SELECT * FROM crm_profiles WHERE user_id = 15440;SELECT * FROM crm_profiles WHERE 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,Sal.*Lowner 1o Frum socal accounts saJulr users u on u.l = sa.sociaole 1oJuir reallls t1..n<->1: on t.id = u.team idWHERE U.team_id = 581 and sa.provider = 'salesferce':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 uuid_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 ceRontaid = 54;select * from opportunitles where 1d = 7594349SELECT * FROM teams WHEREname LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * from plavbooks where team id = 711: # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm_fieldsWHERE id = 226147;SELECT * FROM crm_field_valuesWHERE crm_field_id = 226147;SELECT * FROM crm_configurations WHERE id = 692;SELECTCONCAT (u.id, CASE WHEN U.id = t.owner_id THEN ' (owner) ' ELSE "' END) AS user_id,U.emall,sa.*,towner 1d FROM soctal accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t 1.n<->1: on t.id = u.team_idWHERE u.team_id = 711 and sa.provider = 'salesforce':Tech Day Review • in 1h 2mA100% C•Fri 17 Apr 15:58:36RequestGenerateAskJiminnyReportJobTest vCascadeAutomated Report RetiPlaybook Activity Type+D ..Let me check the fallback path more carefully:ImportActivityTypes.php:45-49w$values = $crmService->importPicklistValues($playbook->getActivityField());if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());1moortrickuscvalues rerurns tle dvalues — anarrav or saveo rieldvalue -ocuent mocels, Inefallback fetchActivityFieldValues also returns FieldValue models from DB.unen the lteration.ImportActivityTypes.php:51-67/** @var stdClass(label: string} $value */Toreach svalues as svaluenoaras= $value→> LabeL,This is the bug. The avar docblock says stdClass but svalue is actually a FieldValue Eloquent model.For importPicklistValues path, it works because FieldValue has a label property.But for the fallback path fetchActivityFieldValues(), same thing - FieldValue models, $value→>labeWait - the DB has 7 existing crm_field_values. The fallback should have found them. Let me re-examinethe real issue: the Salesforce field values in DB are stale (from 2023) and don't match the currentSalestorce picklist (8 different values now). But more critically:Coarchodl NoRosultsExcention.in ano/services/crm/salestorce/service.onoz/Now let me check what syncField does for a non-custom field with object_type = 'event":Service.php:379-410} else {$query ='SELEClFROMWHEREJo, Daral voe, Developervame, Label, Lenoth. DescriotonFieldDetinationDurableId = :entityName';sentityname = stleld->qectnclcynamesearcnee cetchuityname in apeModels/crm/riela.oneuS0 getentityName() for this tield returns "Event.lype". Ine syncrieta() FleldDerinition soel querywould querv tor Fvent Tvne —this is a vallo stancaro S- obiect tield. But the kev insiaht Is.syncField() does NOT import picklist values for non-custom fields in the standard syncField() method— Il only syncs meladata (label, tyoe, lenouh. Ine picklist values are impored separately in 1mportP1cKuastValues ().Now the critical question - why did importPicklistValues return empty? Let me look at what exceptionscoule ve nrown oesces NoresultsexceptionSearched getObjectsUrl client->get in app/Services/Crm/Salesforce (12)Now I see it clearly. In getObjectFields ():SyncFieldsTrait.php:27-36$cachekey = 'crm.profile#' • $this→>profile->id . '.fieldType:' • $objectType;return Cache:: remember(ScacheKey, 300, function use (SobiectType) !$url = $this->client->get0bjectsUrl() • ucfirst($objectType)"/describe':Ask anything (24L)+ ‹› CodeClaude Sonnet 4.6Winasun leams59/.22uir-o...
|
NULL
|
NULL
|
NULL
|
48694
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelp>0.(a6]• Tech Day Review - in 1h 2 mAPP (-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:58:441*1ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48696
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpAPP (-zsh)₴4-zsh>0.(a6]7,-985• Tech Day Review - in 1h 2 mDOCKER• ₴1DEV (docker)APP (-zsh)X3-zsh* 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-...100% <478Fri 17 Apr 15:58:541₴81• 87ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48698
|
|
PhpStormFileEditViewFV faVsco.js vProject v=.env.o PhpStormFileEditViewFV faVsco.js vProject v=.env.other= ,env.oroduction=.env.production-eu=.env.ga= .env.qaiE .env.rootE.env.staging=.gitattributes• .gitignoreE .php-cs-fixer.cachephp.php-cs-fixer.dist.phpphp.phpstorm.meta.php=.phpunit.result.cache=.prettierignoreE .windsurfrulespip dlae_nelper.onephp_ide_helper_models.phpphp artisanO composer.json0 composer.lock0 dependency-checker.json dev.json= ids.txtEinfection.json.distM+INSIALL.moM+ INTERNAL_WEBHOOK SETUPEjiminny_storageM+ licenses.mdM MakefileO package-lock.json= phpstan.neon.dist=phpstan-baseline.neon< phpunit.xmlTe raw_sql_query.sqlM- KEADMEMOê sonar-project.propertiesE test.py<> Untitled Diagram.xmlIs vetur.config.jsM+ WEBHOOK_FILTERING_IMPLE› ib External LibrariesE Scratches and Consolesv D Database ConsolesNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny K vToolsWindowHelp© PlaybookRepository.php© ImportActivityTypes.php x© Service.php© AskJiminnyReportActivityService.php© FieldRepository.php© JiminnyDebugCommand.php© AutomatedReportsSendCommand.php© AutomatedReportsCommand.php© AutomatedReportsRepository.php© CreateHeldActivityEvent.phpC TrackProviderInstalledEvent.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.php= custom.log< console LUl© ActivityLogged.php9 AutomatedReportsCallbackService.php558© RequestGenerateAskJiminnyReportJob.php559© AutomatedReport.php, & lminnva ocalhostvAPRUDc consoe rrobi« console_1 [PROD]A DI [PROD]LQA4 QAI› A QAI PRODV & STAGINGA console [STAGING]¿ consoe AGINGI& uranus s AGINGI> M Extensions> D ScratchesC RequestGenerateReportJob.phpc) Automated keponkesuivonoclass ImportActivitxIxRes implements ShouldQueuepublic function handle(PlaybookCreated $event): void$playbook = $event->playbook;1561V504563564565// Don't run if somehow we already have categories.if ($playbook->getCategories()->isNotEmptyO) {return;566— 567568569570$crmService = $this->crmResolver->resolveForTeam($playbook->getTeam());scrmservice->syncrleldlsplaybook->getaculvicyrleldooh571572573$values = $crmService->importPicklistValues($playbook->getActivityFieldO);574575if (empty($values)) {576$values = $this->fetchActivityFieldValues($playbook->getActivityField()):577578579/** @var stdClass{label: string} $value */foreach ($values as $value) {$data = ['name' => $value->label,enao leo'=> true,Iyoe" →ravoookLaredor..rE ALLA580581582-5835845851:586587if (Str::contains(strtolower($value->label), ['sms sent',"sms out','text 588$data['type'] = PlaybookCategory::TYPE_SMS_OUTBOUND;589591if (Str::contains(strtolower($valve->label), ['sms received',"sms 1n',t 592$data['type'] = PlaybookCategory::TYPE_SNS_INBOUND;15931594595фchis->reposicory->creace(,playdook, sdaca);lusaeeprivate function fetchActivityFieldValues(Field $field): Collection/** @var Collection<FieLdValue> */return $this->fieldRepository->getPicklistValves($field);597598599600601602603604605607worksoace associated with branch Jy-log0g-autonck // Configure... (24 minutes ago)= laravel.logA SF [jiminny@localhost]A console [STAGING]A HS_local [iminny@localhost]A console [PROD] X© RequestGenerateAskJiminnyReportJobTest.phpTx: AutovHaycroundvSELECT * FROM teams WHERE name LIKE '%Integrum ESG%'; # 1126, 1065,Ma lminny v034 A1 A34 X62 Aselect * from opportunities where team_id = 1126;SELECT * FROM teams WHERE name LIKE "%Base%'; # 1125, 1063,select * fromopportunities where team_id = 1125;select * from contacts cwhere c.team_1d = 802,SELECT * FROMacmumes YicKr 10 =/004470SELECT * FROM crm_profiles WHERE user_id = 15440;SELECT * FROM crm_profiles WHERE 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,Sal.*Lowner 1o Frum socal accounts saJulr users u on u.l = sa.soclaole 1oJuir reallls t1..n<->1: on t.id = u.team idWHERE U.team_id = 581 and sa.provider = 'salesferce':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 uuid_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 ceRontaid = 54;select * from opportunitles where 1d = 7594349SELECT * FROM teams WHEREname LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * from nlavbooks where team id = 711• # event 226147SELECT * FROM1 playbook_categories WHERE playbook_id = 5515;SELECT * FROMcrm_fieldsWHEREid = 226147;SELECT * FROM crm_field_valuesWHERE crm_field_id = 226147;SELECT * FROM crm_configurations WHERE id = 692;SELECTCONCAT (u.id, CASE WHEN U.id = t.owner_id THEN ' (owner) ' ELSE "' END) AS user_id,U.emall,sa.*,towner 1d FROM soctal accounts saJOIN users u on u.id = sa.sociable_idJOTN teams + 1.n<->1: on t.id = u.team idWHERE u.team_id = 711 and sa.provider = 'salesforce':Tech Day Review • in 1h 2mARequestGenerateAskJiminnyReportJobTest v100% C•Fri 17 Apr 15:58:54CascadeAutomated Report RetiPlaybook Activity TypeLet me check the fallback path more carefully:ImportActivityTypes.php:45-49+D ...$values = $crmService->importPicklistValues($playbook->getActivityField());if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());1moortrickuscvalues rerurns tle dvalues — anarrav or saveo rieldvalue -ocuent mocels, Inefallback fetchActivityFieldValues also returns FieldValue models from DB.unen the lteration.ImportActivityTypes.php:51-67/** @var stdClass(label: string} $value */Toreach svalues as svaluenoaras= $value→> LabeL,This is the bug. The avar docblock says stdClass but svalue is actually a FieldValue Eloquent model.For importPicklistValues path, it works because FieldValue has a label property.But for the fallback path fetchActivityFieldValues(), same thing - FieldValue models, $value→>labeWait - the DB has 7 existing crm_field_values. The fallback should have found them. Let me re-examinethe real issue: the Salesforce field values in DB are stale (from 2023) and don't match the currentSalestorce picklist (8 different values now). But more critically:Coarchodl NoRosultsExcention.in ano/services/crm/salestorce/service.onoz/Now let me check what syncField does for a non-custom field with object_type = 'event":Service.php:379-410} else {$query ='SELEClJo, Daral voe, Developervame, Label, Lenoth. DescriotonFROMFieldDetinationWHEREDurableId = :entityName';sentityname = stleld->qectnclcynameSearched getEntityName in app/Models/Crm/Field.php (1)S0 getentityName() for this tield returns "Event.lype". Ine syncrieta() FleldDerinition soel querywould querv tor Fvent Tvne —this is a vallo stancaro S- obiect tield. But the kev insiaht Is.syncField() does NOT import picklist values for non-custom fields in the standard syncField() method— Il only syncs meladata (label, tyoe, lenouh. Ine picklist values are impored separately in 1mportP1cKuastValues ().Now the critical question - why did importPicklistValues return empty? Let me look at what exceptionscoule ve nrown oesces NoresultsexceptionSearched getObjectsUrl|client->get in app/Services/Crm/Salesforce (12)Now I see it clearly. In getObjectFields ():SyncFieldsTrait.php:27-36$cachekey = 'crm.profile#' • $this→>profile->id . '.fieldType:' • $objectType;return Cache:: remember(ScacheKey, 300, function • use (SobiectType) «$url = $this->client→>get0bjectsUrl() • ucfirst($objectType)"/describe':(Ask anything (gfoL)+ <>Code Claude Opus 4.7 MediumWinasun leams59/.22uir-o...
|
NULL
|
NULL
|
NULL
|
48699
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpAPP (-zsh)₴4-zshla6l15885Tech Day Review • in 1h 1 mDOCKER• ₴1DEV (docker)APP (-zsh)X3-zsh* 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-...100% <478Fri 17 Apr 15:59:501₴81• 87ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48702
|
|
PhpStormFileEditViewFV faVsco.js vProject v=.env.o PhpStormFileEditViewFV faVsco.js vProject v=.env.other= ,env.oroduction=.env.production-eu=.env.ga= .env.qaiE.env.rootE.env.staging=.gitattributes• .gitignoreE .php-cs-fixer.cachephp.php-cs-fixer.dist.phpphp.phpstorm.meta.php=.phpunit.result.cache=.prettierignoreE .windsurfrulespip dlae_nelper.onephp_ide_helper_models.phpphp artisanO composer.json0 composer.lock0 dependency-checker.json dev.json= ids.txtEinfection.json.distM+INSIALL.moM+ INTERNAL_WEBHOOK SETUPEjiminny_storageM+ licenses.mdM MakefileO package-lock.json= phpstan.neon.dist=phpstan-baseline.neon< phpunit.xmlTe raw_sql_query.sqlM- KEADMEMOê sonar-project.propertiesE test.py<> Untitled Diagram.xmlIs vetur.config.jsM+ WEBHOOK_FILTERING_IMPLE› ib External LibrariesE Scratches and Consolesv D Database ConsolesNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny K vToolsWindowHelp© PlaybookRepository.php© ImportActivityTypes.php x© Service.php© AskJiminnyReportActivityService.php© FieldRepository.php© JiminnyDebugCommand.php© AutomatedReportsSendCommand.php© AutomatedReportsCommand.php© AutomatedReportsRepository.php© CreateHeldActivityEvent.phpC TrackProviderInstalledEvent.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.php= custom.log< console LUl© ActivityLogged.php9 AutomatedReportsCallbackService.php558© RequestGenerateAskJiminnyReportJob.php559© AutomatedReport.php, & lminnva ocalhostvAPRUDc consoe rrobiA console_1 [PROD]A DI [PROD]LQA4 QAI› A QAI PRODV & STAGINGA console [STAGING]¿ consoe AGINGI& uranus s AGINGI> M Extensions> D ScratchesC RequestGenerateReportJob.phpc) Automated keponkesuivonoclass ImportActivitxIxRes implements ShouldQueuepublic function handle(PlaybookCreated $event): void$playbook = $event->playbook;1561V504563564565// Don't run if somehow we already have categories.if ($playbook->getCategories()->isNotEmptyO) {return;566— 567568569570$crmService = $this->crmResolver->resolveForTeam($playbook->getTeam());scrmservice->syncrleldlsplaybook->getaculvicyrleldooh571572573$values = $crmService->importPicklistValues($playbook->getActivityFieldO);574575if (empty($values)) {576$values = $this->fetchActivityFieldValues($playbook->getActivityField()):577578579/** @var stdClass{label: string} $value */foreach ($values as $value) {$data = ['name' => $value->label,enao leo'=> true,Iyoe" →ravoookLaredor..rE ALLA580581582-5835845851:586587if (Str::contains(strtolower($value->label), ['sms sent',"sms out','text 588$data['type'] = PlaybookCategory::TYPE_SMS_OUTBOUND;589591if (Str::contains(strtolower($valve->label), ['sms received',"sms 1n',t 592$data['type'] = PlaybookCategory::TYPE_SMS_INBOUND;15931594595фchis->reposicory->creace(,playdook, sdaca);lusaeeprivate function fetchActivityFieldValues(Field $field): Collection/** @var Collection<FieLdValue> */return $this->fieldRepository->getPicklistValves($field);597598599600601602603604605607worksoace associated with branch Jy-log0g-autonck // Configure... (25 minutes ago)= laravel.logA SF [jiminny@localhost]A console [STAGING]A HS_local [iminny@localhost]A console [PROD] X© RequestGenerateAskJiminnyReportJobTest.phpTx: AutovHaycroundvSELECT * FROM teams WHERE name LIKE '%Integrum ESG%'; # 1126, 1065,Ma lminny v034 A1 A34 X62 Aselect * from opportunities where team_id = 1126;SELECT * FROM teams WHERE name LIKE "%Base%'; # 1125, 1063,select * fromopportunities where team_id = 1125;select * from contacts cwhere c.team_1d = 802,SELECT * FROMacmumes YicKr 10 =/004470SELECT * FROM crm_profiles WHERE user_id = 15440;SELECT * FROM crm_profiles WHERE 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,Sal.*Lowner 1o Frum socal accounts saJulr users u on u.l = sa.soclaole 1oJuir reallls t1..n<->1: on t.id = u.team idWHERE U.team_id = 581 and sa.provider = 'salesferce':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 uuid_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 ceRontaid = 54;select * from opportunitles where 1d = 7594349SELECT * FROM teams WHEREname LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * from nlavbooks where team id = 711• # event 226147SELECT * FROM1 playbook_categories WHERE playbook_id = 5515;SELECT * FROMcrm_fieldsWHEREid = 226147;SELECT * FROM crm_field_valuesWHERE crm_field_id = 226147;SELECT * FROM crm_configurations WHERE id = 692;SELECTCONCAT (u.id, CASE WHEN U.id = t.owner_id THEN ' (owner) ' ELSE "' END) AS user_id,U.emall,sa.*,towner 1d FROM soctal accounts saJOIN users u on u.id = sa.sociable_idJOTN teams + 1..n<->1: on t.id = u.team idWHERE u.team_id = 711 and sa.provider = 'salesforce':40j Tech Day Review • in 1h 1mARequestGenerateAskJiminnyReportJobTest v100% C•Fri 17 Apr 15:59:50CascadeAutomated Report RetiPlaybook Activity TypeLet me check the fallback path more carefully:• ImportActivityTypes.php:45-49$values = $crmService->importPicklistValues($playbook->getActivityField());+D ...if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());1moortrickuscvalues rerurns tle dvalues — anarrav or saveo rieldvalue -ocuent mocels, Inefallback fetchActivityFieldValues also returns FieldValue models from DB.unen the lteration.ImportActivityTypes.php:51-67/** @var stdClass(label: string} $value */Toreach svalues as svaluenoaras→ $va lue-> Labe L,This is the bug. The avar docblock says stdClass but svalue is actually a FieldValue Eloquent model.For importPicklistValues path, it works because FieldValue has a label property.But for the fallback path fetchActivityFieldValues(), same thing - FieldValue models, $value→>labeWait - the DB has 7 existing crm_field_values. The fallback should have found them. Let me re-examinethe real issue: the Salesforce field values in DB are stale (from 2023) and don't match the currentSalestorce picklist (8 different values now). But more critically:Coarchodl NoRosultsExcention.in ano/services/crm/salestorce/service.onoz/Now let me check what syncField does for a non-custom field with object_type = 'event":Service.php:379-410} else {$query =SELEClJo, Daral voe, Developervame, Label, Lenoth. DescriotonFROMFieldDetinationWHEREDurableId = :entityName';sentityname = stleld->qectnclcynameSearched getEntityName in app/Models/Crm/Field.php (1)S0 getentityName() for this tield returns "Event.lype". Ine syncrieta() FleldDerinition soel querywould querv tor Fvent Tvne —this is a vallo stancaro S- obiect tield. But the kev insiaht Is.syncField() does NOT import picklist values for non-custom fields in the standard syncField() method— Il only syncs meladata (label, tyoe, lenouh. Ine picklist values are impored separately in 1mportP1cKuastValues ().Now the critical question - why did importPicklistValues return empty? Let me look at what exceptionscoule ve nrown oesces NoresultsexceptionSearched getObjectsUrl|client->get in app/Services/Crm/Salesforce (12)Now I see it clearly. In getObjectFields ():SyncFieldsTrait.php:27-36$cachekey = 'crm.profile#' • $this→>profile->id . '.fieldType:' • $objectType;return Cache:: remember(ScacheKey, 300, function • use (SobiectType) «$url = $this->client->get0bjectsUrl() • ucfirst($objectType)"/describe':lets look at the issue one more time. it works on dev enfironment. WHy is playbook created without<> CodeClaude Opus 4.7 MediumWinasun leams59/.22uir-o...
|
NULL
|
NULL
|
NULL
|
48703
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpladlTech Day Review • in 1h 1 mAPP (-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:59:531₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48704
|
|
PhpStormFileEditViewFV faVsco.js vProject v=.env.o PhpStormFileEditViewFV faVsco.js vProject v=.env.other= ,env.oroduction=.env.production-eu=.env.ga= .env.qaiE.env.rootE.env.staging=.gitattributes• .gitignoreE .php-cs-fixer.cachephp.php-cs-fixer.dist.phpphp.phpstorm.meta.php=.phpunit.result.cache=.prettierignoreE .windsurfrulespip dlae_nelper.onephp_ide_helper_models.phpphp artisanO composer.json0 composer.lock0 dependency-checker.json dev.json= ids.txtEinfection.json.distM+INSIALL.moM+ INTERNAL_WEBHOOK SETUPEjiminny_storageM+ licenses.mdM MakefileO package-lock.json= phpstan.neon.dist=phpstan-baseline.neon< phpunit.xmlTe raw_sql_query.sqlM- KEADMEMOê sonar-project.propertiesE test.py<> Untitled Diagram.xmlIs vetur.config.jsM+ WEBHOOK_FILTERING_IMPLE› ib External LibrariesE Scratches and Consolesv D Database ConsolesNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny K vToolsWindowHelp© PlaybookRepository.php© ImportActivityTypes.php x© Service.php© AskJiminnyReportActivityService.php© FieldRepository.php© JiminnyDebugCommand.php© AutomatedReportsSendCommand.php© AutomatedReportsCommand.php© AutomatedReportsRepository.php© CreateHeldActivityEvent.phpC TrackProviderInstalledEvent.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.php= custom.log< console LUl© ActivityLogged.php9 AutomatedReportsCallbackService.php558© RequestGenerateAskJiminnyReportJob.php559© AutomatedReport.php, & lminnva ocalhostvAPRUDc consoe rrobi« console_1 [PROD]A DI [PROD]LQA4 QAI› QAI PRODV & STAGINGA console [STAGING]¿ consoe AGINGI& uranus s AGINGI> M Extensions> D ScratchesC RequestGenerateReportJob.phpc) Automated keponkesuivonoclass ImportActivitxIxRes implements ShouldQueuepublic function handle(PlaybookCreated $event): void$playbook = $event->playbook;1561V504563564565// Don't run if somehow we already have categories.if ($playbook->getCategories()->isNotEmptyO) {return;566— 567568569570$crmService = $this->crmResolver->resolveForTeam($playbook->getTeam());scrmservice->syncrleldlsplaybook->getaculvicyrleldooh571572573$values = $crmService->importPicklistValues($playbook->getActivityFieldO);574575if (empty($values)) {576$values = $this->fetchActivityFieldValues($playbook->getActivityField()) :577578579/** @var stdClass{label: string} $value */foreach ($values as $value) {$data = ['name' => $value->label,enao leo'=> true,Iyoe" →ravoookLaredor..rE ALLA580581582-5835845851:586587if (Str::contains(strtolower($value->label), ['sms sent',"sms out','text 588$data['type'] = PlaybookCategory::TYPE_SMS_OUTBOUND;589591if (Str::contains(strtolower($valve->label), ['sms received',"sms 1n',t 592$data['type'] = PlaybookCategory::TYPE_SMS_INBOUND;15931594595фchis->reposicory->creace(,playdook, sdaca);lusaeeprivate function fetchActivityFieldValues(Field $field): Collection/** @var Collection<FieLdValue> */return $this->fieldRepository->getPicklistValves($field);597598599600601602603604605607worksoace associated with branch Jy-log0g-autonck // Configure... (25 minutes ago)= laravel.logA SF [jiminny@localhost]A console [STAGING]A HS_local [iminny@localhost]A console [PROD] X© RequestGenerateAskJiminnyReportJobTest.phpTx: AutovHaycroundvSELECT * FROM teams WHERE name LIKE '%Integrum ESG%'; # 1126, 1065,Ma lminny v034 A1 A34 X62 Aselect * from opportunities where team_id = 1126;SELECT * FROM teams WHERE name LIKE "%Base%'; # 1125, 1063,select * fromopportunities where team_id = 1125;select * from contacts cwhere c.team_1d = 802,SELECT * FROMacmumes YicKr 10 =/004470SELECT * FROM crm_profiles WHERE user_id = 15440;SELECT * FROM crm_profiles WHERE 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,Sal.*Lowner 1o Frum socal accounts saJulr users u on u.l = sa.soclaole 1oJuir reallls t1..n<->1: on t.id = u.team idWHERE U.team_id = 581 and sa.provider = 'salesferce':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 uuid_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 ceRontaid = 54;select * from opportunitles where 1d = 7594349SELECT * FROM teams WHEREname LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * from nlavbooks where team id = 711• # event 226147SELECT * FROM1 playbook_categories WHERE playbook_id = 5515;SELECT * FROMcrm_fieldsWHEREid = 226147;SELECT * FROM crm_field_valuesWHERE crm_field_id = 226147;SELECT * FROM crm_configurations WHERE id = 692;SELECTCONCAT (u.id, CASE WHEN U.id = t.owner_id THEN ' (owner) ' ELSE "' END) AS user_id,U.emall,sa.*,towner 1d FROM soctal accounts saJOIN users u on u.id = sa.sociable_idJOTN teams + 1..n<->1: on t.id = u.team idWHERE u.team_id = 711 and sa.provider = 'salesforce':40j Tech Day Review • in 1h 1mARequestGenerateAskJiminnyReportJobTest v100% C•Fri 17 Apr 15:59:53CascadeAutomated Report RetiPlaybook Activity TypeLet me check the fallback path more carefully:• ImportActivityTypes.php:45-49$values = $crmService->importPicklistValues($playbook->getActivityField());+D ...if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());1moortrickuscvalues rerurns tle dvalues — anarrav or saveo rieldvalue -ocuent mocels, Inefallback fetchActivityFieldValues also returns FieldValue models from DB.unen the lteration.ImportActivityTypes.php:51-67/** @var stdClass(label: string} $value */Toreach svalues as svaluenoaras= $value→> LabeL,This is the bug. The avar docblock says stdClass but svalue is actually a FieldValue Eloquent model.For importPicklistValues path, it works because FieldValue has a label property.But for the fallback path fetchActivityFieldValues(), same thing - FieldValue models, $value→>labeWait - the DB has 7 existing crm_field_values. The fallback should have found them. Let me re-examinethe real issue: the Salesforce field values in DB are stale (from 2023) and don't match the currentSalestorce picklist (8 different values now). But more critically:Coarchodl NoRosultsExcention.in ano/services/crm/salestorce/service.onoz/Now let me check what syncField does for a non-custom field with object_type = 'event":Service.php:379-410} else {$query ='SELEClJo, Daral voe, Developervame, Label, Lenoth. DescriotonFROMFieldDetinationWHEREDurableId = :entityName';sentityname = stleld->qectnclcynameSearched getEntityName in app/Models/Crm/Field.php (1)S0 getentityName() for this tield returns "Event.lype". Ine syncrieta() FleldDerinition soel querywould querv tor Fvent Tvne —this is a vallo stancaro S- obiect tield. But the kev insiaht Is.syncField() does NOT import picklist values for non-custom fields in the standard syncField() method— Il only syncs meladata (label, tyoe, lenouh. Ine picklist values are impored separately in 1mportP1cKuastValues ().Now the critical question - why did importPicklistValues return empty? Let me look at what exceptionscoule ve nrown oesces NoresultsexceptionSearched getObjectsUrl|client->get in app/Services/Crm/Salesforce (12)Now I see it clearly. In getObjectFields ():SyncFieldsTrait.php:27-36$cachekey = 'crm.profile#' • $this→>profile->id . '.fieldType:' • $objectType;return Cache:: remember(ScacheKey, 300, function • use (SobiectType) «$url = $this->client->get0bjectsUrl() • ucfirst($objectType)"/describe':lets look at the issue one more time. it works on dev environment. WHy is playbook created withoutp og cet egares. Opes a s ted and aiso fraid values.Claude Opus 4.7 MediumWinasun leams59/.22uir-o...
|
NULL
|
NULL
|
NULL
|
48705
|
|
PhpStormFileEditViewNavigateCodeLaravelRefactorToo PhpStormFileEditViewNavigateCodeLaravelRefactorToolsWindowHelpFV faVsco.js v#11894 on JY-18909-automated-reports-ask-iminny K vProject v© PlaybookRepository.php© ImportActivityTypes.php x© Service.php© FieldRepository.php=.env.other© AskJiminnyReportActivityService.php© JiminnyDebugCommand.php= ,env.oroduction© AutomatedReportsSendCommand.php© AutomatedReportsCommand.php=.env.production-eu=.env.ga© AutomatedReportsRepository.php© CreateHeldActivityEvent.php= .env.qaiC TrackProviderInstalledEvent.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.php558E.env.root© ActivityLogged.php9 AutomatedReportsCallbackService.php© RequestGenerateAskJiminnyReportJob.php559E.env.staging=.gitattributesC RequestGenerateReportJob.phpc) Automated keponkesuivono© AutomatedReport.php1561• .gitignoreclass ImportActivitxIxRes implements ShouldQueueV504E .php-cs-fixer.cachepublic function handle(PlaybookCreated $event): void563php.php-cs-fixer.dist.php$playbook = $event->playbook;564php.phpstorm.meta.php=.phpunit.result.cache565// Don't run if somehow we already have categories.566=.prettierignoreif ($playbook->getCategories()->isNotEmptyO) {— 567E .windsurfrulesreturn;568pip dlae_nelper.onephp_ide_helper_models.php569570php artisan$crmService = $this->crmResolver->resolveForTeam($playbook->getTeam());O composer.json571scrmservice->syncrleldlsplaybook->getaculvicyrleldooh5720 composer.lock5730 dependency-checker.json$values = $crmService->importPicklistValues($playbook->getActivityFieldO);574 dev.json575= ids.txtif (empty($values)) {Einfection.json.dist576$values = $this->fetchActivityFieldValues($playbook->getActivityField()) :577M+INSIALL.mo578M+ INTERNAL_WEBHOOK SETUP579=* jiminny_storage/** @var stdClass{label: string} $value */M+ licenses.md580foreach ($values as $value) {581M Makefile$data = [582O package-lock.json'name' => $value->label,-583= phpstan.neon.distenao leo'=> true,584=phpstan-baseline.neonIyoe" →ravoookLaredor..rE ALLA< phpunit.xml5851:586Te raw_sql_query.sql587M+ KEADMEMOif (Str::contains(strtolower($value->label), ['sms sent',"sms out','text 588ê sonar-project.properties$data['type'] = PlaybookCategory::TYPE_SMS_OUTBOUND;589=test.py<> Untitled Diagram.xml591Is vetur.config.jsM+ WEBHOOK_FILTERING_IMPLEif (Str::contains(strtolower($valve->label), ['sms received',"sms 1n't 592$data['type'] = PlaybookCategory::TYPE_SMS_INBOUND;593› ib External Libraries594E Scratches and Consoles595v D Database Consolesфchis->reposicory->creace(,playdook, sdaca);596597, & lminnva ocalhostPRUbc consoe rrobi« console_1 [PROD]A DI [PROD]4QA4 QAI2 QAI PRODV & STAGINGA console [STAGING]¿ consoe AGINGI& uranus s AGINGI> M Extensions> D Scratches= custom.log< console LUl70worksoace associated with branch Jy-log0g-auton599lusaeeprivate function fetchActivityFieldValues(Field $field): Collection601/** @var Collection<FieldValue> */603return $this->fieldRepository->getPicklistValves($field);N= laravel.logA SF [jiminny@localhost]A HS_local [iminny@localhost]A console [PROD] XA console [STAGING]© RequestGenerateAskJiminnyReportJobTest.phpTx: AutovHaycroundvSELECT * FROM teams WHERE name LIKE '%Integrum ESG%'; # 1126, 1065,Ma lminny v034 A1 A34 X62 Aselect * from opportunities where team_id = 1126;SELECT * FROM teams WHERE name LIKE "%Base%'* # 1125, 1063,select * fromopportunities where team_id = 1125;select * from contacts cwhere c.team_1d = 8021SELECT * FROMacmumes YicKr 10 =/004470SELECT * FROM crm_profiles WHERE user_id = 15440;SELECT * FROM crm_profiles WHERE 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,Sal.*Lowner 1o Frum socal accounts saJulr users u on u.l = sa.soclaole 1oJuir reallls t1..n<->1: on t.id = u.team idWHERE U.team_id = 581 and sa.provider = 'salesferce':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 uuid_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 ceRontaid = 54;select * from opportunities where id = 7594349;SELECT * FROM teams WHERE'%Les%'; # 711, 692, 16067B - [EMAIL] * from playbooks where team_id = 711;# event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROMWHERE id = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;SELECT * FROM crm_configurations WHERE id = 692;SELECTCONCAT(u.id, CASE WHEN u.id = t.owner_id THEN'(owner)' ELSE"' END) AS user_id,U.emall,sa.*,t.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams ton t.id = u.team_idWHERE u.team_id = 711 and sa.provider ='salesforce':PSIool40j Tech Day Review - in 1h 1mARequestGenerateAskJiminnyReportJobTest v100% C•Fri 17 Apr 15:59:54CascadeAutomated Report RetiPlaybook Activity TypeLet me check the fallback path more carefully:• ImportActivityTypes.php:45-49$values = $crmService->importPicklistValues($playbook->getActivityField());+D ...if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());1moortrickuscvalues rerurns tle dvalues — anarrav or saveo rieldvalue -ocuent mocels, Inefallback fetchActivityFieldValues also returns FieldValue models from DB.unen the lteration.ImportActivityTypes.php:51-67/** @var stdClass(label: string} $value */Toreach svalues as svaluenoaras→ $va lue-> Labe L,This is the bug. The avar docblock says stdClass but svalue is actually a FieldValue Eloquent model.For importPicklistValues path, it works because FieldValue has a label property.But for the fallback path fetchActivityFieldValues(), same thing - FieldValue models, $value→>labeWait - the DB has 7 existing crm_field_values. The fallback should have found them. Let me re-examinethe real issue: the Salesforce field values in DB are stale (from 2023) and don't match the currentSalestorce picklist (8 different values now). But more critically:Coarchodl NoRosultsExcention.in ano/services/crm/salestorce/service.onoz/Now let me check what syncField does for a non-custom field with object_type = 'event":Service.php:379-410} else {$query ='SELEClJo, Daral voe, Developervame, Label, Lenoth. DescriotonFROMFieldDetinationWHEREDurableId = :entityName';sentityname = stleld->qectnclcynameSearched getEntityName in app/Models/Crm/Field.php (1)S0 getentityName() for this tield returns "Event.lype". Ine syncrieta() FleldDerinition soel querywould querv tor Fvent Tvne —this is a vallo stancaro S- obiect tield. But the kev insiaht Is.syncField() does NOT import picklist values for non-custom fields in the standard syncField() method— Il only syncs meladata (label, tyoe, lenou. Ine picklist values are impored separately in 1mportP1cK L1stValues ().Now the critical question - why did importPicklistValues return empty? Let me look at what exceptionscoule ve nrown oesces NoresultsexceptionSearched getObjectsUrl|client->get in app/Services/Crm/Salesforce (12)Now I see it clearly. In getObjectFields ():SyncFieldsTrait.php:27-36$cachekey = 'crm.profile#' • $this→>profile->id . '.fieldType:' • $objectType;return Cache:: remember(ScacheKey, 300, function use (SobiectType) !$url = $this->client->get0bjectsUrl() • ucfirst($objectType)"/describe':lets look at the issue one more time. it works on dev environment. WHy is playbook created without<> CodeClaude Opus 4.7 MediumWinasun leams59/.22uir-o...
|
NULL
|
NULL
|
NULL
|
48707
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpladlTech Day Review • in 1h 1 mAPP (-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:59:561₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48708
|
|
PhpStormFileEditViewNavigateCodeLaravelRefactorToo PhpStormFileEditViewNavigateCodeLaravelRefactorToolsWindowHelpFV faVsco.js v#11894 on JY-18909-automated-reports-ask-iminny K vProject v© PlaybookRepository.php© ImportActivityTypes.php x© Service.php© FieldRepository.php=.env.other© AskJiminnyReportActivityService.php© JiminnyDebugCommand.php= ,env.oroduction© AutomatedReportsSendCommand.php© AutomatedReportsCommand.php=.env.production-eu=.env.ga© AutomatedReportsRepository.php© CreateHeldActivityEvent.php= .env.qaiC TrackProviderInstalledEvent.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.php558E.env.root© ActivityLogged.php9 AutomatedReportsCallbackService.php© RequestGenerateAskJiminnyReportJob.php559E.env.staging=.gitattributesC RequestGenerateReportJob.phpc) Automated keponkesuivono© AutomatedReport.php1561• .gitignoreclass ImportActivitxIxRes implements ShouldQueueV504E .php-cs-fixer.cachepublic function handle(PlaybookCreated $event): void563php.php-cs-fixer.dist.php$playbook = $event->playbook;564php.phpstorm.meta.php=.phpunit.result.cache565// Don't run if somehow we already have categories.566=.prettierignoreif ($playbook->getCategories()->isNotEmptyO) {— 567E .windsurfrulesreturn;568pip dlae_nelper.onephp_ide_helper_models.php569570php artisan$crmService = $this->crmResolver->resolveForTeam($playbook->getTeam());O composer.json571scrmservice->syncrleldlsplaybook->getaculvicyrleldooh5720 composer.lock5730 dependency-checker.json$values = $crmService->importPicklistValues($playbook->getActivityFieldO);574 dev.json575= ids.txtif (empty($values)) {Einfection.json.dist576$values = $this->fetchActivityFieldValues($playbook->getActivityField()) :577M+INSIALL.mo578M+ INTERNAL_WEBHOOK SETUP579=* jiminny_storage/** @var stdClass{label: string} $value */M+ licenses.md580foreach ($values as $value) {581M Makefile$data = [582O package-lock.json'name' => $value->label,-583= phpstan.neon.distenao leo'=> true,584=phpstan-baseline.neonIyoe" →ravoookLaredor..rE ALLA< phpunit.xml5851:586Te raw_sql_query.sql587M+ KEADMEMOif (Str::contains(strtolower($value->label), ['sms sent',"sms out','text 588ê sonar-project.properties$data['type'] = PlaybookCategory::TYPE_SMS_OUTBOUND;589=test.py<> Untitled Diagram.xml591Is vetur.config.jsM+ WEBHOOK_FILTERING_IMPLEif (Str::contains(strtolower($valve->label), ['sms received',sms 1n')t 592$data['type'] = PlaybookCategory::TYPE_SMS_INBOUND;593› ib External Libraries594E Scratches and Consoles595v D Database Consolesфchis->reposicory->creace(,playdook, sdaca);, & lminnva ocalhostAPRUDc consoe rrobi« console_1 [PROD]A DI [PROD]4QA4 QAI2 QAI PRODV & STAGINGA console [STAGING]¿ consoe AGINGI& uranus s AGINGI> M Extensions> D Scratches= custom.log< console LUl70worksoace associated with branch Jy-log0g-auton597599lusaeeprivate function fetchActivityFieldValues(Field $field): Collection601602/** @var Collection<FieldValue> */603return $this->fieldRepository->getPicklistValves($field);N= laravel.logA SF [jiminny@localhost]A console [STAGING]A HS_local [iminny@localhost]A console [PROD] X© RequestGenerateAskJiminnyReportJobTest.phpTx: AutovHaycroundvSELECT * FROM teams WHERE name LIKE '%Integrum ESG%'; # 1126, 1065,Ma lminny v034 A1 A34 X62 Aselect * from opportunities where team_id = 1126;SELECT * FROM teams WHERE name LIKE "%Base%'* # 1125, 1063,select * fromopportunities where team_id = 1125;select * from contacts cwhere c.team_1d = 8021SELECT * FROMacmumes YicKr 10 =/004470SELECT * FROM crm_profiles WHERE user_id = 15440;SELECT * FROM crm_profiles WHERE 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,Sal.*Lowner 1o Frum socal accounts saJulr users u on u.l = sa.soclaole 1oJuir reallls t1..n<->1: on t.id = u.team idWHERE U.team_id = 581 and sa.provider = 'salesferce':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 uuid_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 ceRontaid = 54;select * from opportunities where id = 7594349;SELECT * FROM teams WHERE'%Les%'; # 711, 692, 16067B - [EMAIL] * from playbooks where team_id = 711;# event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROMWHERE id = 226147;SELECT * FROM crm_field_values WHERE crm_field_id = 226147;SELECT * FROM crm_configurations WHERE id = 692;SELECTCONCAT(u.id, CASE WHEN u.id = t.owner_id THEN'(owner)' ELSE"' END) AS user_id,U.emall,sa.*,t.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t 1..n<->1:on t.id = u.team_idWHERE u.team_id = 711 and sa.provider ='salesforce':Iool40j Tech Day Review - in 1h 1mA100% C•Fri 17 Apr 15:59:56RequestGenerateAskJiminnyReportJobTest vCascadeAutomated Report RetiPlaybook Activity Type+D ...Let me check the fallback path more carefully:• ImportActivityTypes.php:45-49$values = $crmService->importPicklistValues($playbook->getActivityField());if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());1moortrickuscvalues rerurns tle dvalues — anarrav or saveo rieldvalue -ocuent mocels, Inefallback fetchActivityFieldValues also returns FieldValue models from DB.unen the lteration.ImportActivityTypes.php:51-67/** @var stdClass(label: string} $value */Toreach svalues as svaluenoaras= $value→> LabeL,This is the bug. The avar docblock says stdClass but svalue is actually a FieldValue Eloquent model.For importPicklistValues path, it works because FieldValue has a label property.But for the fallback path fetchActivityFieldValues(), same thing - FieldValue models, $value→>labeWait - the DB has 7 existing crm_field_values. The fallback should have found them. Let me re-examinethe real issue: the Salesforce field values in DB are stale (from 2023) and don't match the currentSalestorce picklist (8 different values now). But more critically:Coarchodl NoRosultsExcention.in ano/services/crm/salestorce/service.onoz/Now let me check what syncField does for a non-custom field with object_type = 'event":Service.php:379-410} else {$query ='SELEClFROMWHEREJo, Daral voe, Developervame, Label, Lenoth. DescriotonFieldDetinationDurableId = :entityName';sentityname = stleld->qectnclcynameSearched getEntityName in app/Models/Crm/Field.php (1)S0 getentityName() for this tield returns "Event.lype". Ine syncrieta() FleldDerinition soel querywould querv tor Fvent Tvne —this is a vallo stancaro S- obiect tield. But the kev insiaht Is.syncField() does NOT import picklist values for non-custom fields in the standard syncField() method— Il only syncs meladata (label, tyoe, lenou. Ine picklist values are impored separately in 1mportP1cK L1stValues ().Now the critical question - why did importPicklistValues return empty? Let me look at what exceptionscoule ve nrown oesces NoresultsexceptionSearched getObjectsUrl|client->get in app/Services/Crm/Salesforce (12)Now I see it clearly. In getObjectFields ():SyncFieldsTrait.php:27-36$cachekey = 'crm.profile#' • $this→>profile->id . '.fieldType:' • $objectType;return Cache:: remember(ScacheKey, 300, function use (SobiectType) !$url = $this->client->get0bjectsUrl() • ucfirst($objectType)"/describe':lets look at the issue one more time. it works on dev environment. WHy is playbook created without<> CodeClaude Opus 4.7MediumWinasun leams59/.22uir-o...
|
NULL
|
NULL
|
NULL
|
48709
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpladlTech Day Review • in 1h 1 mAAPP (-zsh)₴4-zshDOCKER• ₴1DEV (docker)APP (-zsh)X3-zsh• ₴5* Review screenp...• ₴6Changes 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 16:00:00181ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48710
|
|
PhpStormFileEditViewFV faVsco.js vProject v=.env.o PhpStormFileEditViewFV faVsco.js vProject v=.env.other= ,env.oroduction=.env.production-eu=.env.ga= .env.qaiE.env.rootE.env.staging=.gitattributes• .gitignoreE .php-cs-fixer.cachephp.php-cs-fixer.dist.phpphp.phpstorm.meta.php=.phpunit.result.cache=.prettierignoreE .windsurfrulespip dlae_nelper.onephp_ide_helper_models.phpphp artisanO composer.json0 composer.lock0 dependency-checker.json dev.json= ids.txtEinfection.json.distM+INSIALL.moM+ INTERNAL_WEBHOOK SETUPEjiminny_storageM+ licenses.mdM MakefileO package-lock.json= phpstan.neon.dist=phpstan-baseline.neon< phpunit.xmlTe raw_sql_query.sqlM- KEADMEMOê sonar-project.propertiesE test.py<> Untitled Diagram.xmlIs vetur.config.jsM+ WEBHOOK_FILTERING_IMPLE› ib External LibrariesE Scratches and Consolesv D Database ConsolesNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny K vToolsWindowHelp© PlaybookRepository.php© ImportActivityTypes.php x© Service.php© AskJiminnyReportActivityService.php© FieldRepository.php© JiminnyDebugCommand.php© AutomatedReportsSendCommand.php© AutomatedReportsCommand.php© AutomatedReportsRepository.php© CreateHeldActivityEvent.phpC TrackProviderInstalledEvent.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.php= custom.log< console LUl© ActivityLogged.php9 AutomatedReportsCallbackService.php558© RequestGenerateAskJiminnyReportJob.php559© AutomatedReport.php, & lminnva ocalhostvAPRUDc consoe rrobiA console_1 [PROD]A DI [PROD]LQA4 QAI› A QAI PRODV & STAGINGA console [STAGING]¿ consoe AGINGI& uranus s AGINGI> M Extensions> D ScratchesC RequestGenerateReportJob.phpc) Automated keponkesuivonoclass ImportActivitxIxRes implements ShouldQueuepublic function handle(PlaybookCreated $event): void$playbook = $event->playbook;1561V504563564565// Don't run if somehow we already have categories.if ($playbook->getCategories()->isNotEmptyO) {return;566— 567568569570$crmService = $this->crmResolver->resolveForTeam($playbook->getTeam());scrmservice->syncrleldlsplaybook->getaculvicyrleldooh571572573$values = $crmService->importPicklistValues($playbook->getActivityFieldO);574575if (empty($values)) {576$values = $this->fetchActivityFieldValues($playbook->getActivityField()):577578579/** @var stdClass{label: string} $value */foreach ($values as $value) {$data = ['name' => $value->label,enao leo'=> true,Iyoe" →ravoookLaredor..rE ALLA580581582-5835845851:586587if (Str::contains(strtolower($value->label), ['sms sent',"sms out','text 588$data['type'] = PlaybookCategory::TYPE_SMS_OUTBOUND;589591if (Str::contains(strtolower($valve->label), ['sms received',"sms 1n',t 592$data['type'] = PlaybookCategory::TYPE_SMS_INBOUND;15931594595фchis->reposicory->creace(,playdook, sdaca);lusaeeprivate function fetchActivityFieldValues(Field $field): Collection/** @var Collection<FieLdValue> */return $this->fieldRepository->getPicklistValves($field);597598599600601602603604605607worksoace associated with branch Jy-log0g-autonck // Configure... (25 minutes ago)= laravel.logA SF [jiminny@localhost]A console [STAGING]A HS_local [iminny@localhost]A console [PROD] X© RequestGenerateAskJiminnyReportJobTest.phpTx: AutovHaycroundvSELECT * FROM teams WHERE name LIKE '%Integrum ESG%'; # 1126, 1065,Ma lminny v034 A1 A34 X62 Aselect * from opportunities where team_id = 1126;SELECT * FROM teams WHERE name LIKE "%Base%'; # 1125, 1063,select * fromopportunities where team_id = 1125;select * from contacts cwhere c.team_1d = 802,SELECT * FROMacmumes YicKr 10 =/004470SELECT * FROM crm_profiles WHERE user_id = 15440;SELECT * FROM crm_profiles WHERE 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,Sal.*Lowner 1o Frum socal accounts saJulr users u on u.l = sa.soclaole 1oJuir reallls t1..n<->1: on t.id = u.team idWHERE U.team_id = 581 and sa.provider = 'salesferce':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 uuid_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 ceRontaid = 54;select * from opportunitles where 1d = 7594349SELECT * FROM teams WHEREname LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * from nlavbooks where team id = 711• # event 226147SELECT * FROM1 playbook_categories WHERE playbook_id = 5515;SELECT * FROMcrm_fieldsWHEREid = 226147;SELECT * FROM crm_field_valuesWHERE crm_field_id = 226147;SELECT * FROM crm_configurations WHERE id = 692;SELECTCONCAT (u.id, CASE WHEN U.id = t.owner_id THEN ' (owner) ' ELSE "' END) AS user_id,U.emall,sa.*,towner 1d FROM soctal accounts saJOIN users u on u.id = sa.sociable_idJOTN teams + 1.n<->1: on t.id = u.team idWHERE u.team_id = 711 and sa.provider = 'salesforce':40j Tech Day Review • in 1h 1mARequestGenerateAskJiminnyReportJobTest v100% C•Fri 17 Apr 16:00:00CascadeAutomated Report RetiPlaybook Activity TypeLet me check the fallback path more carefully:+D ...•ImportActivityTypes.php:45-49$values = $crmService->importPicklistValues($playbook->getActivityField());if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());1moortrickuscvalues rerurns tle dvalues — anarrav or saveo rieldvalue -ocuent mocels, Inefallback fetchActivityFieldValues also returns FieldValue models from DB.unen the lteration.ImportActivityTypes.php:51-67/** @var stdClass(label: string} $value */Toreach svalues as svaluenoaras→ $va lue-> Labe L,This is the bug. The avar docblock says stdClass but svalue is actually a FieldValue Eloquent model.For importPicklistValues path, it works because FieldValue has a label property.But for the fallback path fetchActivityFieldValues(), same thing - FieldValue models, $value→>labeWait - the DB has 7 existing crm_field_values. The fallback should have found them. Let me re-examinethe real issue: the Salesforce field values in DB are stale (from 2023) and don't match the currentSalestorce picklist (8 different values now). But more critically:Coarchodl NoRosultsExcention.in ano/services/crm/salestorce/service.onoz/Now let me check what syncField does for a non-custom field with object_type = 'event":Service.php:379-410} else {$query =SELEClJo, Daral voe, Developervame, Label, Lenoth. DescriotonFROMFieldDetinationWHEREDurableId = :entityName';sentityname = stleld->qectnclcynameSearched getEntityName in app/Models/Crm/Field.php (1)S0 getentityName() for this tield returns "Event.lype". Ine syncrieta() FleldDerinition soel querywould querv tor Fvent Tvne —this is a vallo stancaro S- obiect tield. But the kev insiaht Is.syncField() does NOT import picklist values for non-custom fields in the standard syncField() method— Il only syncs meladata (label, tyoe, lenouh. Ine picklist values are impored separately in 1mportP1cKuastValues ().Now the critical question - why did importPicklistValues return empty? Let me look at what exceptionscoule ve nrown oesces NoresultsexceptionSearched getObjectsUrl|client->get in app/Services/Crm/Salesforce (12)Now I see it clearly. In getObjectFields ():SyncFieldsTrait.php:27-36$cachekey = 'crm.profile#' • $this→>profile->id . '.fieldType:' • $objectType;return Cache:: remember(ScacheKey, 300, function • use (SobiectType) «$url = $this->client->get0bjectsUrl() • ucfirst($objectType)"/describe':lets look at the issue one more time. it works on dev environment. Msly is playbook created without<> CodeClaude Opus 4.7 MediumWinasun leams59/.22uir-o...
|
NULL
|
NULL
|
NULL
|
48711
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpldo]• Tech Day Review - in 1hAAPP (-zsh)X4-zshDOCKER• ₴1DEV (docker)APP (-zsh)X3-zsh• ₴5* Review screenp...• ₴6Changes 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 16:00:03181ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48712
|
|
PhpStormFileEditViewFV faVsco.js vProject v=.env.o PhpStormFileEditViewFV faVsco.js vProject v=.env.other= ,env.oroduction=.env.production-eu=.env.ga= .env.qaiE.env.rootE.env.staging=.gitattributes• .gitignoreE .php-cs-fixer.cachephp.php-cs-fixer.dist.phpphp.phpstorm.meta.php=.phpunit.result.cache=.prettierignoreE .windsurfrulespip dlae_nelper.onephp_ide_helper_models.phpphp artisanO composer.json0 composer.lock0 dependency-checker.json dev.json= ids.txtEinfection.json.distM+INSIALL.moM+ INTERNAL_WEBHOOK SETUPEjiminny_storageM+ licenses.mdM MakefileO package-lock.json= phpstan.neon.dist=phpstan-baseline.neon< phpunit.xmlTe raw_sql_query.sqlM- KEADMEMOê sonar-project.propertiesE test.py<> Untitled Diagram.xmlIs vetur.config.jsM+ WEBHOOK_FILTERING_IMPLE› ib External LibrariesE Scratches and Consolesv D Database ConsolesNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny K vToolsWindowHelp© PlaybookRepository.php© ImportActivityTypes.php x© Service.php© AskJiminnyReportActivityService.php© FieldRepository.php© JiminnyDebugCommand.php© AutomatedReportsSendCommand.php© AutomatedReportsCommand.php© AutomatedReportsRepository.php© CreateHeldActivityEvent.phpC TrackProviderInstalledEvent.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.php= custom.log< console LUl© ActivityLogged.php9 AutomatedReportsCallbackService.php558© RequestGenerateAskJiminnyReportJob.php559© AutomatedReport.php, & lminnva ocalhostvAPRUDc consoe rrobiA console_1 [PROD]A DI [PROD]LQA4 QAI› A QAI PRODV & STAGINGA console [STAGING]¿ consoe AGINGI& uranus s AGINGI> M Extensions> D ScratchesC RequestGenerateReportJob.phpc) Automated keponkesuivonoclass ImportActivitxIxRes implements ShouldQueuepublic function handle(PlaybookCreated $event): void$playbook = $event->playbook;1561V504563564565// Don't run if somehow we already have categories.if ($playbook->getCategories()->isNotEmptyO) {return;566— 567568569570$crmService = $this->crmResolver->resolveForTeam($playbook->getTeam());scrmservice->syncrleldlsplaybook->getaculvicyrleldooh571572573$values = $crmService->importPicklistValues($playbook->getActivityFieldO);574575if (empty($values)) {576$values = $this->fetchActivityFieldValues($playbook->getActivityField()) :577578579/** @var stdClass{label: string} $value */foreach ($values as $value) {$data = ['name' => $value->label,enao leo'=> true,Iyoe" →ravoookLaredor..rE ALLA580581582-5835845851:586587if (Str::contains(strtolower($value->label), ['sms sent',"sms out','text 588$data['type'] = PlaybookCategory::TYPE_SMS_OUTBOUND;589591if (Str::contains(strtolower($valve->label), ['sms received',"sms 1n',t 592$data['type'] = PlaybookCategory::TYPE_SMS_INBOUND;15931594595фchis->reposicory->creace(,playdook, sdaca);lusaeeprivate function fetchActivityFieldValues(Field $field): Collection/** @var Collection<FieLdValue> */return $this->fieldRepository->getPicklistValves($field);597598599600601602603604605607worksoace associated with branch Jy-log0g-autonck // Configure... (25 minutes ago)= laravel.logA SF [jiminny@localhost]A console [STAGING]A HS_local [iminny@localhost]A console [PROD] X© RequestGenerateAskJiminnyReportJobTest.phpTx: AutovHaycroundvSELECT * FROM teams WHERE name LIKE '%Integrum ESG%'; # 1126, 1065,Ma lminny v034 A1 A34 X62 Aselect * from opportunities where team_id = 1126;SELECT * FROM teams WHERE name LIKE "%Base%'; # 1125, 1063,select * fromopportunities where team_id = 1125;select * from contacts cwhere c.team_1d = 802,SELECT * FROMacmumes YicKr 10 =/004470SELECT * FROM crm_profiles WHERE user_id = 15440;SELECT * FROM crm_profiles WHERE 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,Sal.*Lowner 1o Frum socal accounts saJulr users u on u.l = sa.soclaole 1oJuir reallls t1..n<->1: on t.id = u.team idWHERE U.team_id = 581 and sa.provider = 'salesferce':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 uuid_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 ceRontaid = 54;select * from opportunitles where 1d = 7594349SELECT * FROM teams WHEREname LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * from nlavbooks where team id = 711• # event 226147SELECT * FROM1 playbook_categories WHERE playbook_id = 5515;SELECT * FROMcrm_fieldsWHEREid = 226147;SELECT * FROM crm_field_valuesWHERE crm_field_id = 226147;SELECT * FROM crm_configurations WHERE id = 692;SELECTCONCAT (u.id, CASE WHEN U.id = t.owner_id THEN ' (owner) ' ELSE "' END) AS user_id,U.emall,sa.*,towner 1d FROM soctal accounts saJOIN users u on u.id = sa.sociable_idJOTN teams + 1..n<->1: on t.id = u.team idWHERE u.team_id = 711 and sa.provider = 'salesforce':> 0lablTech Day Review • in 1hARequestGenerateAskJiminnyReportJobTest v100% C•Fri 17 Apr 16:00:02CascadeAutomated Report RetiPlaybook Activity TypeLet me check the fallback path more carefully:+D ...•ImportActivityTypes.php:45-49$values = $crmService->importPicklistValues($playbook->getActivityField());if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());1moortrickuscvalues rerurns tle dvalues — anarrav or saveo rieldvalue -ocuent mocels, Inefallback fetchActivityFieldValues also returns FieldValue models from DB.unen the lteration.ImportActivityTypes.php:51-67/** @var stdClass(label: string} $value */Toreach svalues as svaluenoaras= $value→> LabeL,This is the bug. The avar docblock says stdClass but svalue is actually a FieldValue Eloquent model.For importPicklistValues path, it works because FieldValue has a label property.But for the fallback path fetchActivityFieldValues(), same thing - FieldValue models, $value→>labeWait - the DB has 7 existing crm_field_values. The fallback should have found them. Let me re-examinethe real issue: the Salesforce field values in DB are stale (from 2023) and don't match the currentSalestorce picklist (8 different values now). But more critically:Coarchodl NoRosultsExcention.in ano/services/crm/salestorce/service.onoz/Now let me check what syncField does for a non-custom field with object_type = 'event":Service.php:379-410} else {$query =SELEClJo, Daral voe, Developervame, Label, Lenoth. DescriotonFROMFieldDetinationWHEREDurableId = :entityName';sentityname = stleld->qectnclcynameSearched getEntityName in app/Models/Crm/Field.php (1)S0 getentityName() for this tield returns "Event.lype". Ine syncrieta() FleldDerinition soel querywould querv tor Fvent Tvne —this is a vallo stancaro S- obiect tield. But the kev insiaht Is.syncField() does NOT import picklist values for non-custom fields in the standard syncField() method— Il only syncs meladata (label, tyoe, lenouh. Ine picklist values are impored separately in 1mportP1cKuastValues ().Now the critical question - why did importPicklistValues return empty? Let me look at what exceptionscoule ve nrown oesces NoresultsexceptionSearched getObjectsUrl|client->get in app/Services/Crm/Salesforce (12)Now I see it clearly. In getObjectFields ():SyncFieldsTrait.php:27-36$cachekey = 'crm.profile#' • $this→>profile->id . '.fieldType:' • $objectType;return Cache:: remember(ScacheKey, 300, function • use (SobiectType) «$url = $this->client->get0bjectsUrl() • ucfirst($objectType)"/describe':lets look at the issue one more time. it works on dev environment. Why is playbook created without<> CodeClaude Opus 4.7 MediumWinasun leams59/.22uir-o...
|
NULL
|
NULL
|
NULL
|
48713
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpldo]= Tech Day Review - in 1hAAPP (-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 16:00:191₴81ec2-user@ip-10-...O ₴8APP...
|
NULL
|
NULL
|
NULL
|
48715
|
|
PhpStormFileEditViewFV faVsco.js vProject v=.env.o PhpStormFileEditViewFV faVsco.js vProject v=.env.other= ,env.oroduction=.env.production-eu=.env.ga= .env.qaiE.env.rootE.env.staging=.gitattributes• .gitignoreE .php-cs-fixer.cachephp.php-cs-fixer.dist.phpphp.phpstorm.meta.php=.phpunit.result.cache=.prettierignoreE .windsurfrulespip dlae_nelper.onephp_ide_helper_models.phpphp artisanO composer.json0 composer.lock0 dependency-checker.json dev.json= ids.txtEinfection.json.distM+INSIALL.moM+ INTERNAL_WEBHOOK SETUPEjiminny_storageM+ licenses.mdM MakefileO package-lock.json= phpstan.neon.dist=phpstan-baseline.neon< phpunit.xmlTe raw_sql_query.sqlM- KEADMEMOê sonar-project.propertiesE test.py<> Untitled Diagram.xmlIs vetur.config.jsM+ WEBHOOK_FILTERING_IMPLE› ib External LibrariesE Scratches and Consolesv D Database ConsolesNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny K vToolsWindowHelp© PlaybookRepository.php© ImportActivityTypes.php x© Service.php© AskJiminnyReportActivityService.php© FieldRepository.php© JiminnyDebugCommand.php© AutomatedReportsSendCommand.php© AutomatedReportsCommand.php© AutomatedReportsRepository.php© CreateHeldActivityEvent.phpC TrackProviderInstalledEvent.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.php= custom.log< console LUl© ActivityLogged.php9 AutomatedReportsCallbackService.php558© RequestGenerateAskJiminnyReportJob.php559© AutomatedReport.php, & lminnva ocalhostvAPRUDc consoe rrobiA console_1 [PROD]A DI [PROD]LQA4 QAI› QAI PRODV & STAGINGA console [STAGING]¿ consoe AGINGI& uranus s AGINGI> M Extensions> D ScratchesC RequestGenerateReportJob.phpc) Automated keponkesuivonoclass ImportActivitxIxRes implements ShouldQueuepublic function handle(PlaybookCreated $event): void$playbook = $event->playbook;1561V504563564565// Don't run if somehow we already have categories.if ($playbook->getCategories()->isNotEmptyO) {return;566— 567568569570$crmService = $this->crmResolver->resolveForTeam($playbook->getTeam());scrmservice->syncrleldlsplaybook->getaculvicyrleldooh571572573$values = $crmService->importPicklistValues($playbook->getActivityFieldO);574575if (empty($values)) {576$values = $this->fetchActivityFieldValues($playbook->getActivityField()) :577578579/** @var stdClass{label: string} $value */foreach ($values as $value) {$data = ['name' => $value->label,enao leo'=> true,Iyoe" →ravoookuaredory..rE ALLA580581582-5835845851:586587if (Str::contains(strtolower($value->label), ['sms sent',"sms out','text 588$data['type'] = PlaybookCategory::TYPE_SMS_OUTBOUND;589591if (Str::contains(strtolower($valve->label), ['sms received',"sms 1n',t 592$data['type'] = PlaybookCategory::TYPE_SMS_INBOUND;15931594595фchis->reposicory->creace(,playdook, sdaca);lusaeeprivate function fetchActivityFieldValues(Field $field): Collection/** @var Collection<FieLdValue> */return $this->fieldRepository->getPicklistValves($field);597598599600601602603604605607worksoace associated with branch Jy-log0g-autonck // Configure... (26 minutes ago)= laravel.logA SF [jiminny@localhost]A console [STAGING]A HS_local [iminny@localhost]A console [PROD] X© RequestGenerateAskJiminnyReportJobTest.phpTx: AutovHaycroundvSELECT * FROM teams WHERE name LIKE '%Integrum ESG%'; # 1126, 1065,Ma lminny v034 A1 A34 X62 Aselect * from opportunities where team_id = 1126;SELECT * FROM teams WHERE name LIKE "%Base%'* # 1125, 1063,select * fromopportunities where team_id = 1125;select * from contacts cwhere c.team_1d = 8021SELECT * FROMacmumes YicKr 10 =/004470SELECT * FROM crm_profiles WHERE user_id = 15440;SELECT * FROM crm_profiles WHERE 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,Sal.*Lowner 1o Frum socal accounts saJulr users u on u.l = sa.sociaole 1oJuir reallls t1..n<->1: on t.id = u.team idWHERE U.team_id = 581 and sa.provider = 'salesferce':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 uuid_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 ceRontaid = 54;select * from opportunitles where 1d = 7594349SELECT * FROM teams WHEREname LIKE '%Les%'; # 711, 692, 16067B - [EMAIL] * from plavbooks where team id = 711: # event 226147SELECT * FROM1 playbook_categories WHERE playbook_id = 5515;SELECT * FROMcrm_fieldsWHEREid = 226147;SELECT * FROM crm_field_valuesWHERE crm_field_id = 226147;SELECT * FROM crm_configurations WHERE id = 692;SELECTCONCAT (u.id, CASE WHEN U.id = t.owner_id THEN ' (owner)' ELSE "' END) AS user_id,U.emall,sa.*,towner 1d FROM soctal accounts saJOIN users u on u.id = sa.sociable_idJOTN teams + 1..n<->1: on t.id = u.team idWHERE u.team_id = 711 and sa.provider = 'salesforce':> 0lablTech Day Review • in 1hARequestGenerateAskJiminnyReportJobTest v100% C•Fri 17 Apr 16:00:20CascadeAutomated Report RetiPlaybook Activity TypeLet me check the fallback path more carefully:+D ...ImportActivityTypes.php:45-49$values = $crmService->importPicklistValues($playbook->getActivityField());if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField());1moortrickuscvalues rerurns tle dvalues — anarrav or saveo rieldvalue -ocuent mocels, Inefallback fetchActivityFieldValues also returns FieldValue models from DB.unen the lteration.ImportActivityTypes.php:51-67/** @var stdClass(label: string} $value */Toreach svalues as svaluenoaras= $value→> LabeL,This is the bug. The avar docblock says stdClass but svalue is actually a FieldValue Eloquent model.For importPicklistValues path, it works because FieldValue has a label property.But for the fallback path fetchActivityFieldValues(), same thing - FieldValue models, $value→>labeWait - the DB has 7 existing crm_field_values. The fallback should have found them. Let me re-examinethe real issue: the Salesforce field values in DB are stale (from 2023) and don't match the currentSalestorce picklist (8 different values now). But more critically:Coarchodl NoRosultsExcention.in ano/services/crm/salestorce/service.onoz/Now let me check what syncField does for a non-custom field with object_type = 'event":Service.php:379-410} else {$query ='SELEClJo, Daral voe, Developervame, Label, Lenoth. DescriotonFROMFieldDetinationWHEREDurableId = :entityName';sentityname = stleld->qectnclcynameSearched getEntityName in app/Models/Crm/Field.php (1)S0 getentityName() for this tield returns "Event.lype". Ine syncrieta() FleldDerinition soel querywould querv tor Fvent Tvne —this is a vallo stancaro S- obiect tield. But the kev insiaht Is.syncField() does NOT import picklist values for non-custom fields in the standard syncField() method— Il only syncs meladata (label, tyoe, lenouh. Ine picklist values are impored separately in 1mportP1cKuastValues ().Now the critical question - why did importPicklistValues return empty? Let me look at what exceptionscoule ve nrown oesces NoresultsexceptionSearched getObjectsUrl client->get in app/Services/Crm/Salesforce (12)Now I see it clearly. In getObjectFields ():SyncFieldsTrait.php:27-36$cachekey = 'crm.profile#' • $this→>profile->id . '.fieldType:' • $objectType;return Cache:: remember(ScacheKey, 300, function use (SobiectType) !$url = $this->client->get0bjectsUrl() • ucfirst($objectType)'/describe';lets look at the issue one more time. it works on dev environment. Why is playbook created withoutplaybook categories. There is field and also field values. What logs can I find in|<> CodeClaude Opus 4.7 MediumWinasun leams59/.22uir-o...
|
NULL
|
NULL
|
NULL
|
48716
|
|
PhpStormFileEditViewNavigateCodeLaravelRefactorToo PhpStormFileEditViewNavigateCodeLaravelRefactorToolsWindowHelpFV faVsco.js#11894 on JY-18909-automated-reports-ask-jiminny k ~Project v© PlaybookRepository.php© ImportActivityTypes.phpx© Service.php© FieldRepository.php=.env.other© AskJiminnyReportActivityService.phpc keporicontroller.ono© JiminnyDebugCommand.php=.env.production© AutomatedReportsSendCommand.php© AutomatedReportsCommand.php=.env.production-eu=.env.ga© AutomatedReportsRepository.phpAutomatedReportsService.php© CreateHeldActivityEvent.php= .env.qaiC TrackProviderInstalledEvent.php© CreateActivityLoqgedEvent.phpC UserPilotActivityListener.phpE.env.root© ActivityLogged.php© AutomatedReportsCallbackService.php© RequestGenerateAskJiminnyReportJob.phpE.env.staging=.gitattributesC RequestGenerateReportJob.php(C AutomatedReportResult.php© AutomatedReport.phpO gitignoreclass ImportActivitxIxRes implements ShouldQueueE .php-cs-fixer.cachepublic function handle(PlaybookCreated $event): voidphp.php-cs-fixer.dist.php$playbook = $event->playbook;php.phpstorm.meta.php=.phpunit.result.cache// Don't run if somehow we already have categories.=.prettierignoreif ($playbook->getCategories()->isNotEmptyO) {E .windsurfrulesreturn;pip dlae_nelper.onephp_ide_helper_models.phpphp artisan$crmService = $this->crmResolver->resolveForTeam($playbook->getTeam()):O composer.json0 composer.lock$crmService->syncField($playbook->getActivityField();0 dependency-checker.json$values = $crmService->importPicklistValues($playbook->getActivityFieldO); dev.json= ids.txtif (empty($values)) {Einfection.json.dist$values = $this->fetchActivityFieldValues($playbook->getActivityField()):n577M+INSIALL.moM+ INTERNAL_WEBHOOK_SE*Ejiminny_storageM+ licenses.mdPSM Makefile$1O package-lock.json= phpstan.neon.dist=phpstan-baseline.neonFirefox< phpunit.xmlTe raw_sql_query.sql58J:M+ KEADMEMOif (Str::contains(strtolower($value->label), ['sms sent',"sms out',ê sonar-project.properties$data['type'] = PlaybookCategory::TYPE_SMS_OUTBOUND;E test.py<> Untitled Diagram.xmlIs vetur.config.jsM+ WEBHOOK_FILTERING_IMPLEif (Str::contains(strtolower($valve->label), ['sms received','sms 1n',$data['type'] = PlaybookCategory::TYPE_SNS_INBOUND;› ib External LibrariesE Scratches and Consolesv D Database Consolesфchis->reposicory->creace(playbook, sdata);, & lminnva ocalhostCPRUDc consoe rrobi« console_1 [PROD]A DI [PROD]4 QA4 QAI2 QAI PRODV & STAGINGA console [STAGING]¿ consoe AGINGI& uranus s AGINGI•-xrensons> D Scratchesworksoace associated with branch Jy-log0g-automated-rlusaeeprivate function fetchActivityFieldValues(Field $field): Collection/** @var Collection<FieldValue> */return $this->fieldRepository->getPicklistValves($field);587LexLooo589070591t 592593594595596597578599600601602603604605606607ack // Configure... (26 minutes ago)= custom.log< console LUl= laravel.logA console [STAGING]A SF [jiminny@localhost]A HS_local [iminny@localhost]© RequestGenerateAskJiminnyReportJobTest.phpA console [PROD] X5585591561v 562563564565566568570572573574575576Ix. Aulo vHaycroundvSELECT * 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 * fromopportunities where team_id = 1125;select * from contacts cwhere c.team_id = 882;Sa jiminny ~034 A1 A34 X62 ^SELECT * FROMacmumes yickr 10 =/004470SELECT * FROM crm_profiles WHERE user_id = 15440;SELECT * FROM crm_profiles WHERE 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, CASE WHEN U.id = t.owner_id THEN ' (owner)' ELSE "' END) AS user_id,u.email,sa.*,t.owner_id FROM social_accounts saJulr users u on u.l = sa.soclaole 1oJuir reallls tIs»l. On 1.10 = U.teall l0WHERE U.team_id = 581 and sa.provider = 'salesferce':SELECT * FROM automated_report_results order by id desc;Nselect * from automated_report_results order by za desc;SELECT * FROM automated_ report_results WHERE id = 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 playbooks where team_id = 711; # event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;ScLee * rrom crn tlelos wibke 10 = 220147SELECT * FROMcrm_field_values WHERE crm_field_id = 226147;SELECT * FROM crm_configurations WHERE id = 692;SELECTCONCAT(u.id, LASE WHEN U.id = t.owner_id THEN'(owner)' ELSEu.email,sa.*,t.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 711 and sa.provider = 'salesfence':END) AS user_id,> 0lablTech Day Review • in 1hA100% C•Fri 17 Apr 16:00:23" RequestGenerateAsk.JiminnvRenort.lobTestCascadeAutomated Report Reti• Playbook Activity Ty1 ..lets look at the issue one moreule. k woiks owuey enviomnell. yruly ts Siay dook credtea witnoutplaybook categories. There is field and also field values. What logs can I findSwimming..Ask anything (24L)+ ‹› CodelClaude Onus 4.7 MediumWinasun leams59/.22uir-d...
|
NULL
|
NULL
|
NULL
|
48717
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpldo]= Tech Day Review - in 1hAAPP (-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 16:00:281₴81ec2-user@ip-10-...O ₴8APP...
|
NULL
|
NULL
|
NULL
|
48720
|
|
FirefoxFileDevelopers | HubSpotM'inbox (1,576) FirefoxFileDevelopers | HubSpotM'inbox (1,576) - lukas.kovalik@jiminM 120216 is your HubSpot Log In CodFal CloudWatch | eu-west-1New Tabz Configure SSH access to multiple. fix-cache-for-business-processesDashboard • Jiminny • Membrane• App "4oho CRM" • Jiminny • MembJY-20692 change confirmation par( JY-20543 add AJ reports User pilca Jiminny© Jiminny+ New JabOpen a new tab (JT)EoitViewHistory Bookmarks ProfilesToolsWindow Help• - app.jiminny.com/settings/organization/playbooksOrganization SettingsPlaybooks & Coaching Frameworks OeneralusersTeamsIntegrationsJod TluesActivityRecordingAl ContextAl Automation BETASidekickDeal InsightsVocabularyTopicsKey Words Scoring> • Enablement Team $*> • LMUS CX Playbook «:• LMUS CX Playbook testing *> • Outbound BDS«:> • Pipe & Territory Planning 4:› • Zone 2 Playbook 4:•Test Playbook*Playbooks & Coaching FrameworksNotificationsSettings<→0 ll • f Tech Day Review- in 1hA100% C 8 Fri17 Apr 16:00:28You are currently impersonating Integration User <)PLAYBOOKAdd Playbook• @ Delete# AUIODEIECT DISABLEDA AUTONFTFCT DISARI FNTest PlaybookLog Activity to Salesforce asDefaultWhen set as default, teams without an assigned playbook will automatically use this playbook for logging meetings.AutodetectWhen activated we will use the Al prompts to autodetect the activity typeEventA AUTODETECT DISABLED# AUIODEIECT DISABLELA AUTONFTFCT DISARI FNA, AUTODETECT DISABLEDTest activity type promptsTest if your prompts correctly identify the activity type...
|
NULL
|
NULL
|
NULL
|
48721
|
|
FirefoxFileEoitViewHistory→ Import bookmarks..Spri FirefoxFileEoitViewHistory→ Import bookmarks..Sprint BoardSRD QueueBookmarksProfilesToolsWindowHelpoedren wiin voocle or enter doaressGithuh8 Jiminny DEV> 0halTech Day Review • in 1h[A]100% CS•Fri 17 Apr 16:00:2922°CNew York CityDevelopers | HubSpotM'inbox (1,576) - lukas.kovalik@jiminM 120216 is your HubSpot Log In CocCa CloudWatch | eu-west-1New Tab(& Configure SSH access to multiple efix-cache-for-business-processesDashboard. liminnv . MembraneApp "Zoho CRM" - Jiminny • MembJY-20692 change confirmation parJY-20543 add AJ reports User pilo8 Jiminny8 Jiminny* New Tab+ New TabFirefoxJiminnydpp.jlminny.comSearch with Google or enter addressJiminnyPlatform Sprint2Q2-...JY-20543 addAJ reports...JiminnyMInbox (1,576) -Pipelines -jiminny/appBambooHRApp "ZohoCRM" . Jimin......
|
NULL
|
NULL
|
NULL
|
48722
|
|
FirefoxFileEoitViewHistoryBookmarks→ Import bookma FirefoxFileEoitViewHistoryBookmarks→ Import bookmarks..Sprint BoardSRD QueueGithubProfilesToolsWindowHelpjiminny.sentry.io/auth/login/jiminny/?next=%2Forganizations%2Fjiminny%2Fissues%2F%3Fproject%3D824198 Jiminny DEVDevelopers| HubSpotM'inbox (1,576) - lukas.kovalik@jiminM° 120216 is your HubSpot Log In Coc-a CloudWatch | eu-west-1New Tab(& Configure SSH access to multiple efix-cache-for-business-processesDashboard. liminnv . MembraneApp "Zoho CRM" - Jiminny • MembJY-20692 change confirmation paJY-20543 add AJ reports User pilc8 Jiminny8 JiminnyNew Tab+ New TabFirefoxSearch with Google or enter addressJiminnyPlatform Sprint2Q2-...JY-20543 addAJ reports...JiminnyMInbox (1,576) -Pipelines -jiminny/appThe TLS handshake finished for jiminny.sentry.io..halTech Day Review • in 1hA100% C•Fri 17 Apr 16:00:3522°CNew York CityBambooHRApp "ZohoCRM" . Jimin......
|
NULL
|
NULL
|
NULL
|
48724
|
|
Seer now catches issues in PRs. exolains what brok Seer now catches issues in PRs. exolains what broke in orod. and fixes what vou missed. LearnJiminnyJiminnv reduires sionind In Witn GithuolLogin with GitHub...
|
NULL
|
NULL
|
NULL
|
48726
|
|
FirefoxFileEoitViewHistoryBookmarksProfilesToolsWi FirefoxFileEoitViewHistoryBookmarksProfilesToolsWindowHelpjiminny.sentry.io/organizations/jiminny/issues/?project=82419&statsPeriod=24hccllAcFeedDevelopers | HubSpotFeedM'inbox (1,576) - lukas.kovalik@jiminssues1 app vAll Erys v24hvQis unresolved xErrors & OutagesM 120216 is your HubSpot Log In CodssueBreached MetricsexploreCa CloudWatch | eu-west-1walmailnesJiminny\Exceptions\SocialAccountTokenInvalidException08User FeedbackNew TabDashboards(S APP-1BV3 | /app/Services/Crm/BaseService.php in Jiminny\Services\Crm\BaseService::validateUserAccountExistsZ Configure SSH access to multipleIlluminate\Broadcasting\BroadcastExceptionAll ViewsInsights(9 APP-19C2/app/Queue/Worker/Worker.php in Jiminny Queue\Worker Worker:process. fix-cache-for-business-processesConfigure—iro1Dashboard • Jiminny • MembraneAicilsSettings0 APP-1BGF | /app/Models/Activity.php in Jiminny\Models\Activity:getFavoritesCountAttribute| A Quick FixApp "4oho CRM" • Jiminny • MembJY-20692 change confirmation parJiminny\Exceptions\HttpBadRequestWithErrorReasonException0 APP-19SA | /app/Services/Crm/Salesforce/Client.php in Jiminny\Services\Crm\Salesforce\Client:requestJY-20543 add AJ reports User pilca JiminnyovoezrronAPP-1FHA |/app/Models/Ai/AiScorecardRuleRun.php in Jiminny\Models\Ai\AiScorecardRuleRun:getAiScorecardRule | A Quick Fix8 Jiminny• Jiminny\Exceptions\HttpBadRequestWithErrorReasonExceptiona Feed - jiminny - Sentry+ New Tab09 APP-1FMV |/app/Services/Crm/Salesforce/Client.php in Jiminny|Services\Crm\Salesforce Client::request• Jiminny\Exceptions\CrmException( APP-1FJP |/app/Services/Crm/Hubspot/Service.php in Jiminny|Services\Crm\Hubspot)Service::updateRecord• Jiminny\exceptions\Applicationexceptiont9 App-1BXH | /app/Services/Crm/Salesforce/Client.oho in Jiminnv|Services\Crm\Salesforce\Client-reguestWithAutomaticReauthorizeJiminny\exceptions/soclalAccountlokeninvalidexceptionAPP-lSKa0osewces/acviwacrmvrovcesevce.ono.huminoysemces.Acmw.scrviriovde.sevcersersocalAccoun• Jiminny\Exceptions|SyncActivityExceptionLFAPPETENWETOOLECOIMOIO DEaESyaa cocesisiowATetonsyacoa@Dro.@[EMAIL].SIN2/co.CesSSoTayATen conisi.corate1Brore.ulmte nles7ATe.co/awe/i1iaTavaT.cco.moonnel1aeSIp/co1esS01avATe.o/OsiMCe/OsIunCe)• Jiminny\Exceptions\HttpBadRequestWithErrorReasonExceptionAPP-irKo aoo servces/um/saestorce/clencononviminny services crm sa estorce Clentreuest•Jiminny Excentions SocialAccountiokennvalid Excentionts App-1ET9 |/app/Services/Crm/BaseService.php in.Jiminnv|Services\Crm\BaseService:validateUserAccountExists• Symfony\Component\ErrorHandler\Error\FatalError(APP-1-NJ /aop/Renositories crm/crmentityRepositorv.ono in ?(**)• Jiminny\Component\ProphetAi\Exceptions\ProphetException( APP-1-Xoapo Comoonent/ ProohetAy ProohetClient oho in Jiminnv Component ProphetAl ProphetC lent» send Request• Illuminate\Database\UniqueConstraintViolationException> 0halTech Day Review • in 1hA100% CS•Fri 17 Apr 16:00:52Last SeenAgeTrend24hEventsUsersLast Seen vPriorityai ySave AsAssigneePC vPC vOv)PC val val val val val valval valvalvalvalvОv....
|
NULL
|
NULL
|
NULL
|
48732
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpldo]• Tech Day Review - in 1hAAPP (-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 16:00:541₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48734
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpldo]• Tech Day Review - in 1hAAPP (-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 16:00:551₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48735
|
|
FirefoxFileEoitViewHistoryBookmarksProfilesToolsWi FirefoxFileEoitViewHistoryBookmarksProfilesToolsWindowHelpjiminny.sentry.io/organizations/jiminny/issues/?project=82419&statsPeriod=24hIssuesFeedDevelopers | HubSpotFeedM'inbox (1,576) - lukas.kovalik@jiminssues1 app vX41VAICINS Ais unresolved xErrors & OutagesTiter cnv ronmentsresetM 120216 is your HubSpot Log In CorssueBreached Metricsexplore• Search.Ca CloudWatch | eu-west-1walmailnesNew Tab08DashboardsUser FeedbackJinnllolnvI Social av productionAPP-1BVInvalidExceptionnd. Please login to Jiminny to connect.p in Jiminny\Services\Crm\BaseService::validateUserAccountExistsproduction-euZ Configure SSH access to multipleAlwewsmisigtielelmiinalI PusherAPP-19Cnt exceeds the allowed maximum (10240 bytes). See https://pusher.com/docs/channels/server_api/http-api#publishing-events for more info. fix-cache-for-business-processesiminny cueue worker worker.orocessConfigurestagingDashboard • Jiminny • MembraneAicilsSettings0=ir01I Call to aG APP-1BCon nullstaging-app^Models\Activity:getFavoritesCountAttribute | A Quick FixApp "4oho CRM" • Jiminny • Memtstaging-earthJY-20692 change confirmation paJinnllolnvI No suctAPP-19$staging-jupiterneroneason-xceotionTasknone in viminny services urm oalestorce ullent.reouestJY-20543 add AJ reports User pilcstaging-marsa Jiminny8 JiminnyovoearrdI Jiminn!APP-1FHstaging-mercurystaeine-neotunegetAiScorecardRule0: Return value must be of type Jiminny\Models\Ai \AiScorecardRule, null returnedn.ono in Jiminny Modeis Al Alscorecararulerun:gerAiscorecarakule e vuick rixa Feed - jiminny - Sentryo JiminnyI sObjectnerrorkeason=xceotionCancelApplyted.09 APP-1FMV/app/services/urm/saiestorce/Client.php in Jiminny|Services\Crm\Salesforce Client::request+ New Tab• Jminny =xceptions crmexceotionI Property values were not valid: K"isValid':false,"messaae":"Enter onlv numbers and letters, not special characters like """error":"CONTAINS_ INVALID CHARACTERS"."name":"team_member..(S APP-1FJP |/app/Services/Crm/Hubspot/Service.php in Jiminny|Services\Crm\Hubspot\Service::updateRecordoJminnyExcertons AdolcationexceotlonI Failed to retry request after refreshing tokent9 App-1BXH | /app/Services/Crm/Salesforce/Client.oho in Jiminnv|Services\Crm\Salesforce\Client-reguestWithAutomaticReauthorize• Jiminny \Exceptions SocialAccountTokenInvalidExcention| Activity Provider account not connected.ts App-1F3R|/app/Services/Activitv/ActivitvProviderService.pho in Jiminnv|Services\Activitv\ActivitvProviderService-setSocialAccount• Jiminny\exceptions\syncactivityexceptionI ES entity async RDS build data failedOS ARP-1ENM/aoo/Comoonent/ES/Processor/Actions//LoadDocumentsAction.oho.inJiminnv\Comoonent\ES\Processor\ActionslLoadDocumentsAction:Jiminnv\Component\ES\ Processor\Actions\(closure)• Jiminny\exceptions\HupbadkequestWicherrorkeasonexception| Al Last Call Summary: data value too large: Call ParticipantsCustomer:Sarah Ludlow / Senior Director, Strategic Feasibility / Worldwide Clinical Trials (customer)Camilla Ramdeen / Head, P...ts App-1FK8 |/app/Services/Crm/Salesforce/Client.ohp in .J• Jiminny\Exceptions\SocialAccountrokenInvalidExceptionI Social account for HubSpot cannot be found. Please login to Jiminny to connect.ts App-1ET9 |/app/Services/Crm/BaseService.php in.Jiminnv|Services\Crm\BaseService:validateUserAccountExists• Symfony\Component\ErrorHandler\Error\FatalError| Allowed memory size of 268435456 bytes exhausted (tried to allocate 5242880 bytes)NAPP-1ENJaop/Renositories/crm/crmentityRepositorv.ono in(**)• Jiminny\Component\ProphetAi\Exceptions\ProphetException| Unexpected service error.Client error: POST https://prophet.jiminny.eu/crm/deal/extract-field-values* resulted in a '422 Unprocessable Content response: ("detail":"Deal 7594349 has 10...( APP-1-Xoapo Comoonent/ ProohetAy ProohetClient oho in Jiminnv Component ProphetAl ProphetC lent» send RequestLKLast Seen9s ago1min ago1min ago3min ago3min ago4min ago5min ago6min ago7min ago8min ago8min ago8min ago16min ago21min ago• Illuminate\Database\UniqueConstraintViolationException| SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '069e228f62a3d11d5dc' for key 'trackso telephony_provider_id_idx_unique' (Connection: mysql. Host: jiminny-db-..comin aeohalTech Day Review • in 1hA100% CS•Fri 17 Apr 16:00:55Agelyr1yr1yr1yr2wk1WK1yr2mo21hr7d3mo23hr1wk<moTrendOngoingOngoingOngoingOngoingOngoingNewOngoingOngoingOngoingNewRegressedOngoingNewOngoing24h---- 8----- 18Events319UsersLast Seen vPriorityail val vSave AsAssigneePC vPC vPC vг- 3-= 6/1----- 21T66Til 1sT.. 24181.1K1631O7•l valvalv----- 572530alv...
|
NULL
|
NULL
|
NULL
|
48736
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpldo]= Tech Day Review - in 1hAAPP (-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 16:00:581₴81ec2-user@ip-10-...O ₴8APP...
|
NULL
|
NULL
|
NULL
|
48737
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpldo]• Tech Day Review - in 1hAAPP (-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 16:01:001₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48739
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpla6lTech Day Review - in 59 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 16:01:031₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48740
|
|
FirefoxFileEoitViewHistoryBookmarksProfilesToolsWi FirefoxFileEoitViewHistoryBookmarksProfilesToolsWindowHelpjiminny.sentry.io/organizations/jiminny/issues/?environment=production&project=82419&statsPeriod=1hccllAcFeedDevelopers | HubSpotFeedM'inbox (1,576) - lukas.kovalik@jiminssues1 app vproductionis unresolved xErrors & OutagesM° 120216 is your HubSpot Log in CocssueBreached MetricsexploreCa CloudWatch | eu-west-1walmailnes08User FeedbackNew TabDashboardsyminny excecrons soccl Account oreninva cexceetionI Social account for HubSpot cannot be found. Please login to Jiminny to connect.(S APP-1BV3 | /app/Services/Crm/BaseService.php in Jiminny\Services\Crm\BaseService::validateUserAccountExistsZ Configure SSH access to multipleAll Viewsmisigtie. fix-cache-for-business-processesumiinare broaecastine procacastexceotionI Pusher error: The data content of this event exceeds the allowed maximum (10240 bytes). See https://pusher.com/docs/channels/server_api/http-api#publishing-events for more info .APP-19C2 | /app/Queue/Worker/Worker.php in Jiminny\Queue\Worker\Worker:processConfigure0=ir01Dashboard • Jiminny • MembraneAicilssetungsI Call to a member function getAttributes0 on null0 APP-1BGF | /app/Models/Activity.php in Jiminny\Models\Activity:getFavoritesCountAttribute|A Quick FixApp "4oho CRM" • Jiminny • MemtJY-20692 change confirmation paominny excesrons ruoachecuestwincroneason-xceoromI sObject type 'FieldDefinition' is not supported.0 APP-1FMV | /app/Services/Crm/Salesforce/Client.php in Jiminny\Services\Crm\Salesforce\Client:requestJY-20543 add AJ reports User pilca Jiminny• Jiminny =xceptions crmexceotionI Property values were not valid: ["isValid":false,"message":"Enter only numbers and letters, not special characters like …"."error":"CONTAINS_INVALID_CHARACTERS"," name":"team_member...09 APP-1FJP|/app/Services/Crm/Hubspot/Service.php in Jiminny\Services\Crm HubspotService::updateRecorda Jiminnya Feed - jiminny - Sentry• Jminny =xceptions rurobackecuestwinerrorkeason=xceotloni| Al Last Call Summary: data value too large: Call ParticipantsCustomer:Sarah Ludlow / Senior Director, Strategic Feasibility / Worldwide Clinical Trials (customer)Camilla Ramdeen / Head, P...(9 APP-1FK8 |/app/Services/Crm/Salesforce/Client.phpin J+ New Tab• Jiminny\Exceptions\SocialAccountTokenInvalidExceptionI Social account for HubSpot cannot be found. Please login to Jiminny to connect.(S APP-1ET9 |/app/Services/Crm/BaseService.php in Jiminny\Services\Crm\BaseService::validateUserAccountExists• Jiminnv\ Excentions|SocialAccountTokenInvalidExcentionI Activity Provider account not connected.ts App-1F3R|/app/Services/Activitv/ActivitvProviderService.pho in Jiminnv|Services\Activitv\ActivitvProviderService-setSocialAccount•mluminate \Database\uniqueconstraintViolationexcepcion| SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '069e228f62a3d11d5dc' for key 'tracks_telephony_provider_id_idx_unique' (Connection: mysql, Host: jiminny-db-..ts App-1530 | /app/Services/Activitv/ZoomPhone/Service.pho in Jiminnv|Services\Activitv\ZoomPhonel ServicercreateTrack• Jiminny\Exceptions\EmailActivityImportExceptionI [Email Import] Failed for InboxEmail ID: 121607449: Error: Call to a member function error() on nullts App-1FN8 |/app/Services/Mail/InboxService.pho in JinJiminny exceptions\HupbadkequestWicherrorkeasonexceptionI No such column 'Type' on sobject of type TaskAPP-IYSA 1a0o/ sences/crmsaes orce clentone nJmnny serces crm sales orce clentre.uest• Jiminny\Exceptions\ApplicationExceptionI Failed to retry request after refreshing tokent9 App-1BXH | /app/Services/Crm/Salesforce/Client.oho in Jiminnv|Services\Crm\Salesforce\Client-reguestWithAutomaticReauthorize• Jiminny\Component\Transcription\TranscriptionProcessor\Gladia\Exceptions\InvalidTranslationResponseExceptionI Invalid translation responseAPP-1CGElapp/Component/Transcriotion/Service/TranslationService.pho in.Jiminnv\Component\Transcription|Service\TranslationServiceraetTranslatedTranscriot• Illuminate\Database\UniqueConstraintViolationException| SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '218-003Vg000001pK1mIAE for key 'contacts_crm_configuration_id_crm_provider_id_unique' (Connection: mys...APP-1E9H/aop/Services/crm/salestorce/service.onoinJiminnv.Services Crm.Salestorce Service.importContactLK• Illuminate\Database\UniqueConstraintViolationException| SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 7-001Sj0000040QrxIAG for key accaunts_crm_configuration_id_crm_provider_id _unique' (Connection: mysql ...Last Seen37s ago1min ago2min ago4min ago6min ago8min ago9min ago15min ago26min ago28min ago29min ago29min ago29min ago36min agoo/min aeoAgelyr1yr1yr1Wk7d3mo2mo2mo1dlyrfyrfyromoomoTech Day Review - in 59mA100% CS•Fri 17 Apr 16:01:03TirendlOngoingOngoingOngoingNewOngoingRegressedOngoingOngoingOngoingEscalatingOngoingOngoingOngoingOngoing24h 1hEventsUsersLast Seen vPriorityai yail vail val vSave AsAssigneePC vPC vОv.•= 6/1T.. 24T-65•l valvPC viiin 266•il v)-Пr= 3...
|
NULL
|
NULL
|
NULL
|
48741
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpla6lTech Day Review - in 59 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 16:01:121₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48744
|
|
FirefoxFileEoitViewHistoryBookmarksProfilesToolsWi FirefoxFileEoitViewHistoryBookmarksProfilesToolsWindowHelpjiminny.sentry.io/issues|7416384343/?environment=production&project=82419&query=is%3Aunresolved&referrer=issue-streamccllAcDevelopers | HubSpotFeedIssues / CAPP-1FMVJiminny\Exceptions\HttpBadRequestWithErrorReasonExceptionI sObject type 'FieldDefinition' is not supported.NeWlapo/Services/Crm/Salesforce/Client.oho in Jiminnv Services Crm Salesforce Client:requestM'inbox (1,576) - lukas.kovalik@jiminssuesErrors & OutagesM° 120216 is your HubSpot Log in CocBreached MetricsResolvearcniveexploreCa CloudWatch | eu-west-1walmailnesSince First Seen vQ Filter events...New Tab08DashboardsproductionUser FeedbackEventsZ Configure SSH access to multipleAll ViewsusersInsights. fix-cache-for-business-processesConfigureApr 15 9:00 PMApr 16 9:00 AMApr 16 9:00 PMDashboard • Jiminny • MembraneAicilsEvents v in this issueSettingsApp "4oho CRM" • Jiminny • MemtID: cbc6158e4 minutes ago | JSONJY-20692 change confirmation parphp php 8.3.30#, Linux 6.1.141-155.222.amzn2023.aarch64 © 872798 • productionJY-20543 add AJ reports User pilcv Highlightsa Jiminny8 JiminnynanoledJeveluransaccionyeserronurlMrace.raceJiminny (Exceptions \HttpBadRe+ New Tabv Stack TraceJiminny\Exceptions\HttpBadRequestWithErrorReasonExceptionsObject type'FieldDefinition' is not supported.mechanism genericcode/app/Services/Crm/Salesforce/Client.php:564 in Jiminny\Services\Crm\Salesforce\Client:request5595601):'fields' = Sfields,561563564565566swltch (serrorcode) 1case utobaoreduestexcedtlon.=rror cubethrow (new HttpBadRequestWithErrorReasonException(Smessaqe. SerrorCode))->setErrorReason(SerrorReason):case HttpSessionExpiredException::ERROR_CODE:throw new Hutpsesstonexptreatxception(smessage, serrorbode),568569datacase nucororblodencxcepcion..ckrorcove.~ headers: 1Authorization: [Filtered]metnoeurlhttps://lesmills.my.salesforce.com/services/data/v50.0/tooling/query/?q=%®A+LLOnoATTTTrtttrieLeveranLcLonboAttT(***/app/Services/Crm/Salesforce/Client.php:408 in Jiminny|Services\Crm\Salesforce\ClienttrequestWithAutomaticReauthorizeaoo /servces/crm/saestorce/clen,01o545 1n viminny servces uim sa estorce clencoerLK203fapp/Services/Crm/Salesforce/Client php-236 in Jiminnv| Services\Crm|Salesforce| Client-CallOuervApiAndGetOueryPesultsApr 17 9:00 AMcb79a6dbe2b049dd875e39477c5d9842releaseenvironmentlaravel_versiontrack 1dView all tags50% 871956100% production100% 12.54.158% (empty)Recommendedew more Eventslcooy asvJump to: Highlightsslack wracelrdcelagswontexte Edit© Display vO Copy asIn AppTech Day Review - in 59mA100% CS•Fri 17 Apr 16:01:17Events (total)Users (900))12Priority adlAssigneeUnassignedLast seen 4 minutes agoIn release olciyoFirst seen a day agomnrelease s yoov Seer Autofix ®mave oeel.1,verermine the rootcause of your issue2. Outline a plano,vrealee cooenxđ Start Analysisv Issue Tracking• GitHub+ Jirav ActivityAdd a comment...# First SeenMarked as high prioritya day agov PeopleIKviewedSimilar IssuesViewMeraed IssuesVewrtt1a%zutuaral yoe outbevelopername ocutLadelocutLenochzutueserloableId+%3D+%27Event . Type%27 [2In App >nA00In App>...
|
NULL
|
NULL
|
NULL
|
48746
|