|
FirefoxFileEoitViewHistoryBookmarksProfilesToolsWi FirefoxFileEoitViewHistoryBookmarksProfilesToolsWindowHelpjiminny.sentry.io/issues|7416384343/?environment=production&project=82419&query=is%3Aunresolved&referrer=issue-streamIssuesDevelopers | HubSpotFeedID: cbc6158e4 minutes ago | JSONsObject type'FieldDefinition'is not supported.mechanismgenerichandledcode400M'inbox (1,576) - lukas.kovalik@jiminIssuesErrors & OutagesM° 120216 is your HubSpot Log in CocBreached Metricsexplore/app/Services/Crm/Salesforce/Client.php:564 in Jiminny\Services\Crm\Salesforce\Client:requesttle ds→ Sfields,Ca CloudWatch | eu-west-1walmailnesNew Tab08DashboardsUser FeedbackZ Configure SSH access to multipleAll ViewsInsights. fix-cache-for-business-processesConfigureDashboard • Jiminny • MembraneAicils1591300561562563564J00566567568ha911):switch (SerrorCode) {case HttpBadRequestException::ERROR_CODE:throw (new HttpBadRequestWithErrorReasonException(Smessage, SerrorCode))->setErrorReason(SerrorReason);case nuupsesstoncxorreacxceoczon..ckron.cuvc.throw new HttpSessionExpiredException(Smessage, $errorCode);Settingscase HttpForbiddenException::ERROR_CODE:App "4oho CRM" • Jiminny • MemtaaldJY-20692 change confirmation parv headers:Authorization: [Filtered]JY-20543 add AJ reports User pilca Jiminnymethod8 Jiminnyhttps://lesmills.my.salesforce.com/services/data/v50.0/tooling/query/?q=%0A++tion%0A++++++++++++++++++FROМ%0A+++Jiminny |exceptions (HttpBadke/app/Services/Crm/Salesforce/Client.php:408 in Jiminny|Services\Crm\Salesforce\Clientt:requestWithAutomaticReauthorize+ New Tab/app/Services/Crm/Salesforce/Client.php:343 in Jiminny\Services\Crm\Salesforce\Client:.get/app/Services/Crm/Salesforce/Client.php:236 in Jiminny\Services\Crm\Salesforce\Client::callQueryApiAndGetQueryResults/app/Services/Crm/Salesforce/QueryHandler.php:56 in Jiminny\Services\Crm\Salesforce\QueryHandler:metadata/app/Services/Crm/Salesforce/Service.php:388 in Jiminny|Services\Crm|Salesforce\Service::syncField/app/Listeners/Crm/ImportActivityTypes.php:43 in Jiminny\Listeners\Crm\ImportActivityTypes:handleCalled Trom:/vendor/laravel/tramework/src/muminate/events/calluueueaLiscener.ono 1n llluminate.cvents calloueueaLiscenernanale/app/Queue/Worker/Worker.php:72 in Jiminny\Queue\Worker\Worker::processCalled from: /vendor/laravel/framework/src/Illuminate/Queue/Worker.php in Illuminate\Queue\Worker:runJobv Trace Preview10.00msTrace - cb79aódbe2b049dd875e39477c5d9842@ Error - sObject type 'FieldDefinition' is not supported. Jiminny\Exceptions\HttpBadRequestWithErrorReasonException /app/S|(**)LKactivity_idcorrelation_idenvironmenthandledlaravel_versionlevelmechanzsm78702750efelf191-89de-4cf8-9db1-a49767afa75dproductionyes12.54.1errorgenericLinux 6.1.141-155.222.amzn2023 .aarch64Tecronrereaseroom_ownerruntimenameserver_nameurack1ehiilTech Day Review - in 59 mA100% CS•Fri 17 Apr 16:01:26Jump to: HighlightsStack TraceTraceContaytlaesln Aopp First seenMarked as nion oriorityv PeopleIK viewedsmilar ssuesMerged Issuesa day agoViewView+++Id%2C+DataType%2C+DeveloperName%2C+Label%2C+Length%2C+DescripIrableId+%3D+%27Event . Type%27 @In AppIn AppIn AppIn AppIn AppIn AppShow 15 more framesIn AppShow 17 more framesView Full TraceAll CustomApplicationClient [EMAIL] 8.3.30php51100/632903000904...
|
NULL
|
NULL
|
NULL
|
48748
|
|
FirefoxFileEoitViewHistoryBookmarksProfilesToolsWi FirefoxFileEoitViewHistoryBookmarksProfilesToolsWindowHelpjiminny.sentry.io/issues/7416384343/?environment=production&project=82419&query=is%3Aunresolved&referrer=issue-streamccllAcID: cbc6158e4 minutes ago | JSONDevelopers | HubSpotFeednanoledJevelyeserrorTrace.race IM'inbox (1,576) - lukas.kovalik@jiminIssuesErrors & OutagesuransaccionM 120216 is your HubSpot Log In CorBreached Metricsexplorev Stack TraceCa CloudWatch | eu-west-1walmailnesNew Tab08DashboardsUser FeedbackZ Configure SSH access to multipleAll ViewsJiminny.exceptions\HupbadkequestWicherrorkeasonexceptionsObject type'FieldDefinition' is not supported.mecnanismgenerichandledcodeInsights. fix-cache-for-business-processesConfigure/app/Services/Crm/Salestorce/Client.php:564 in Jiminny\Services\Crm\Salestorce\Client:requestTlelas = stlelas.Dashboard • Jiminny • MembraneAicilsSettingsApp "4oho CRM" • Jiminny • MemJY-20692 change confirmation parJY-20543 add AJ reports User pilca Jiminny8 Jiminny560561D0/4563564565566567568b0y1):switch (SerrorCode) {case "utobaoreduestexcedton.crror cobe.throw (new HttpBadRequestWithErrorReasonException(Smessaqe. SerrorCode))->setErrorReason(SerrorReason) :case HttpSessionExpiredException::ERROR_CODE:throw new HttpSessionExpiredException(Smessage, SerrorCode);case nucprorblodencxcepcion..crror covt.Jiminny |exceptions (HttpBadkedata+ New Tab~ headers: {Authorization: [Filtered]metnoeSattps://lesmills.my.salesforce.com/services/data/v50.0/tooling/query/?q=%0A+++-tion%0A++++++++++++++++++FROM%0A++++++++++++++++++++F¡eldDefinіtiоn%®A+++++TTTTTSLLEUIZ0AT++WHERE%0A++++++++aoo/servces/urm/salestorce/cliencono408 1n vminy serces cim sa estorce u lenc redues minAutomaucreaurnorzeaoo /servces/urm/saestorce/clenc010:545 1n Jiminny servces uim sa estorce Cllencoeraoo/servces/urmsaestor ce/cliencono so 1n vminnv servces crm saes orce clentca ouervao Anoberouervresuusaoo servces uimsa estorce ouenvrano eronoo an Jiminny servces Crmisa estorce ouervrano ermecearaoo /servces/uim/salestorce/servce,ono5co 1n vminny servces cim sa estorce servcersyncreleaoo/usteners crm moonAcrvu voes,ono 45 1n Jiminv usenescrn moorAcuvty voes nanoleCalled from:/vendor/laravel/framework/src/llluminate/Events/CallQueuedListener.php in Illuminate\Events\CallQueuedListener::handlerapp/queue/worker/Worker.pnp:/2 an Jiminnynqueue\worker worker:processCalled from: /vendor/laravel/framework/src/Illuminate/Queue/Worker.php in Illuminate\Queue\Worker:runJobv Trace Preview(**)Trace - cb79a6dbe2b049dd875e39477c5d9842C Error - sObject type 'FieldDefinition' is not supported. Jiminny\Exceptions\HttpBadRequestWithErrorReasonException /app/SLKv Tagscр79a6dbe2b849dd875-39477c5dP842libdTech Day Review • in 59 mA100% CS•Jump to: HighlightsStack TraceTraceCantoytldes Display v_ Copy as vIn Appv Issue Tracking• GitHub+ Jirav ActivityAdd a comment...* First SeenMarked as high priorityv PeopleIK viewedSimilar IssuesMergea IssuesFri 17 Apr 16:01:39a day agoVIewView+++++Id%2C+DataTypе%2C+DevelоperName%2C+Labe1%2C+Length%2C+Descrip-DurableId+%3D+%27Event . Type%27 [ZIn AppIn AppIn AppIn AppIn AppShow 15 more framasIn AppShow 17 more framasYew Fulll tirace0.00msCustomAnolicationClientOther...
|
NULL
|
NULL
|
NULL
|
48752
|
|
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:471₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48755
|
|
PostmanFileEditViewWindowHelp. ..8 Salesforce vCOL PostmanFileEditViewWindowHelp. ..8 Salesforce vCOLLECTIONS> Amazon Connect›Amazon connec cooy› AWS• salesrorce> DUIV D USEFUL> D Auth› D Business Process> D SyncGET GET OPP by Ownerder ceask or link te lask lor comoanvGET Get related EventGer odec cescrioeGET get validation rulesGer oel valioationkuleGET {{url)}/services/data/v46.0/search/?q=FIND {*[PHONE]")...del riele verinitionGET get standard field definition› NotesGET QUERYGET SEARCHder saestorce soel vuolicaeGET Salesforce Get RecordGer salestorce cet kecora DuolicaleGET Salesforce Create Recorddei salestorce vet kecora MeldedlaGET Salesforce Get Custom Field Metadatadel salestorce suulGET Salesforce SOQL DuplicateGET Salesforce SOQL Duplicate (2)der saestorce sosGET object describeParch uocale odiecGET get forecast category queryGET {{sf_url}/services/data/v50.0/user/meGET OrganizationGET Get Organization IDGET get object deleteddET Object PermissionsGET custom tield› Salesloft7 xantQ Searcha Overview.GET Salestorce Get Recor •GET Salestorce Get RecorGET QUERYGET QUERYGET Salestorce Get Recor •GET det obiect deleted eNIP ((url))/services/data/v50.0/sobjects/Event/describenurinservices aalavou.u soe ecls/cvent deschloeE DocsraramsAutnorizalion meduelssBodyserletsSettingsQuery ParamsKeyDescriotonGET Kurb/services/data/wsureate new reedestavehiilTech Day Review • in 59 mA100% CS•SalestorcevShare |gSendCookiecBulk Edit …Fri 17 Apr 16:01:47invite*, AIVariables in requestE token00D900000001USz AOZAOKRITO....https://lesmills.my.salesforce.com› All variablesvalueValueENVIRONMENIS>SPECS>ELOWSE Connect GitE ConsoleBodyCookias 2Headers 12Test ResultsTY JSON v• Preview150615071o0o1509151015111540152219491526JoLy1534153519371540# Visualize"writeRequiresMasterRead": falseaecrecalable . Laue,"aiPredictionField": false, ]"autoNumber": false,"byteLength": - 765,calcularedrornula" -nuuia"cascadeDelete": false,casesenstlive .latse"compoundFieldName": null,"controllerName": null,deraultvalue. null."defaultValueFormula": null,"defaultedOnCreate" : false,"denendent?ick 1st":-tal se."deprecatedAndHidden": false,OOTS".O."displayLocationInDecimal": false,encrybued . lalser"externalid": false,"extraTypeInfo": null,"Tl terahle": TYueTOrmULalLeacNULLNUmDeLAsZerO" lalse,neenscarenunber .Lauser"htmlFormatted": false,InLinerelplext"" null,Jeneuh .400"Type"200 OK • 310 ms • 8.81 KB • Cề/ ...=01Aa ab * 1 of 2T =xGlobals Vault Tools & 000...
|
NULL
|
NULL
|
NULL
|
48756
|
|
PostmanFileEditViewWindowHelp8 Salesforce vCOLLECT PostmanFileEditViewWindowHelp8 Salesforce vCOLLECTIONS> Amazon Connect›Amazon conneccooy› AWSv SalesForce> DUIV D USEFUL> D Auth› D Business Process> D SyncGET GET OPP by Ownerder ceask or liink lelask lor comoanvGET Get related EventGer odec cescrioeGET get validation rulesGer oel valioationkuleGET {{url)}/services/data/v46.0/search/?q=FIND ("[PHONE]") ...GET FieldDefinitionGEr get standard field definition› NotesGET QUERYGET SEARCHder saestorce soel budlicareGET Salesforce Get RecerdGer salestorce cet kecora DuolicaleGET Salesforce Create Recorddel salestorce vet kecora MelaedlaGET Salesforce Get Custom Field MetadataGET Salesforce SOQLGET Salesforce SOQL DuplicateGET Salesforce SOQL Duplicate (2)der saestorce sosGET object describeParch uocale odiecGET get forecast category queryGer st url services dala vou.ouser meGET OrganizationGET Get Organization IDGET get object deletedGET Object PermissionsGET custom tield› Salesloft7 xantENVIRONMENIS>SPECS>ELOWSE Connect Git E Console"- lermina.Q Searchha OverviewGET Salesforce Get ReccGET Salestorce Get Reco •NIP Untitled Requestcnier unL or paste lextE DocsraramsAuthorization Headers 7 Body Scripts SettingsQuery ParamsKeyGET QUERYGET QUERYGET Salesforce Get RecoGET get object deleted •GET Kurw/services/datalGET Untitled RequestDescriotonhiil: Tech Day Review • in 59 mA100% CS•Salestorceve SaveShareSendCookiecBulk Edit ….invite*, AIVariables in requestNo variaoles used vet. Learn more about variables.• Al varao esFri 17 Apr 16:01:49valuevalueResponseHistory© Send + Get a successful response1 Send + Visualize response*& Send + Write testsGlobals Vault Tools &000...
|
NULL
|
NULL
|
NULL
|
48757
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpla6lTech Day Review - in 59 mAAPP (-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:01:521₴81ec2-user@ip-10-...O ₴8APP...
|
NULL
|
NULL
|
NULL
|
48758
|
|
PostmanFileFditViewWindowHelp000• Salesforce vCOLL PostmanFileFditViewWindowHelp000• Salesforce vCOLLECTIONS> Amazon Connect›Amazon connec cooy> AWSv SalesForce>7 U1V D USEFULAuth› Business Process•U SyncGET GET OPP by Ownerder ceask or link le lask lor comoanvGey Get related FwentGer odec cescrioeGET get validation rulesGer oel valioationkuleGET Kurl))/services/data/v46.0/search/?q=FIND(+44/835//0967)...GET FieldDefinitionGEr get standard field definition› NotesGET QUERYGEY CCADCHIder saestorce soel budlicareGET Salesforce Get RecerdGer salestorce cet kecora DuolicaleGET Salesforce Create Recorddel salestorce vet kecora MelaedlaGET Salestorce Get Custom Field MetadataGET Salesforce SOQLGET Salestorce SOQL DuplicateGET Salesforce SOQL Duplicate (2)der saestorce sustGer ahieet deccrineParch uocale odiecGET get forecast category queryGer st url services dala vou.ouser meGET OrdanizationGET Get Organization IDGeT get object deletedGET Object PermissionsGET custom tieldSalecioftPxantENVIRONMENIS>SPECSELOWSE Connect Git E Console"- lermina.ha OverviewGET Salesforce Get ReccGET Salestorce Get RecoGET QUERYКIP https://lesmills.my.salesforce.com/services/data/v50.0/tooling/query/https://lesmills.my.salesforce.com/services/data/v50.0/tooling/query/?q=%0A+= DocsraramsethonzationHeaders 8 BodyScriptsSettingsQuery ParamsKevvalue0 0A+++4ValueResponsexo History v• SearchGET QUERYGET Salesforce Get RecoGETdet obiect deletedGET Kur'/services/dataGET httos:esmills.mv.sa(a) SaveTOCLEUIXUATI+I0wzutoalalvoe/ze-DevelooerName%zu+Label/ze+Lenetn/zu+DescrloulonzUAt+-libd: Tech Day Review • in 59 mSalestorcevShareSendCookiecBulk Edit100% [2Fri 17 Apr 16:01:52invite*, AIVariables in reauectNo variaoles used vet. Learn more about variables.• Al varao es-++1d%2C+DataType..Description© Send + Get a successtul response1 Send + Visualize responseA Send + Write testsGlobals Vault Tools -00...
|
NULL
|
NULL
|
NULL
|
48759
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpla6lTech Day Review - in 59 mAAPP (-zsh)X4-zshDOCKER881DEV (docker)APP (-zsh)X3-zsh• ₴5* Review screenp...• ₴6Changes notstagedfor commit:(use"git add ‹file>..to update what will becommitted)(use"git restore<file>..."to discard changesin working directory)modified:./.env.localmodified:./app/Console/Commands/JiminnyDebugCommand.phpmodified:../app/Http/Controllers/API/ActivityController.phpmodified:../app/Http/Controllers/Webhook/ReportController.phpmodified::./app/Jobs/Team/SyncToIntercom.phpmodified:/app/Services/PlaybackService.phpmodified::/config/logging.phpmodified:../routes/web.phpUntracked files:Cuse"git add <files..."to include in what will be committed)/.env.nikilocal/.env.other../WEBHOOK_FILTERING_IMPLEMENTATION.md../app/Console/Commands/Crm/Hubspot/SimulateWebhooksCommand.php../app/Console/Commands/Reports/CreateMockAskJiminnyReportResultCommand.php./ids.txt../raw_sql_query.sql../tests/Unit/Policies/CanAccessAiReportsTest.phpno changes addedto commit (use "git add"and/or "git commit -a")lukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ git pullremote: Enumerating objects: 170,done.remote: Counting objects: 100% (147/147), done.remote: Compressing objects: 100% (35/35), done.remote:Total 170 (delta 116), reused 121 (delta 111), pack-reused 23 (from 1)Receiving objects: 100% (170/170), 55.28 KiB | 1.42 MiB/s,done.Resolving deltas: 100% (119/119), completed with 47 local objects.From github.com:jiminny/app82671d4c13..d4352c6e59JY-20291-datadog-processing-states-> origin/JY-20291-datadog-processing-states20e95bbbc9..360f12adddJY-20541-cleanup-stale-tasks-and-events-> origin/JY-20541-cleanup-stale-tasks-and-events+ 9f8d154791...01c43d2aa6 JY-20553-debug-crm-sync-delays-> origin/JY-20553-debug-crm-sync-delays (forced update)* [new branch]JY-20695-handle-no-raw-transcript-› origin/JY-20695-handle-no-raw-transcriptbe76d8ba82..9b30c928c4JY-9712-change-forever-nudges-to-1-year-expiration -> origin/JY-9712-change-forever-nudges-to-1-year-expiration5bb8fefcba..c04e334173master-> origin/masterUpdating aba9685c0d..08ed383c5berror: Your local changes to the following files would be overwritten by merge:app/Http/Controllers/Webhook/ReportController.phpPlease commit your changes or stash them before you merge.Abortingukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ Uec2-user@ip-10-...• ₴7100% <478Fri 17 Apr 16:01:541₴81ec2-user@ip-10-...O ₴8APP...
|
NULL
|
NULL
|
NULL
|
48760
|
|
PostmanFileFditViewWindowHelp000• Salesforce vCOLL PostmanFileFditViewWindowHelp000• Salesforce vCOLLECTIONS> Amazon Connect›Amazon conneccooy> AWS• salesrorce>7 U1V D USEFUL> Auth› Business Process•U SyncGET GET OPP by Ownerder ceask or link le lask lor comoanvGey Get related FwentGer odec cescrioeGET get validation rulesder oel valioationkuleGET Kurl))/services/data/v46.0/search/?q=FIND(+44/835//0967)...del riele verinitionGEr get standard field definition› NotesGET QUERYGEY CCADCHIder saestorce soel budlicareGET Salesforce Get RecerdGer salestorce cet kecora DuolicaleGET Salesforce Create Recorddel salestorce vet kecora MelaedlaGET Salestorce Get Custom Field MetadataGET Salesforce SOQLGET Salestorce SOQL DuplicateGET Salesforce SOQL Duplicate (2)der saestorce sosGer ahieet deccrineParch uocale odiecGET get forecast category queryGer st url services dala vou.ouser meGET OrdanizationGET Get Organization IDGeT get object deletedGET Object PermissionsGET custom tieldSalectoftPxantENVIRONMENIS>SPECSELOWSE Connect Git E Console"- lermina.ha OverviewGET Salesforce Get ReccGET Salestorce Get RecoGET QUERYКIP https://lesmills.my.salesforce.com/services/data/v50.0/tooling/query/https://lesmills.my.salesforce.com/services/data/v50.0/tooling/query/?q=%0A+= DocsraramsHeaders 8BodyserlelsSettingsNo AuthJ No AuthBasic AuTBeardWlokenJWI bearerDigest AuthOAuth 1.0OAUTh7OHawk AuthenticationAWS SignatureNTIM AuthenticationArlKevAkamai EdgeGridASAP (Atlassian)libd: Tech Day Review • in 59 m• SearchGET QUERYGET Salesforce Get RecoGETdet obiect deletedGET Kur'/services/dataGET httos:esmills.mv.saSalestorcev(a) SaveSharer+l0wzu+Ualalvpe%zu-DeveloeerName%zutLabel%zu+Lenetnzzu+Descrlpulonz0At++++++++*SendCookiec100% (2Fri 17 Apr 16:01:54invite*, AIVariables in reauectNo variaoles used vet. Learn more about variables.• Al varao esNo AuthThis request does not use any authorization.Responsexo History v© Send + Get a successtul response1 Send + Visualize responseA Send + Write testsGlobals Vault Tools -000...
|
NULL
|
NULL
|
NULL
|
48761
|
|
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:561₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48762
|
|
PostmanFileEditViewWindow0008 Salesforce vHelpV CO PostmanFileEditViewWindow0008 Salesforce vHelpV COLLECTIONS> Amazon Connect›Amazon conneccooy› AWS• salesrorce> DUIV D USEFUL> D Auth› D Business Process> D SyncGET GET OPP by Ownerder cerask or link te lask lor comoanvGET Get related EventGer odec cescrioeGET get validation rulesGer oel valioationkuleGET {{url)}/services/data/v46.0/search/?q=FIND {"[PHONE]") ...GET FieldDefinitionGET get standard field definition› NotesGET QUERYGET SEARCHder saestorce soel vuolicaeGET Salesforce Get RecerdGer salestorce cet kecora DuolicaleGET Salesforce Create Recorddel salestorce vet kecora MelaedlaGET Salesforce Get Custom Field MetadataGET Salesforce SOQLGET Salesforce SOQL DuplicateGET Salesforce SOQL Duplicate (2)der saestorce sosGET object describeParch uocale odiecGET get forecast category queryGer st url services dala vou.ouser meGET OrganizationGET Get Organization IDGET get object deletedGET Object PermissionsGET custom tield› Salesloft7 xantENVIRONMENIS>SPECS>ELOWSE Connect Git E Console"- lermina.Q Searchha OverviewGET Salesforce Get ReccGET Salestorce Get RecoGET QUERYNIIP https://lesmills.my.salesforce.com/services/data/v50.0/tooling/query/https://lesmills.my.salesforce.com/services/data/v50.0/tooling/query/?q=%0A+= DocsraramseBodyserlotsSettingsTokenBearer Tokenine autnorization neader will oe automatically generalea wnen yousend the request. Learn more about Bearer Token authorization.GET QUERYGET Salesforce Get RecoGETdet obiect deletedGET Kur'/services/dataGET httos:esmills.mv.sa+l0wzu+Dalalvpewze-DeveloeerName%zu+Label/zu+Lenetn%zu+Deserlouion%UA++hiil: Tech Day Review • in 59 mA100% CS•Fri 17 Apr 16:01:55Salestorceve SaveShare |gSendCookiecVariables in requestE token› All variables*, AIinvite00D900000001USz AOZAOKRITO....Loken)ResponseHistory© Send + Get a successful response1 Send + Visualize response*& Send + Write testsGlobals Vault Tools &000...
|
NULL
|
NULL
|
NULL
|
48763
|
|
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->getaculvicyrleldooh0 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 SETUP579Ejiminny_storage/** @var stdClass{label: string} $value */M+ licenses.md580foreach ($values as $value) {581M Makefile$data = [582O package-lock.json'name' => $value->label,= phpstan.neon.dist-583enao 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;589E test.py<> Untitled Diagram.xmlIs vetur.config.js591M+ WEBHOOK_FILTERING_IMPLEif (Str::contains(strtolower($valve->label), ['sms received',"sms 1n',t 592$data['type'] = PlaybookCategory::TYPE_SNS_INBOUND;15931› ib External Libraries594E Scratches and Consoles595v D Database Consolesфchis->reposicory->creace(playbook, sdata);E custom.log< console LUl= laravel.logA SF [jiminny@localhost]A console [STAGING]A HS_local [iminny@localhost]A console [PROD] X© RequestGenerateAskJiminnyReportJobTest.phpTx: AutovHaycroundvMa lminny vSELECT * FROM teams WHERE name LIKE '%Integrum ESG%'; # 1126, 1065,034 A1 A34 X 62 ^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_1d = 802,, & 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 ScratchesSELECT * 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 = 7594349597SELECT * 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;lusaeeprivate function fetchActivityFieldValues(Field $field): Collection/** @var Collection<FieLdValue> */return $this->fieldRepository->getPicklistValves($field);599600601602603604605SELECT * FROM crm_configurations WHERE id = 692;607wCFSCTCONCAT (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 ='salesfonce' :worksoace associated with branch Jy-log0g-autonck // Configure... (27 minutes ago)Tech Day Review - in 58 mA100% 145Fri 17 Apr 16:02:03RequestGenerateAsk.JiminnvRenort.lobTestCascadeAutomated Report RetPlaybook Activity Typeplaybook_id=5515), scoped to that time window:A. rallea ods most alreet Sienal.+D ..U sqlSELECT * FROM failed_jobsWHERE payload LIKE "%ImportActivityTypesgAND payload LIKE "%5515%'AND failed at >= <playbook created at - 1 hour>:playbook id in the event payloadIf present, the exception column will tell you exactly which of the above threwB. CrmOwnerResolver log lines (these are the only logs on the happy/unhappy path)[CrmOwnerResolver] Integration owner matched as CRM Owner - token OK[CrmOwnerResolver) Integration owner is not connected, attempting team members - owner tokeninvalid (first warning sign)CrmownerResolver TeamMember found with active crm connection —talllback workedl[CrmOwnerResolver] No team member found with active crm connection - this means the exceptionwas rernrown ano Stener clee, Inis Sthe Smokino ouin.Filter by team_id: 711 and crm_provider: salesforce around the creation time.C. salestorce client errorsSentry:: capture xception is called in salestorce clent. onp on connectexception and on null-response GuzzleRequestException ( @/Users/lukas/jiminny/app/app/Services/Crm/Salesforce/Client-php: 531,539 ). Check Sentry for SF exceptions at that time.• Lsalestorcel -prerixed log lines trom the service.D. Queue worker logsProcessed: Jiminny Listeners erm emporcaecivitylypesrarlea:Jiminny Listeners crn inportAcclvityl yoesE. Horizon (if used) - look for this listener job on the playbook's creation timestamp, check status andexceetion.Quick Verification QueryTo confirm whether the team owner/any member had a valid SF token at the timeSELECT u.id, u.email, u.role, sa.expires at, sa.access token IS NOT NULL AS has tokenFROM users uLEFT JOIN social_accounts saON sa.sociable id = u.id AND sa.provider = 'salesforce'wacke urream 10 =7ORDER BY u.role;It expires_at for all users is before the playbook's created_at and no refresh happened, that matchescase (1).Recommendation (Also Explains Dev vs Prod)The listener is missing three things that would turn this silent failure into a diagnosable one:1. Try/catch around resolveForTeam + syncField + importPicklistValues to always fall through to theDB fallback (fetchActivityFieldValues), which would have worked here since 7 values exist.2. A warning log when $values is empty after both paths.3. A warning log when iteration completes and zero categories were insertedWant me to add logging + the try/catch tallback so tuture occurrences are both self-healing (via DBfallback) and visible in logs?Ask anything (24L)<> Code Claude Opus 4.7 MediumWinasun leams59/.22uir-o...
|
NULL
|
NULL
|
NULL
|
48764
|
|
PostmanFileEditViewWindow0008 Salesforce vHelpQ Se PostmanFileEditViewWindow0008 Salesforce vHelpQ SearchCOLLECTIONS> Amazon Connect›Amazon connec cooy› AWS• salesrorce> DUIV D USEFUL> D Auth› D Business Process> D SyncGET GET OPP by Ownerder ceask or link le lask lor comoanvGET Get related EventGer odec cescrioeGET get validation rulesder oel valioationkuleGET {{url)}/services/data/v46.0/search/?q=FIND {"[PHONE]") ...GET FieldDefinitionGEr get standard field definition› NotesGET QUERYGET SEARCHder saestorce soel vuolicaeGET Salesforce Get RecerdGer salestorce cet kecora DuolicaleGET Salesforce Create Recorddel salestorce vet kecora MelaedlaGET Salesforce Get Custom Field MetadataGET Salesforce SOQLGET Salesforce SOQL DuplicateGET Salesforce SOQL Duplicate (2)der saestorce sosGET object describeParch uocale odiecGET get forecast category queryGer st url services dala vou.ouser meGET OrganizationGET Get Organization IDGET get object deleteddET Object PermissionsGET custom tield› SalesloftPxantha OverviewGET Salesforce Get ReccGET Salestorce Get Reco •GET QUERYNIIP https://lesmills.my.salesforce.com/services/data/v50.0/tooling/query/https://lesmills.my.salesforce.com/services/data/v50.0/tooling/query/?q=%0A+= DocsraramseHeaders 9BodyserlotsSettingsAuth TypeBearer TokenTokenIne aucnorization neader will be automatically generated wnen yousend the request. Learn more about Bearer Token authorization.GET QUERYhiil: Tech Day Review • in 58 mAGET Salesforce Get RecoGETdet obiect deletedGET Kur'/services/dataGET httos:esmills.mv.saSalestorceve SaveShare |g+l0wzu+Dalalvpe%ze-DeveloeerName%zutLaoel%zo+Lenetn%zu+DescrlpulonzUA++++++++++SendCookiecVariables in requestE token› All variables*, AI100% CS•Fri 17 Apr 16:02:06invite00D900000001USz AOZAOKRITO....Loken)BodyCokiac 21HeadersoTect RaculteTY JSON v• Preview & Debug with Al"message": "sObject type 'FieldDefinition' is not supported.","errorCode": "INVALID_TYPE"400 Bad Request • 702 ms • 469 B • à/ ...5 =Q08ENVIRONMENIS>SPECS>ELOWSE Connect Git E Console- lermina.Globals Vault Tools & 000...
|
NULL
|
NULL
|
NULL
|
48765
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpla6lTech Day Review - in 58 mAAPP (-zsh)X4-zshDOCKER881DEV (docker)APP (-zsh)X3-zsh• ₴5* Review screenp...• ₴6Changes notstagedfor commit:(use"git add ‹file›….to update what will becommitted)(use"git restore<file>..."to discard changesin working directory)modified:.env.localmodified:./app/Console/Commands/JiminnyDebugCommand.phpmodified:../app/Http/Controllers/API/ActivityController.phpmodified:../app/Http/Controllers/Webhook/ReportController.phpmodified::./app/Jobs/Team/SyncToIntercom.phpmodified:/app/Services/PlaybackService.phpmodified::/config/logging.phpmodified:../routes/web.phpUntracked files:Cuse"git add <files..."to include in what will be committed)/.env.nikilocal/.env.other../WEBHOOK_FILTERING_IMPLEMENTATION.md../app/Console/Commands/Crm/Hubspot/SimulateWebhooksCommand.php../app/Console/Commands/Reports/CreateMockAskJiminnyReportResultCommand.php./ids.txt../raw_sql_query.sql../tests/Unit/Policies/CanAccessAiReportsTest.phpno changes addedto commit (use "git add"and/or "git commit -a")lukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ git pullremote: Enumerating objects: 170,done.remote: Counting objects: 100% (147/147), done.remote: Compressing objects: 100% (35/35), done.remote:Total 170 (delta 116), reused 121 (delta 111), pack-reused 23 (from 1)Receiving objects: 100% (170/170), 55.28 KiB | 1.42 MiB/s,done.Resolving deltas: 100% (119/119), completed with 47 local objects.From github.com:jiminny/app82671d4c13..d4352c6e59JY-20291-datadog-processing-states-> origin/JY-20291-datadog-processing-states20e95bbbc9..360f12adddJY-20541-cleanup-stale-tasks-and-events-> origin/JY-20541-cleanup-stale-tasks-and-events+ 9f8d154791...01c43d2aa6 JY-20553-debug-crm-sync-delays-> origin/JY-20553-debug-crm-sync-delays (forced update)* [new branch]JY-20695-handle-no-raw-transcript-› origin/JY-20695-handle-no-raw-transcriptbe76d8ba82..9b30c928c4JY-9712-change-forever-nudges-to-1-year-expiration -> origin/JY-9712-change-forever-nudges-to-1-year-expiration5bb8fefcba..c04e334173master-> origin/masterUpdating aba9685c0d..08ed383c5berror: Your local changes to the following files would be overwritten by merge:app/Http/Controllers/Webhook/ReportController.phpPlease commit your changes or stash them before you merge.Abortingukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app/front-end (JY-18909-automated-reports-ask-jiminny) $ Uec2-user@ip-10-...• ₴7100% <478Fri 17 Apr 16:02:101₴81ec2-user@ip-10-...O ₴8APP...
|
NULL
|
NULL
|
NULL
|
48768
|
|
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 ShouldQueue42 лV504E .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 SETUP579Ejiminny_storage/** @var stdClass{label: string} $value */M+ licenses.md580foreach ($values as $value) {581M Makefile$data = [582O package-lock.json'name' => $value->label,= phpstan.neon.dist-583enao 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;589E test.py<> Untitled Diagram.xmlIs vetur.config.js591M+ WEBHOOK_FILTERING_IMPLEif (Str::contains(strtolower($valve->label), ['sms received',"sms 1n',t 592$data['type'] = PlaybookCategory::TYPE_SNS_INBOUND;15931› ib External Libraries594E Scratches and Consoles595v D Database Consolesфchis->reposicory->creace(playbook, sdata);= custom.log< console LUl, & 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 Scratcheslusaeeprivate function fetchActivityFieldValues(Field $field): Collection/** @var Collection<FieLdValue> */return $this->fieldRepository->getPicklistValves($field);597598599600601602603604605607worksoace associated with branch Jy-log0g-autonck // Configure... (28 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 58 mA100% 145Fri 17 Apr 16:02:11RequestGenerateAsk.JiminnvRenort.lobTestCascadeAutomated Report RetPlaybook Activity Typeplaybook_id=5515), scoped to that time window:A. rallea ods most alreet Sienal.+D ...U sqlSELECT * FROM failed_jobsWHERE payload LIKE "%ImportActivityTypesgAND payload LIKE "%5515%'AND failed at >= <playbook created at - 1 hour>:playbook id in the event payloadIf present, the exception column will tell you exactly which of the above threwB. CrmOwnerResolver log lines (these are the only logs on the happy/unhappy path)[CrmOwnerResolver] Integration owner matched as CRM Owner - token OK[CrmOwnerResolver) Integration owner is not connected, attempting team members - owner tokeninvalid (first warning sign)CrmownerResolver TeamMember found with active crm connection —talllback workedl[CrmOwnerResolver] No team member found with active crm connection - this means the exceptionwas retnrown and stener •lee. nis Sthe Smok no cun.Filter by team_id: 711 and crm_provider: salesforce around the creation time.C. salestorce client errorsSentry:: capture xception is called in salestorce clent. onp on connectexception and on null-response GuzzleRequestException ( @/Users/lukas/jiminny/app/app/Services/Crm/Salesforce/Client-php: 531,539 ). Check Sentry for SF exceptions at that time.• Lsalestorcel -prerixed log lines trom the service.D. Queue worker logsProcessed: Jiminny Listeners erm emporcaecivitylypesrarlea:Jiminny Listeners crn inportActivirylypesE. Horizon (if used) - look for this listener job on the playbook's creation timestamp, check status andexceetion.Quick Verification QueryTo confirm whether the team owner/any member had a valid SF token at the timeSELECT u.id, u.email, u.role, sa.expires at, sa.access token IS NOT NULL AS has tokenFROM users uLEFT JOIN social_accounts saON sa.sociable id = u.id AND sa.provider = 'salesforce'wacke urream 10 =7ORDER BY u.role;It expires_at for all users is before the playbook's created_at and no refresh happened, that matchescase (1).Recommendation (Also Explains Dev vs Prod)The listener is missing three things that would turn this silent tailure into a diagnosable one:1. Try/catch around resolveForTeam + syncField + importPicklistValues to always fall through to theDB fallback (fetchActivityFieldValues), which would have worked here since 7 values exist.2. A warning log when $values is empty after both paths.3. A warning log when iteration completes and zero categories were insertedWant me to add logging + the try/catch tallback so tuture occurrences are both self-healing (via DBfallback) and visible in logs?Ask anything (24L)+ <> Code Claude Opus 4.7 MediumWinasun leams59/.22uir-o...
|
NULL
|
NULL
|
NULL
|
48769
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpla6lTech Day Review - in 58 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:02:141₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48770
|
|
PostmanFileEditViewWindow0008 Salesforce vHelpQ Se PostmanFileEditViewWindow0008 Salesforce vHelpQ SearchCOLLECTIONS> Amazon Connect›Amazon connec cooy› AWS• salesrorce> DUIV D USEFUL> D Auth› D Business Process> D SyncGET GET OPP by Ownerder ceask or link le lask lor comoanvGET Get related EventGer odec cescrioeGET get validation rulesder oel valioationkuleGET {{url)}/services/data/v46.0/search/?q=FIND {"[PHONE]") ...GET FieldDefinitionGEr get standard field definition› NotesGET QUERYGET SEARCHder saestorce soel vuolicaeGET Salesforce Get RecerdGer salestorce cet kecora DuolicaleGET Salesforce Create Recorddel salestorce vet kecora MelaedlaGET Salesforce Get Custom Field MetadataGET Salesforce SOQLGET Salesforce SOQL DuplicateGET Salesforce SOQL Duplicate (2)der saestorce sosGET object describeParch uocale odiecGET get forecast category queryGer st url services dala vou.ouser meGET OrganizationGET Get Organization IDGET get object deleteddET Object PermissionsGET custom tield› SalesloftPxantha OverviewGET Salesforce Get ReccGET Salestorce Get Reco •GET QUERYNIIP https://lesmills.my.salesforce.com/services/data/v50.0/tooling/query/https://lesmills.my.salesforce.com/services/data/v50.0/tooling/query/?q=%0A+= DocsraramsHeaders 9BodyserlotsSettingsAuth TypeBearer TokenTokenIne aucnorization neader will be automatically generated wnen yousend the request. Learn more about Bearer Token authorization.GET QUERYhiil: Tech Day Review • in 58 mAGET Salesforce Get RecoGET aet obiect deleted •GET Kur'/services/dataGET httos:esmills.mv.saSalestorceve SaveShare |g+l0wzu+Dalalvpe%ze-DeveloeerName%zutLaoel%zo+Lenetn%zu+DescrlpulonzUA++++++++++SendCookiecVariables in requestE token› All variables*, AI100% CS•Fri 17 Apr 16:02:15invite00D900000001USz AOZAOKRITO....Loken)BodyCokiac 21HeadersoTect RaculteTY JSON v• Preview & Debug with Al"message": "sObject type 'FieldDefinition' is not supported.","errorCode": "INVALID_TYPE"400 Bad Request • 702 ms • 469 B • à/ ...5 =a198ENVIRONMENIS>SPECS>ELOWSE Connect Git E Console-lermina.Globals Vault Tools & 000...
|
NULL
|
NULL
|
NULL
|
48771
|
|
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 PrODIA 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->syncrleldsplaybook->getaculvicyr1eLdh571572573$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... (28 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.*Towner 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 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 58 mA100% 145Fri 17 Apr 16:02:16RequestGenerateAsk.JiminnvRenort.lobTestCascadeAutomated Report RetPlaybook Activity Typeplaybook_id=5515), scoped to that time window:A. rallea ods most alreet Sienal.+D ..U sqlSELECT * FROM failed_jobsWHERE payload LIKE "%ImportActivityTypesgAND payload LIKE "%5515%'AND failed at >= <playbook created at - 1 hour>:playbook id in the event payloadIf present, the exception column will tell you exactly which of the above threwB. CrmOwnerResolver log lines (these are the only logs on the happy/unhappy path)[CrmOwnerResolver] Integration owner matched as CRM Owner - token OK[CrmOwnerResolver) Integration owner is not connected, attempting team members - owner tokeninvalid (first warning sign)CrmownerResolver TeamMember found with active crm connection —talllback workedl[CrmOwnerResolver] No team member found with active crm connection - this means the exceptionwas retnrown and stener •lee. nis Sthe Smok no cun.Filter by team_id: 711 and crm_provider: salesforce around the creation time.C. salestorce client errorsSentry:: capture xception is called in salestorce clent. onp on connectexception and on null-response GuzzleRequestException ( @/Users/lukas/jiminny/app/app/Services/Crm/Salesforce/Client-php: 531,539 ). Check Sentry for SF exceptions at that time.•Salestorce -orer xe. locines rom ne service.D. Queue worker logsProcessed: Jiminny Listeners erm emporcaecivitylypesrarlea:Jiminny Listeners crn inportActivirylypesE. Horizon (if used) - look for this listener job on the playbook's creation timestamp, check status andexceetion.Quick Verification QueryTo confirm whether the team owner/any member had a valid SF token at the timeSELECT u.id, u.email, u.role, sa.expires at, sa.access token IS NOT NULL AS has tokenFROM users uLEFT JOIN social_accounts saON sa.sociable id = u.id AND sa.provider = 'salesforce'wacke urream 10 =7ORDER BY u.role;It expires_at for all users is before the playbook's created_at and no refresh happened, that matchescase (1).Recommendation (Also Explains Dev vs Prod)The listener is missing three things that would turn this silent failure into a diagnosable one:1. Try/catch around resolveForTeam + syncField + importPicklistValues to always fall through to theDB fallback (fetchActivityFieldValues), which would have worked here since 7 values exist.2. A warning log when $values is empty after both paths.3. A warning log when iteration completes and zero categories were insertedWant me to add logging + the try/catch tallback so tuture occurrences are both self-healing (via DBfallback) and visible in logs?Cal "c.com/services dala/vou.urooline cuery:tlovozutbalalyoe/ozutbeveloperiy<> CodeClaude Opus 4.7 MediumWinasun leams59/.22uir-o...
|
NULL
|
NULL
|
NULL
|
48772
|
|
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 ShouldQueue42 лV504E .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->syncrleldsplaybook->getaculvicyr1eLdh5720 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 SETUP579Ejiminny_storage/** @var stdClass{label: string} $value */M+ licenses.md580foreach ($values as $value) {581M Makefile$data = [582O package-lock.json'name' => $value->label,= phpstan.neon.dist-583enao leo'=> true,584=phpstan-baseline.neonIyoe" →ravoookuaredory..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;589E test.py<> Untitled Diagram.xmlIs vetur.config.js591M+ WEBHOOK_FILTERING_IMPLEif (Str::contains(strtolower($valve->label), ['sms received',"sms 1n',t 592$data['type'] = PlaybookCategory::TYPE_SMS_INBOUND;15931› ib External Libraries594E Scratches and Consoles595v D Database Consolesфchis->reposicory->creace(,playdook, sdaca);= custom.log< console LUl, & lminnva ocalhostvAPRUDc consoe PrODI« console_1 [PROD]A DI [PROD]LQA4 QAI› QAI PRODV & STAGINGA console [STAGING]¿ consoe AGINGI& uranus s AGINGI> M Extensions> D Scratcheslusaeeprivate function fetchActivityFieldValues(Field $field): Collection/** @var Collection<FieLdValue> */return $this->fieldRepository->getPicklistValves($field);597598599600601602603604605607worksoace associated with branch Jy-log0g-autonck // Configure... (28 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.*Towner 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 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 58 mA100% 145Fri 17 Apr 16:02:19RequestGenerateAsk.JiminnvRenort.lobTestCascadeAutomated Report RetPlaybook Activity Typeplaybook_id=5515), scoped to that time window:A. rallea ods most alreet Sienal.+D ...U sqlSELECT * FROM failed_jobsWHERE payload LIKE "%ImportActivityTypesgAND payload LIKE "%5515%'AND failed at >= <playbook created at - 1 hour>:playbook id in the event payloadIf present, the exception column will tell you exactly which of the above threwB. CrmOwnerResolver log lines (these are the only logs on the happy/unhappy path)[CrmOwnerResolver] Integration owner matched as CRM Owner - token OK[CrmOwnerResolver) Integration owner is not connected, attempting team members - owner tokeninvalid (first warning sign)CrmownerResolver TeamMember found with active crm connection —talllback workedl[CrmOwnerResolver] No team member found with active crm connection - this means the exceptionwas retnrown and stener •lee. nis Sthe Smok no cun.Filter by team_id: 711 and crm_provider: salesforce around the creation time.C. salestorce client errorsSentry:: capture xception is called in salestorce clent. onp on connectexception and on null-response GuzzleRequestException ( @/Users/lukas/jiminny/app/app/Services/Crm/Salesforce/Client-php: 531,539 ). Check Sentry for SF exceptions at that time.•Salestorce -orer xe. locines rom ne service.D. Queue worker logsProcessed: Jiminny Listeners erm emporcaecivitylypesrarlea:Jiminny Listeners crn inportActivirylypesE. Horizon (if used) - look for this listener job on the playbook's creation timestamp, check status andexceetion.Quick Verification QueryTo confirm whether the team owner/any member had a valid SF token at the timeSELECT u.id, u.email, u.role, sa.expires at, sa.access token IS NOT NULL AS has tokenFROM users uLEFT JOIN social_accounts saON sa.sociable id = u.id AND sa.provider = 'salesforce'wacke urream 10 =7ORDER BY u.role;It expires_at for all users is before the playbook's created_at and no refresh happened, that matchescase (1).Recommendation (Also Explains Dev vs Prod)The listener is missing three things that would turn this silent failure into a diagnosable one:1. Try/catch around resolveForTeam + syncField + importPicklistValues to always fall through to theDB fallback (fetchActivityFieldValues), which would have worked here since 7 values exist.2. A warning log when $values is empty after both paths.3. A warning log when iteration completes and zero categories were insertedWant me to add logging + the try/catch tallback so tuture occurrences are both self-healing (via DBfallback) and visible in logs?Saala vou.ucooline cuery:tlovozutbalalyoe/ozutbeveloperiy<> CodeClaude Opus 4.7 ModiumWinasun leams59/.22uir-o...
|
NULL
|
NULL
|
NULL
|
48774
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpla6lTech Day Review - in 58 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:02:261₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48775
|
|
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_SNS_INBOUND;15931594595фchis->reposicory->creace(playbook, sdata);lusaeeprivate function fetchActivityFieldValues(Field $field): Collection/** @var Collection<FieLdValue> */return $this->fieldRepository->getPicklistValves($field);597598599600601602603604605607worksoace associated with branch Jy-log0g-autonck // Configure... (28 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 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 58 mA100% 145Fri 17 Apr 16:02:26RequestGenerateAsk.JiminnvRenort.lobTestCascadeAutomated Report RetPlaybook Activity Typeplaybook_id=5515), scoped to that time window:A. rallea ods most alreet Sienal.+D ..U sqlSELECT * FROM failed_jobsWHERE payload LIKE "%ImportActivityTypesgAND payload LIKE "%5515%'AND failed at >= <playbook created at - 1 hour>:playbook id in the event payloadIf present, the exception column will tell you exactly which of the above threwB. CrmOwnerResolver log lines (these are the only logs on the happy/unhappy path)[CrmOwnerResolver] Integration owner matched as CRM Owner - token OK[CrmOwnerResolver) Integration owner is not connected, attempting team members - owner tokeninvalid (first warning sign)CrmownerResolver TeamMember found with active crm connection —talllback workedl[CrmOwnerResolver] No team member found with active crm connection - this means the exceptionwas retnrown and stener •lee. nis Sthe Smok no cun.Filter by team_id: 711 and crm_provider: salesforce around the creation time.C. salestorce client errorsSentry:: capture xception is called in salestorce clent. onp on connectexception and on null-response GuzzleRequestException ( @/Users/lukas/jiminny/app/app/Services/Crm/Salesforce/Client-php: 531,539 ). Check Sentry for SF exceptions at that time.•Salestorce -orer xe. locines rom ne service.D. Queue worker logsProcessed: Jiminny Listeners erm emporcaecivitylypesrarlea:Jiminny Listeners crn inportAcclvityl yoesE. Horizon (if used) - look for this listener job on the playbook's creation timestamp, check status andexceetion.Quick Verification QueryTo confirm whether the team owner/any member had a valid SF token at the timeSELECT u.id, u.email, u.role, sa.expires at, sa.access token IS NOT NULL AS has tokenFROM users uLEFT JOIN social_accounts saON sa.sociable id = u.id AND sa.provider = 'salesforce'wacke urream 10 =7ORDER BY u.role;It expires_at for all users is before the playbook's created_at and no refresh happened, that matchescase (1).recommencarion also =xoains Dey ys ProoThe listener is missing three things that would turn this silent failure into a diagnosable one:1. Try/catch around resolveForTeam + syncField + importPicklistValues to always fall through to theDB fallback (fetchActivityFieldValues), which would have worked here since 7 values exist.2. A warning log when $values is empty after both paths.3. A warning log when iteration completes and zero categories were insertedWant me to add logging + the try/catch tallback so tuture occurrences are both self-healing (via DBfallkaabl and vicikla in lancthttps:/lesmills.my.salesforce.com/services/data/y50.0/tooling/queryiecl lvoe rieleverintion is not supporee.I where is the issue<> CodeClaude Opus 4.7 MediumWinasun leams59/.22uir-o...
|
NULL
|
NULL
|
NULL
|
48776
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpla6lTech Day Review - in 58 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:02:271₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48777
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpla6lTech Day Review - in 58 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:02:291₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48778
|
|
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" →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);lusaeeprivate function fetchActivityFieldValues(Field $field): Collection/** @var Collection<FieLdValue> */return $this->fieldRepository->getPicklistValves($field);597598599600601602603604605607worksoace associated with branch Jy-log0g-autonck // Configure... (28 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 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 58 mA100% 145Fri 17 Apr 16:02:29RequestGenerateAsk.JiminnvRenort.lobTestCascadeAutomated Report RetPlaybook Activity Typeplaybook_id=5515), scoped to that time window:A. rallea ods most alreet Sienal.+D ..U sqlSELECT * FROM failed_jobsWHERE payload LIKE "%ImportActivityTypesgAND payload LIKE "%5515%'AND failed at >= <playbook created at - 1 hour>:playbook id in the event payloadIf present, the exception column will tell you exactly which of the above threwB. CrmOwnerResolver log lines (these are the only logs on the happy/unhappy path)[CrmOwnerResolver] Integration owner matched as CRM Owner - token OK[CrmOwnerResolver) Integration owner is not connected, attempting team members - owner tokeninvalid (first warning sign)CrmownerResolver TeamMember found with active crm connection —talllback workedl[CrmOwnerResolver] No team member found with active crm connection - this means the exceptionwas rernrown ano stener •lee. ins Sthe Smokino cun.Filter by team_id: 711 and crm_provider: salesforce around the creation time.C. salestorce client errorsSentry:: capture xception is called in salestorce clent. onp on connectexception and on null-response GuzzleRequestException ( @/Users/lukas/jiminny/app/app/Services/Crm/Salesforce/Client-php: 531,539 ). Check Sentry for SF exceptions at that time.•Salestorce -orerixec oc ines Trom he service.D. Queue worker logsProcessed. Jiminny Listeners crm emporcaecivitylypesrarlea:Jiminny Listeners crn inportAcclvityl yoesE. Horizon (if used) - look for this listener job on the playbook's creation timestamp, check status andexceetion.Quick Verification QueryTo confirm whether the team owner/any member had a valid SF token at the timeSELECT u.id, u.email, u.role, sa.expires at, sa.access token IS NOT NULL AS has tokenFROM users uLEFT JOIN social_accounts saON sa.sociable id = u.id AND sa.provider = 'salesforce'wacke urream 10 =7ORDER BY u.role;It expires_at for all users is before the playbook's created_at and no refresh happened, that matchescase (1).recommencarion also =xoains Dey ys ProoThe listener is missing three things that would turn this silent tallure into a diagnosable one:1. Try/catch around resolveForTeam + syncField + importPicklistValues to always fall through to theDB fallback (fetchActivityFieldValues), which would have worked here since 7 values exist.2. A warning log when $values is empty after both paths.3. A warning log when iteration completes and zero categories were insertedWant me to add logging + the try/catch tallback so tuture occurrences are both self-healing (via DBfallkaabl and vicikla in lancthttps:/lesmills.my.salesforce.com/services/data/y50.0/tooling/queryiecl lvoe rieleverintion is not supporee.I where is the issudl<> CodeClaude Jonnet 4.5Winasun leams59/.22uir-o...
|
NULL
|
NULL
|
NULL
|
48779
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpla6lTech Day Review - in 58 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:02:311₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48780
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpla6lTech Day Review - in 58 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:02:321₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48781
|
|
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->syncrleldsplaybook->getaculvicyr1eLdh571572573$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);lusaeeprivate function fetchActivityFieldValues(Field $field): Collection/** @var Collection<FieLdValue> */return $this->fieldRepository->getPicklistValves($field);597598599600601602603604605607worksoace associated with branch Jy-log0g-autonck // Configure... (28 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.*Towner 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 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 58 mA100% 145Fri 17 Apr 16:02:32RequestGenerateAsk.JiminnvRenort.lobTestCascadeAutomated Report RetPlaybook Activity Typeplaybook_id=5515), scoped to that time window:A. rallea ods most alreet Sienal.+D ...U sqlSELECT * FROM failed_jobsWHERE payload LIKE "%ImportActivityTypesgAND payload LIKE "%5515%'AND failed at >= <playbook created at - 1 hour>:playbook id in the event payloadIf present, the exception column will tell you exactly which of the above threwB. CrmOwnerResolver log lines (these are the only logs on the happy/unhappy path)[CrmOwnerResolver] Integration owner matched as CRM Owner - token OK[CrmOwnerResolver) Integration owner is not connected, attempting team members - owner tokeninvalid (first warning sign)CrmownerResolver TeamMember found with active crm connection —talllback workedl[CrmOwnerResolver] No team member found with active crm connection - this means the exceptionwas retnrown and stener •lee. nis Sthe Smok no cun.Filter by team_id: 711 and crm_provider: salesforce around the creation time.C. salestorce client errorsSentry:: capture xception is called in salestorce clent. onp on connectexception and on null-response GuzzleRequestException ( @/Users/lukas/jiminny/app/app/Services/Crm/Salesforce/Client-php: 531,539 ). Check Sentry for SF exceptions at that time.•Salestorce -orer xe. locines rom ne service.D. Queue worker logsProcessed: Jiminny Listeners erm emporcaecivitylypesrarlea:Jiminny Listeners crn inportActivirylypesE. Horizon (if used) - look for this listener job on the playbook's creation timestamp, check status andexceetion.Quick Verification QueryTo confirm whether the team owner/any member had a valid SF token at the timeSELECT u.id, u.email, u.role, sa.expires at, sa.access token IS NOT NULL AS has tokenFROM users uLEFT JOIN social_accounts saON sa.sociable id = u.id AND sa.provider = 'salesforce'wacke urream 10 =7ORDER BY u.role;It expires_at for all users is before the playbook's created_at and no refresh happened, that matchescase (1).recommencarion also =xoains Dey ys ProoThe listener is missing three things that would turn this silent failure into a diagnosable one:1. Try/catch around resolveForTeam + syncField + importPicklistValues to always fall through to theDB fallback (fetchActivityFieldValues), which would have worked here since 7 values exist.2. A warning log when $values is empty after both paths.3. A warning log when iteration completes and zero categories were insertedWant me to add logging + the try/catch tallback so tuture occurrences are both self-healing (via DBfallkaabl and vicikla in lancthttps:/lesmills.my.salesforce.com/services/data/y50.0/tooling/queryiecl lvoe rieleberinition is nor supporea.] where is the issue<> CodeWinasun leams59/.22uir-o...
|
NULL
|
NULL
|
NULL
|
48782
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpla6lTech Day Review - in 58 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:02:401₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48784
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpla6lTech Day Review - in 58 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:02:421₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48785
|
|
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" →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);lusaeeprivate function fetchActivityFieldValues(Field $field): Collection/** @var Collection<FieLdValue> */return $this->fieldRepository->getPicklistValves($field);597598599600601602603604605607worksoace associated with branch Jy-log0g-autonck // Configure... (28 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 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 58 mA100% 145Fri 17 Apr 16:02:42RequestGenerateAsk.JiminnvRenort.lobTestCascadeAutomated Report RetPlaybook Activity Typeplaybook_id=5515), scoped to that time window:A. rallea ods most alreet Sienal.+D ...U sqlSELECT * FROM failed_jobsWHERE payload LIKE "%ImportActivityTypesgAND payload LIKE "%5515%'AND failed at >= <playbook created at - 1 hour>:playbook id in the event payloadIf present, the exception column will tell you exactly which of the above threwB. CrmOwnerResolver log lines (these are the only logs on the happy/unhappy path)[CrmOwnerResolver] Integration owner matched as CRM Owner - token OK[CrmOwnerResolver) Integration owner is not connected, attempting team members - owner tokeninvalid (first warning sign)CrmownerResolver TeamMember found with active crm connection —talllback workedl[CrmOwnerResolver] No team member found with active crm connection - this means the exceptionwas rernrown ano stener •lee. ins Sthe Smokino cun.Filter by team_id: 711 and crm_provider: salesforce around the creation time.C. salestorce client errorsSentry:: capture xception is called in salestorce clent. onp on connectexception and on null-response GuzzleRequestException ( @/Users/lukas/jiminny/app/app/Services/Crm/Salesforce/Client-php: 531,539 ). Check Sentry for SF exceptions at that time.•Salestorce -orerixec oc ines Trom he service.D. Queue worker logsProcessed. Jiminny Listeners crm emporcaecivitylypesrarlea:Jiminny Listeners crn inportAcclvityl yoesE. Horizon (if used) - look for this listener job on the playbook's creation timestamp, check status andexceetion.Quick Verification QueryTo confirm whether the team owner/any member had a valid SF token at the timeSELECT u.id, u.email, u.role, sa.expires at, sa.access token IS NOT NULL AS has tokenFROM users uLEFT JOIN social_accounts saON sa.sociable id = u.id AND sa.provider = 'salesforce'wacke urream 10 =7ORDER BY u.role;It expires_at for all users is before the playbook's created_at and no refresh happened, that matchescase (1).recommencarion also =xoains Dey ys ProoThe listener is missing three things that would turn this silent tallure into a diagnosable one:1. Try/catch around resolveForTeam + syncField + importPicklistValues to always fall through to theDB fallback (fetchActivityFieldValues), which would have worked here since 7 values exist.2. A warning log when $values is empty after both paths.3. A warning log when iteration completes and zero categories were insertedWant me to add logging + the try/catch tallback so tuture occurrences are both self-healing (via DBfallkaabl and vicikla in lancthttps:/lesmills.my.salesforce.com/services/data/y50.0/tooling/queryiecl lvoe rieleverintion is not supporee.I where is the issudl<> Code§ AdaptiveWinasun leams59/.22uir-o4 smces...
|
NULL
|
NULL
|
NULL
|
48786
|
|
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 EUi558© ActivityLogged.php9 AutomatedReportsCallbackService.php© RequestGenerateAskJiminnyReportJob.php559C RequestGenerateReportJob.phpc) Automated keponkesuivono© AutomatedReport.phpclass ImportActivitxIxRes implements ShouldQueuepublic function handle(PlaybookCreated $event): void$playbook = $event->playbook;, & lminnva ocalhostvAPRODc consoe rrobi« console_1 [PROD]A DI [PROD]LQA4 QAI› QAI PRODV & STAGINGA console [STAGING]¿ consoe AGINGI& uranus s AGINGI> M Extensions> D Scratches// Don't run if somehow we already have categories.if ($playbook->getCategories()->isNotEmptyO) {return;$crmService = $this->crmResolver->resolveForTeam($playbook->getTeam());scrmservice->syncrleldlsplaybook->getaculvicyrleldooh$values = $crmService->importPicklistValues($playbook->getActivityFieldO);if (empty($values)) {$values = $this->fetchActivityFieldValues($playbook->getActivityField()):n577/** @var stdClass{label: string} $value */foreach ($values as $value) {$data = ['name' => $value->label,enao leo'=> true,Iyoe" →ravoookLaredor..rE ALLA1561V504563564565566— 567568569570571572573574575576578579580581582-5835841:587if (Str::contains(strtolower($value->label), ['sms sent',"sms out','text 588$data['type'] = PlaybookCategory::TYPE_SMS_OUTBOUND;589590591if (Str::contains(strtolower($valve->label), ['sms received','sms 1n',t 592$data['type'] = PlaybookCategory::TYPE_SNS_INBOUND;593594595фchis->reposicory->creace(playbook, sdata);596597578599lusaee600private function fetchActivityFieldValues(Field $field): Collection601/** @var Collection<FieLdValue> */return $this->fieldRepository->getPicklistValves($field);602603604605606607worksoace associated with branch Jy-log0g-autonck // Configure... (28 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,Sa jiminny ~034 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 opportunities where id = 7594349;SELE * 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* FKUMcrn telos wibke 10 = 220147.SELECT * FROMcrm_field_valuesWHERE 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_1dWHERE U.team_id = 711 and sa.provider = 'salesfence':Tech Day Review - in 58 mA100% CFri 17 Apr 16:02:45RequestGenerateAskJiminnyReportJobTest vCascadeAutomated Report Reti• Playbook Activity Ty+D ...1le704urUalaly perozutDeveleveTITTTTtt + Durableld+losut/o4/event.ypevos"message": "sObject type 'FieldDefinition' is not supported.",errorcoce". "INVALID TPE"where is tne issueAsk anything (24L)+ ‹› Codel§ AdaptiveWinasun leamsbgrzz ulr-d4 spaces...
|
NULL
|
NULL
|
NULL
|
48787
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpla6lTech Day Review - in 58 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:02:531₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48790
|
|
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... (28 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,Sa jiminny ~034 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 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 58 mA100% C•Fri 17 Apr 16:02:54RequestGenerateAsk.JiminnvRenort.lobTestCascadeAutomated Report Reti• Playbook Activity Ty+losut/o4/event.ypevoL"errorCode": "INVALID_TYPE"PieldDefinition' is not supported.",where is tne issue+ ‹> CodeS AdaptiveExplorina.+D ..LyperozutbeveleveTutttTtt+ DurableldAsk anything (84L)+ ‹› Codel§ AdaptiveWinasun leamsbgrzz ulr-d4 spaces...
|
NULL
|
NULL
|
NULL
|
48791
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpla6lTech Day Review - in 58 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:02:541₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48792
|
|
PhpStormFileEditViewNavigateCodeLaravelRefactor#11 PhpStormFileEditViewNavigateCodeLaravelRefactor#11894 on.lY-18909-automated-renorts-ask-liminnvToolsWindowHelpProjectvv D Crm6 Bootstrapintegration© ImportActivity Types.© ImportMetadata.php© InitProfiles.php© LayoutModifiedListe© LayoutUpdatedListelC RematchActivityOnC© ResolveOwner.php© SyncOpportunity.phpasyncrotleleacs.on© SyncProfileOpportun>_ DealRisksD ElasticSearchGroupsC ImportC MailboxD NudgesD OpportunitiesPlaybooksPlaylistsM TeamsTranscription> D Users> D Webhook= gitkeep© ChangeLogContextCorr› D Mailv _ Models> DActivity> MAi> D AskAnything> M Calendar> M ConnectionContracts>DCrmD ElasticSearchFeature• Opportunity• ParticipantPlaybackThemeD Playlist0 ScorecardM WebhookC Accountono© Activity.php© Address.php© AiPrompt.php© AutomatedReport.php© AutomatedReportResult© Calendar.php© Calllmport.php© CoachingFeedback.php© CoachingFeedbackVisit© CoachingSection.php© CoachingSectionCriteric© CoachingSectionCriteri© CoachingSectionFeedb:© CommentAbstract.php© PlaybookRepository.php© ImportActivityTypes.phpx© Service.php© FieldRepository.php© AskJiminnyReportActivityService.phpc keporicontroller.ono© JiminnyDebugCommand.php© AutomatedReportsSendCommand.php© AutomatedReportsCommand.php© AutomatedReportsRepository.php© AutomatedReportsService.php= custom.log¿ console [EU]= laravel.logA console [STAGING]A SF [jiminny@localhost]A HS_local [iminny@localhost]A console [PROD] X© RequestGenerateAskJiminnyReportJobTest.php(c CrealeAcuivilyLoccedbvent.ono© ActivityLogged.php© AutomatedReportsCallbackService.phpC RequestGenerateReportJob.phpc) Automated keponkesuivonoclass ImportActivitxIxRes implements ShouldQueuepublic function handle(PlaybookCreated $event]$playbook = $event->playbook;60// Don't run if somehow we already have ciif ($playbook->getCategories()->isNotEmpt:return;$crmService = $this->crmResolver->resolvel$crmService->syncField($playbook->getActi)$values = $crmService->importPicklistValuif (empty($values)) {$values = $this->fetchActivityFieldVa/** @var stdClass{label: string} $value *,foreach ($values as $value) {$data = [=> $value->label,'enabled'→ true,iyoe" → ravoookudredory..re1:if (Str: :contains(strtolower($value->$data['type'] = PlaybookCategory:if (Str::contains(strtolower($value->$data['type'] = PlaybookCategory:nunus-›revositorv-›creareolavoook..lusaeeprivate function fetchActivityFieldValues(Fie*/** @var Collection<FieldValue> */return $this->fieldRepository->getPicklisFind in Flles100+ matches in 11 + tles 7Ix. Aulo vMlaycroundv-F * -ROM FAAms VHERF nAMe ITKF'%Integrum ESG%'; # 1126, 1065,Hle maskSa jiminny ~034 A1 A34 X62 AFieldDefinitionIn ProjectModuleDirectoryScopeuse Jiminny\Http|Controllers\API\Opportunity\CommentsController;Srouter->get(/details/details-daily/opportunityld}/{date)', [Srouter->put('/deals/opportunity}/edit-fields', [Srouter->get('/opportunity", [CrmController:class, opportunities']);Srouter->get('/deal)opportunity)", [AiCrmNotesController::class, 'getByOpportunity']);"ouler oostceaopportunityrlog-to-crm, laicrmnotescontroller.class, log locmbyopportunity)srouter-> postdeal(opportunity}/discard', [AiCrmNotesController::class, 'discardByOpportunity']);orellx -?opportunity/fopportunity)', 'middleware' => ['api']],//Opportunity commentsSrouter->get('deals/opportunity)/ask-jiminny', [Controllers\API\DealLevelPromptsController::class, 'index'])FilterDefinition\ActivityRecordingS(opped::class,FilterDefinition\ActivityRecordingS(opped::class,use Jiminny|Console|Commands\Activities\FixActivitiesOpportunity;use Jiminny|Console|Commands\Crm|PurgeDeletedOpportunitiesCommand;use Jiminny|Console\Commands\Crm|SyndOpportunitiesMissingFieldDataCommand;use Jiminny\Console\Commands\PurgeSoftDeletedOpportunitiesCommand;Commands\Crm|SyncOpportunity:class,api.php 36api.php 134api.php 139api.php 261api.php 276api.php 277api.php 278api.php 1064api.php 1066api.php 1098ActivitySearch.php 46ActivitySearch.php 298Console/Kernel.php 26Console/Kernel.php 38Console/Kernel.php 42Console/Kernel.php 55pl. 3911, act. field 162182ELSE"' END) AS user_id,api.php routesuse Jiminny\Http\Controllers\API\LanguageController;use Jiminny\Http\Controllers\API\LiveFeedController;use Jiminny\Http\Controllers\API\MeetingsController;use Jiminny\Http\Controllers\API\MessageController;use Jiminny Hutpyconcrouters Ar-\Mecadatacontrouler)use Jiminny\Http\Controllers\API\MobileSettingsController;use Jiminny\Http\ControlLers\API\MomentController;use Jiminny\Http\Controllers\API\NudgeController;use Jiminny\Http\Controllers\API\NumberAllocatorController;use Jiminny\Http\Controllers\API\Opportunity\CommentsController;use Jiminny\Http\Controllers\API\OrganizationLicensesController;use Jiminny\Http\Controllers\API\OrganizationMembersController;use Jiminny\Http\Controllers\API\OrganizationRetentionPolicyController;use Jiminny\Http\Controllers\API\OrganizationRolesController;use Jiminny\Http\Controllers\API\OrganizationSyncController;use Jiminny\Http\Controllers\API\Page\0nDemandController;use Jiminny\Http\Controllers\API\Page\PlaybackController;use Jiminny\Http\Controllers\API\PartnerController;use Jiminny\Http\Controllers\API\PhoneNumberController;use Jiminny\Http\Controllers\API\PlaylistController;use Jiminny\Http\Controllers\API\Settings\EmailSyncController;use Jiminny\Http\Controllers\API\SidekickController;use Jiminny\Http\Controllers\API\SoftphoneController;use Jiminny\Http\Controllers\API\SubscriptionController;use Jiminny\Http\Controllers\API\TeamAiAutomationController;use Jiminny\Hutpyconcrouters Ar-\leamAzconcexccontrouler)use Jiminny\Hetpyconcrouters APe\leamconcrouter)use Jiminny\Http\Controllers\API\TeamInsights\ActivityStatsController;1-30d0-b339-7345381b6044 , ["pdf", "pcFa41b-afd3-43a9-a248-86b0e36f3131')=7B - [EMAIL]"' END) AS user_id,Open results in new tabOpen in Find WindowTech Day Review • in 58 mA100% CFri 17 Apr 16:03:00RequestGenerateAsk.liminnvRenort.lob TestCascadeAutomated Report Reti• Playbook Activity Ty+losut/o4/event.ypevosFieldDefinition' is not supported.","errorCode". "INVALID TYPE'where is tne issue+ ‹> CodeS AdaptiveDiving.LyperozutbeveleveTTTTTtt+ DurableldAsk anything (24L)+ ‹› Codel§ AdaptiveW Windsurf Team60:50fa 4 spaces...
|
NULL
|
NULL
|
NULL
|
48793
|
|
PhpStormFileFditViewNavigateCodelaravelRetactonToo PhpStormFileFditViewNavigateCodelaravelRetactonToolsWindowHelpFVravsco.isv#11804 on.lY-18909-automated-renorts-ask-liminnvProject vC PlaybookRepository.phpC ImportActivityTypes.php XC Service.phpC FieldRepository.phpv J CrmC AskJiminnyReportActivityService.phpC ReportController.phpC JiminnyDebugCommand.phpBootstrapintegration© AutomatedReportsSendCommand.php© AutomatedReportsCommand.php© ImportActivityTypes.(©) ImportMetadata.phpC AutomatedReportsRepository.phpC AutomatedReporsserice.org(© InitProfiles.phpFind in Files 1 match in 1flle ?,C TrackProviderInstalledEvent.php(c CrealeAcuivilyLocgedbvent.ono© LayoutModifiedListe© LayoutupdatedListelFieldDerinition) Activiv odded.nhn© AutomatedReportsCallbackService.phpCo RematchActivityoneC RequestGenerateReportJob.phpc) Automated keponkesuivonoIn ProjectModuleDirectoryScope© Resolveowner.phpc) [EMAIL].'FROM FieldDefinition'© SyncProfileLeads.ph(C) SyncProfileOpportun>_ DealRisks• ElasticSearchU GroupsW ImportMailboxNudgesD OpportunitiesM PlavbooksM PlavlistsM TeamsTranscription>_ Users>_Webhook=.gitkeepC) ChangeLogContextCor• D Mailv _ Models• ^ Activity> MAi> DAskAnything> M Calendar> M Connection› Contracts>DCrmElasticSearchFeature_ OpportunityParticioant_ Playback IhemeM PlavlistM Scorecard>MWebhookC) Account.oho©) Activity.phpC Address.phpC) AiPrompt.phpC AutomatedReport.phpC) AutomatedReportResullC) Calendar.phpg Calllmport.php© Coachingt-eedback.php© CoachingFeedbackVisitC) CoachingSection.phpC) CoachinaSectionCriterk‹C CoachingSectionCriteri‹C) CoachingSectionFeedbC CommentAbstract.phpclass ImportActivitxlypes implements ShouldQueuepublic function handle PlaybookCreated Seventi$playbook = Sevent->playbook;// Don't run if somehow we already have cif (Splaybook->getCategories->isNotEmpt)return;scrmservice = pchis->crmkesoLver-›reso.velscrmservice->syncrleldsplaybook->getactlSvalues = ScrmService->importPicklistValuif (empty($values))svalues = sthis->fetchActivityFieldVal/** dvar stdclassilabel: stringr svalue *)foreach (svalues as svalue)фdaca = l"nane' s vauues>ladeluenao leo'→ true,'type' => PlavbookCategory::TYPE /|1591:15715811601if Str::contains(strtolower(Svalue-> 102$data['type'] = PlaybookCategory: 163165if (Str::contains(strtolower(Svalue-> 166$datal'type') = PlaybookCategory:nunus-›revositorv->creareolavoook.4176lusaeeprivate function fetchActivityFieldValuesFiel//** avar Collection<r1eldValue> */177return Sthis->fieldRepository->getPicklis17818018111821185• Tech Day Review • in 57 m100% 145Fri 17 Apr 16:03:09RequestGenerateAsk.liminnvRenort.lob TestPlaybook Activity Ty= custom.log=laravel.logL SF (iminny@localhostHS_local fiminny@localhost)& console PROD XL console [EU1console SlAGiNGC RequestGenerateAskJiminnyReportJobTest.phpIx. Aulo vMlaycroundvSELECT * FROM teams WHERE name LIKE "%Integrum E56%; # 1126, 1065,Hle maskliminny034 A1 A34 V 62 ^QueryHandlerTest.php 165CascadeAutomated Renort Ret+losut/o4/event.ypevoLFieldDefinition' is not supported.""errorCode". "INVAIID TVDEwhere is tne issue+ ‹> CodeAdaptivesurting.LyperozutbeveleveTTTTTtt +DurableldWpl. 3911, act. field 162182ELSE"' END) AS User_1d,QueryHandlerTest.php tests/Unit/Services/Crm/Salesforceprivate function sampleQueryResultso: QueryResultsrecurn new yuerykesultsul' some-mecadata-nere'J.totalsize: I,nextquery: nutt),private tunccion getsamplequery. scringreturn 'SELECT 1d, Datalype, DeveloperName, Label, Lengch, veserepcion' FROM FieldDefinition'ORDER BY LastModified DESC';private function getbeleteurl(string $crmobjectld): stringreturn "test-salesforce-url.com/services/data/v50/sobjects/' . $crm0bjectId . '/deleted';privace tunccion getsearchurtistring esoscquery. scringreturn "test-salesforce-url.com/services/data/v50/search/?q=' . urlEncode($soslQuery):private function getoueryurl(string ssoslouery): stringreturn 'test-salesforce-url.com/services/data/v50/query/?q=' . urlEncode($soslQuery):Open results in new tab92 +Open in Find Window-5000-D557-754558106044 , L"pat","poFa41b-afd3-43a9-a248-86b0e36f3131') =B - [EMAIL] "'END) AS user id,Ask anything (&+L)+ ‹› Codel•AdaptiveW Windsurf Teams60:50Tia 4 spaces...
|
NULL
|
NULL
|
NULL
|
48794
|
|
PhpStormFileFditViewNavigateCodelaraveRefactonTool PhpStormFileFditViewNavigateCodelaraveRefactonToolsWindowHelpFV faVsco.s v#11894 on JY-18909-automated-reports-ask-iminny kProject vWAUUVILYM AiAutomation_ Audio_ AutomatedReports(c) Createresuis esC) RequestGenerate(c) RequestGenerate(c) SendReport.JobTeC/ SendReportMailJi→ CalendarD CrmD DealRisks_ MailboxW Streaming_ Team_ lelephonyUser(c) ImportRecallA lReconc) SasVisibilitvControlT> MListeners› Mail> → Models> _ Notifications_ Observers>_ Policies› _ ProvidersRenositories• M RulesServicesACTMINM ActivitvProvidersAvatar• CalendarConferencev J Crm› D Bullhorn>_ Close› _ Copper>Uermobjects•melpers•auospot> IntegrationApp> Listeners› _ Pipedrivev _ Salesforce› D Fields_ OpportunityMa_ OpportunitySy| 7 ProspectSearcIservice l raits© Clientlest.phg(c) DecorateActiv(c) DeleteObiects(c) Field Definition(C) GetActivityFiel(C) PayloadBuildeC) QueryBuilderTc) QueryHandler(c) Querylteratori(c) QueryResultstC PlaybookRepository.phpC ImportActivityTypes.php(C) Service.nhnC queryitandler iestpip/e1ose- 1tak in Close Dihers 19M- cuscom.loeC FieldRepository.phpAskJiminnykeportActivilyservice.onoC ReportControlsole EUl= laravel.logL SF (iminny@localhostHS_local fiminny@localhost)& console PROD X© JiminnyDebugCommand.phpe AutomatecRenortssendcommand.nno© AutomatedReportsCommand.phpC AutomatedReportsRepository.phpC AutomatedReporsserwice.org© CreateHeldActivityEvent.phpC TrackProviderInstalledEvent.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.php558© ActivityLogged.phpAutomatedReportsCallbackService.php© RequestGenerateAskJiminnyReportJob.phpC RequestGenerateReportJob.phpC AutomatedReportResult.php(C AutomatedReport.php<?phpdeclare(strict_types=1);namespace Tests Unit\Services \crm Salesforce:1561AV4AV504563564565566•use ...15 Dclass uuervianolerest extenos estuase17 D >public function testPrioritiseResults@: void...}49 D >public function testMetadatao: void..57657157257357470D >100 D >161162164165166111.681public function testQuerybeleted: vo1di...h576-577public function testQuery(: void{...}578T579pubLic tunction tescsearchacclon: voldi...s580-581s usaoes1582private function sampleQuervResults@: OuervResultsf...}583584s usaoes585private function getSampleQueryO: string586587return 'SELECl 1d, Datalype, DeveloperName, Label, Length, Description'588FRON F1eLdbefinition589ORDER BY LastModifled DESC'H5961usage1593private function getDeleteUrl(string $crm0bjectId): stringf...11731 usageprivate function getSearchUrl(string $soslQuery): stringf...}11/4178lusageprivate function getQueryUrl(string $soslQuery): string{...}595596597 /598599691private function getMetadataQueryUrl(string $soslQuery): string{...}16944 console [STAGING]C RequestGenerateAskJiminnyReportJobTest.phpTx: AutovHaycroundvliminnySELECT * FROM teams WHERE name LIKE '%Integrum ES6%* # 1126, 1065034 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.*Lowner 1o Frum socal accounts saJulr users u on u.l = sa.sociaole 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 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 opportunitles where 1d = 7594349SELFCT * FROM teams WHERF1%Les%'• # 711. 692. 160678-iiminnvintearationGlesmills.comselect * from nlavbooks where team id = 711• # event 226147SELECT * FROM plavbook categories WHERE plavbook id = 5515:SELECT * FROM crm fields WHEREIid = 226147:SELECT * FROM crm field valuesWHERE crm field id = 226147:SELECT * FROM crm_ confiqurations WHERE 1d = 692:CEECTCONCAT(u.id, CASE WHEN v.id = t.owner id THEN ' (owner)' ELSE •• END) AS user id.U.emall,sa.*towner 1d FROM soctal accounts saJOTN 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 =salestorce• Tech Day Review • in 57 mA100% zFri 17 Apr 16:03:12RequestGenerateAsk.JiminnvRenort.lobTestCascadeAutomated Renort Ret• Playbook Activity TyLyperozutbeveleveTTTTTtt +Durableld+losut/o4/event.ypevoLFieldDefinition' is not supported."where is tne issue+ ‹> CodeAdaptivesurtingWAsk anything (&+L)+ ‹› CodelAdaptiveck // Contigure... (29 minutes ago)W Windsurf Teams 165:22 UTF-8ia 4 spaces...
|
NULL
|
NULL
|
NULL
|
48795
|
|
PhpStormFileEditFV faVsco.jsProjectvViewNavigateCo PhpStormFileEditFV faVsco.jsProjectvViewNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny K vToolsWindowHelpD DealRisksMallboxUstreaming• TelephonyD User© ImportRecallAlRecon© SqsVisibilityControlT> C Listeners→ MaillModelsNotiticationsD Observers› MPoliciesM ProvidersRepositories› RulesServices› DJ Activity[ ActivityProviders• Avatar0 CalendarD Conferencev D Crm> M Bullhorn> D Close> MCopper>_ CrmObjects> D Helpers> D Hubspot> C IntegrationApp> D Listeners› C Pipedrivev D Salesforce> C Fields> D OpportunityMa› D OpportunitySy> M7 ProspectSearc› ServiceTraits© ClientTest.php© DecorateActiv© DeleteObjects© FieldDefinition© GetActivityFielE PayloadBuildeP QueryBuilderTC QueryHandler*© QuerylteratorT(c) @uervResultsT(c) ServiceTest.oh© SyncBatchRed© BaseServiceTest.© CachedCrmServis© CrmActivityServic© CrmConfiguration© CrmObjectsResolC DefaultProspectsEmailHelper Test./C FieldValueConver© PlaybookRepository.phpImponAcuivily lypes.onp© Service.php© AskJiminnyReportActivityService.phpc keporicontroller.ono© 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.php© RequestGenerateReportJob.phpc) Automated keponkesuivonoclass ImportActivitxIxRes implements ShouldQueuepublic function handle(PlaybookCreated $event): void$playbook = $event->playbook;558© RequestGenerateAskJiminnyReportJob.php559© AutomatedReport.php156142 л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()):5774957857951/** @var stdClass{label: string} $value */foreach ($values as $value) {$data = ['name' => $value->label,'enabled'=> true,Iyoe" →ravoookLaredor..rE ALLA580581582-58.45845851: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;1593594595фchis->reposicory->creace(,playdook, sdaca);597vlusaeeprivate function fetchActivityFieldValues(Field $field): Collection/** @var Collection<FieldValue> */return $this->fieldRepository->getPicklistValves($field);599600601602603604605607worksoace associated with branch Jy-los0g-automared-repors-ask-innny' has been restored // Rollback // Configure... (29 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,Sa jiminny ~034 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 opportunitles where 1d = 7594349SELECT * FROM teams WHEREname LTKF'%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_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE u.team_id = 711 and sa.provider ="salesfonce' :f Tech Day Review - in 57 mA100% C•Fri 17 Apr 16:03:15RequestGenerateAsk.JiminnvRenort.lobTestCascadeAutomated Report Reti© Playbook Activity Ty+losut/o4/event.ypevoLFieldDefinition' is not supported.","errorCode": "INVALID TYPE'where is tne issue+ <> CodeS AdaptiveSalling...LyperozutbeveleveTTTTTtt+ DurableldwAsk anything (24L)+ ‹› Codel§ AdaptiveW Windsurf Teams 61:14 UTF-8f 4 spaces...
|
NULL
|
NULL
|
NULL
|
48797
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelp• Tech Day Review • in 57 mAAPP (-zsh)X4-zsh• ₴5* Review screenp...• 286DOCKER• ₴1DEV (docker)APP (-zsh)X3-zshChanges 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:03:151₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48798
|
|
PhpStormFileFditViewNavigateCodelaravelRetactonToo PhpStormFileFditViewNavigateCodelaravelRetactonToolsWindowHelpFV faVsco.s v#11894 on JY-18909-automated-reports-ask-iminny K vProject vv J CrmBootstrapintegration© ImportActivityTypes.(©) ImportMetadata.php(© InitProfiles.php© LayoutModifiedListe© LayoutupdatedListelCo RematchActivityone© Resolveowner.php© SyncOpportunity.phg© SyncProfileLeads.ph(C) SyncProfileOpportun>_ DealRisksElasticSearchU Groups_ ImportMailboyNudges• OpportunitiesM PlavbooksM Plavlists> MTeamsTranscription>_ Users>_Webhook=.gitkeepC) ChangeLogContextCor• D Mailv Models> Activity> MAi> DAskAnything> M Calendar> M Connection> _ Contracts>DCrmElasticSearchFeature_ Opportunity_ Participant_ Playback IhemeM PlavlistM Scorecard>MWebhookC) Account.oho© Activity.phpC Address.php(C) AiPrompt.phpC AutomatedReport.phpC) AutomatedReportResullC) Calendar.php© Callimport.php© CoachingFeedback.php© CoachingFeedbackVisitC) CoachingSection.phpC) CoachinaSectionCriterk‹C CoachingSectionCriteri‹C) CoachingSectionFeedbC CommentAbstract.phpC PlaybookRepository.phpC ImportActivityTypes.php(C) Service.phpC FieldRepository.php= custom.log= laravel.logL SF (iminny@localhostHS_local fiminny@localhost)& console PROD XC AskJiminnyReportActivityService.phpC ReportController.phpC JiminnyDebugCommand.php< console LUl© AutomatedReportsSendCommand.php© AutomatedReportsCommand.phpC AutomatedReportsRepository.phpC AutomatedReporsserwice.org© CreateHeldActivityEvent.phpC TrackProviderInstalledEvent.php© CreateActivityLoqgedEvent.phpC UserPilotActivityListener.php© RequestGenerateAskJiminnyReportJob.php558© ActivityLogged.php© AutomatedReportsCallbackService.phpC RequestGenerateReportJob.php(C AutomatedReportResult.php(C AutomatedReport.php1561class Service extends BaseService implements415 415^V504321 0>pubLlc Tunccion cecueacinstonusrlelas. arraya...r563325564s usaees565326private function isCustomField(Field Sfield): booli...h566330331/**568332* Ihis one is now called only when ImportActivitylypes is triggered or syncriel 569333* Regular sync now uses sharedsynchielastralt -›> syncsingleudyectlype—57€* Neeos o de renticed uurer on555=571336 CIououc tuncmon syncrelourel nmeloy. vola573557558try t|973339if ($this->isCustomField($field)) {5/70340Squery =577341SFIFCT3421d, Metadata, Tabletnumorid5781701343FROM580344cuscomFleld345WHEKE=581346582Vevelovername = Tlelovane347583ATMIL348584colecnunurio = nelolvoe349AND585350NamespacePrefix = :namespacePrefix':351587352588// We need to constrain the field lookup to the object, in case it 3 589353$objectType = \in_array($field->object_type, [Field::0BJECT_TASK, Fisoe354?'activity'355'srleld->oblect tvne.5923561593$sfFields = $this->queryHandler->metadata($query, [594358'fieldName'=> substr($field->crm_provider_id,offset: 0, -\strler 595359'fieldTvoe' => ucfirst(SobiectTvoe).-596366597 /361// This is used to ensure we only consider the field within the 598362namespacePrefix' = 'null',3631):599364691365// There is always 1 result at this point.366$sfField = $sfFields->currentO:367=603368/ sync tleld metadata,369$metadata = $sfField['Metadata']:371Sfield->description = mb strinwidthd string: Smetadatal 'description' ?372$field->label = mb_ strimwidth string: $metadatal'label'] ??373Sfield->type = Sthis->convertFieldTypeSmetadata'type').Sfield->ge374Sfield->is mandatory = Smetadata'required' === true):375$field->Length = $metadatal'Length'Jinny nas been restorea // kollback // contigure... (2g minutes ago)4 console [STAGING]C RequestGenerateAskJiminnyReportJobTest.phpTx: AutovHaycroundvliminnySELECT * 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 = 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.*Lowner 1o Frum socal accounts saJulr users u on u.l = sa.sociaole 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 opportunitles where 1d = 7594349SELFCT * FROM teams WHEREI1%Les%'• # 711. 692. 160678-iiminnvintearationflesmills.comselect * from nlavbooks where team id = 711• # event 226147SELECT * FROM plavbook categories WHERE plavbook id = 5515:SELECT * FROM crm fields WHERE id = 226147:SELECT * FROM crm field values•WHERE crm field id = 226147:SELECT * FROM crm_confiqurations WHERE 1d = 6921CEECTU.emall,sa.*towner 1d FROM soctal accounts saJOTN users u on u.id = sa.sociable idCONCAT(u.id, CASE WHEN V.id = t.owner_id THEN ' (owner)' ELSE !• END) AS user id.WHERE U.team id = 711 and sa.provider =salestorce• Tech Day Review • in 57 mA100% 1Z7Fri 17 Apr 16:03:17RequestGenerateAsk.JiminnvRenort.lobTestCascadeAutomated Report RetPlaybook Activity TyLyperozutbeveleveTTTTTtt +Durableld+losut/o4/event.ypevoLFieldDefinition' is not supported."where is tne issue+ ‹> CodeAdaptiveSalling.WAsk anything (&+L)+ ‹› CodelAdaptiveW Windsurf Teams 386:1 UTF-8ia 4 spaces...
|
NULL
|
NULL
|
NULL
|
48799
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelp• Tech Day Review • in 57 mAAPP (-zsh)X4-zsh• ₴5* Review screenp...• 286DOCKER• ₴1DEV (docker)APP (-zsh)X3-zshChanges 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:03:191₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48800
|
|
PostmanFileEditViewWindow8 Salesforce vHelpQ Searc PostmanFileEditViewWindow8 Salesforce vHelpQ SearchCOLLECTIONS> Amazon Connect›Amazon connec cooy› AWS• salesrorce> DUIV D USEFUL> D Auth› D Business Process> D SyncGET GET OPP by Ownerder ceask or link le lask lor comoanvGET Get related EventGer odec cescrioeGET get validation rulesder oel valioationkuleGET {{url)}/services/data/v46.0/search/?q=FIND {"[PHONE]") ...del riele verinitionGEr get standard field definition› NotesGET QUERYGET SEARCHder saestorce soel vuolicaeGET Salesforce Get RecerdlGer salestorce cet kecora DuolicaleGET Salesforce Create Recorddel salestorce vet kecora MelaedlaGET Salesforce Get Custom Field MetadataGET Salesforce SOQLGET Salesforce SOQL DuplicateGET Salesforce SOQL Duplicate (2)der saestorce sosGET object describeParch uocale odiecGET get forecast category queryGer st url services dala vou.ouser meGET OrganizationGET Get Organization IDGET get object deleteddET Object PermissionsGET custom tield› SalesloftPxantha OverviewGET Salesforce Get ReccGET Salestorce Get Reco •GET QUERYNIIP https://lesmills.my.salesforce.com/services/data/v50.0/tooling/query/https://lesmills.my.salesforce.com/services/data/v50.0/tooling/query/?q=%0A+= DocsraramseHeaders 9BodyserlotsSettingsAuth TypeBearer TokenTokenIne aucnorization neader will be automatically generated wnen yousend the request. Learn more about Bearer Token authorization.GET QUERYGET Salesforce Get RecoGET aet obiect deleted •GET Kur'/services/dataGET httos:esmills.mv.sa+l0wzu+Dalalvpe%ze-DeveloeerName%zutLaoel%zo+Lenetn%zu+DescrlpulonzUA++++++++++hiil: Tech Day Review • in 56 mASalestorceve SaveShare |gSendCookiecVariables in requestE token› All variables*, AI100% CS•Fri 17 Apr 16:04:15invite00D900000001USz AOZAOKRITO....Loken)BodyCaokias 21HeadersoTest ResultsTY JSON v• Preview & Debug with Al"message": "sObject type 'FieldDefinition' is not supported.","errorCode": "INVALID_TYPE"400 Bad Request • 702 ms • 469 B • à/ ...5 =Q08ENVIRONMENIS>SPECS>ELOWSE Connect Git E Console- lermina.Globals Vault Tools &000...
|
NULL
|
NULL
|
NULL
|
48804
|
|
PhpStormFileFditViewNavigateCodeLaravelRefactonToo PhpStormFileFditViewNavigateCodeLaravelRefactonToolsWindowHelpFV faVsco.js v#11894 on JY-18909-automated-reports-ask-iminny K vProject vC PlaybookRepository.phpC ImportActivityTypes.php(© Service.phpC FieldRepository.php= custom.log= laravel.logL SF (iminny@localhostHS_local fiminny@localhost)& console PROD X© SnapshotRepository.ph|C SocialAccountRepositorg stageRepository.phpsubscriptionsetkeposit(C TaskRepository.phpC) TeamAiContextReposit‹C) TeamDomainsRepositorC TeaminsightsRepositonC TeamRepository.phpC) ThemeRepository.phpC TimezoneRepository.phC TopicRepository.phpC TopicTriggerRepositoryg TrackRepository.php© TranscriptionModelLoc:C TranscriptionRepositoryC) TranscriptionSummarvEC UserRepository.phpC) VocabularvRepositorv.n> _ Rulesv _ Services>_ Activity>D AReportsM AvatarCalendarM ConferenceJermBullhornC AskJiminnyReportActivityService.phpC ReportController.phpC JiminnyDebugCommand.php< console EUi4 console [STAGING]C RequestGenerateAskJiminnyReportJobTest.php© AutomatedReportsSendCommand.php© AutomatedReportsCommand.phpC AutomatedReportsRepository.phpC AutomatedReporsserwice.org©) Create-eldActivityEvent.ongIx. Aulo vHaycroundvma iminny vSELECT * FROM teams WHERE name LIKE "%Integrum ES6%* # 1126, 1065,034 41434 X62 Aselect * from opportunitles where team_1d = 1126:C TrackProviderInstalledEvent.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.php558SELECT * FROM teams WHERE name LIKE "%Base%'; # 1125, 1063,) Activiv odded.nhn9 AutomatedReportsCallbackService.phpc) RequestGenerate.sk.liminnvRenor.lob.onnC RequestGenerateReportJob.phpC AutomatedReportResult.php(C AutomatedReport.phpseLect * troiopportunitles where team_1d = 1125;seLect * trom contacus c1561where c.team_1d = 802,504Field DerinitionCc Wclass service extenos baseservce inolenentsA19 A146 X3 X22 21 ^v 564SELECT * FROMacmumes YicKr 10 =/004470SELECT * FROM crm_ profiles WHERE user id = 15440:M Copper_ CrmObiects_ DecorateActivity→ Dummy• Helpers_ HubspotD IntegrationApp_ ListenersMeradatalD MigrationPibedriveM Salesforce› Fields> → OpportunityMatcl>→ OpportunitySync!> D ProspectSearchS>D ServiceTraits(©) Client.php(©) DecorateActivity.( Delete@biectsTra©FieldDerinitions.pC) PavloadBuilder.ohC) Profile.phpC) @uervBuilder.php(C) QueryHandler.phi(©) Querylterator.phg(C) QueryResults.php©) Service.php(©) SyncBatchRedisSJ Traits5503683693765/137237337437537637737938158438338538638738838959639139439339439539639739839940040140240540440540040/408public function syncField(Field $field): void/ sync tleld metadata,smetadata = +strielal Metadata"J:565SELECT * FROM crm_ profiles WHERE crm confiquration id = 555:566547568$field->description = mb_strimwidth( string: $metadata['description'] ?569Sfield->label = mb_ strimwidthe string: Smetadatal'label' ??startSfield->type = Sthis->convertFieldTypeSmetadata'type').$field->ge 571Sfield->is mandatory = Smetadata'required' === true):sfield->length = smetadatal'Length'J-572Sfield->default_value = mb_strimw1dth(tr1m( string: Smetadatal'defauLev574sfleld->saveO= 575f else {$query = 'JaLELTId. DataTvpe. DeveloperName. Label. Lenath. DescriptionFROMFieldDefinitionWnCKCSELECT * 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.*Lowner 1o Frum socal accounts saJulr users u on u.l = sa.sociaole 1oJuir reallls ton T.10 = U.teall l0lWHERE 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%Durableld = :entityName':582583select * from teams where id = 556;sentityName = Sfleld->getentityNameo;entityName' = sentityName,587select * 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;// Inere is always 1 resuut at chis point.SsfField = $sfFields->currento:590591— 592select * from opportunitles where 1d = 7594349SconvertedType = $this->convertFieldType($sfField'DataType', Senti 593Slabel = mb_strimwidth(SsfField'Label'..SELFCT * FROM teams WHEREI'%Les%'; # 711, 692, 16067ß - [EMAIL] * from nlavbooks where team id = 711• # event 2261475951f (Sfleld->1SBUS1nessType)Slabel = "Opportunity Type';=596597 v—599Sfield->descrintion = mb strinwidth($sfFieldf'Descrintion']lstart: 0400lorlelorylaoel = "ladel.=601Sfield->tvoe = SconvertedTvoe:_602Sfield->lenath = $sfFieldi'Lenath'1:Sfield->saveO:=604— 605catch NoResultsException $noResultsException ‹Nothing to sync607SELECT * FROM plavbook categories WHERE plavbook id = 5515:SELECT * FROM crm fields WHERE id = 226147:SELECT * FROM crm field values WHERE crm field id = 226147:SELECT * FROM crm_ confiqurations WHERE 1d = 692:CEECTsa.*WHERE u.team_id = 711 and sa.provider = 'salesforce':416411=2 usages4154171private tunction convertFieldType(string $from, ?string $entityName = null): strsel alalect is not conticuredTech Day Review • in 56 mA100% 145Fri 17 Apr 16:04:18RequestGenerateAskJiminnyReportJobTest vCascadeAutomated Report RetPlaybook Activity Type1 ..lNalllezozutlduelzozetlelgurosetbestlptolrohuttittttttttiiumzouttttntttecvelloroutttttittttt++W-ck/0A++++++++++*+++++++++DuraoeldT200U1204 syell.lyvezo4t"FieldDefinition" is not supported."errorCode". "NVAID TYDSwhere is the issue+ <> Code•Adaptivemougne lot 1sFound it. Tihis is the smoking aun.The Salesforce Tooling APl query for FieldDefinition is not supported in this Salesforce org. When syncFneld tries lo sync the standard Event. Type Tiela, it nits this error and throws an exception likely HttpbadRequestException or similar) - not NoResultsException .This kills the ImportActivityTypes queued listener before it ever gets to importPicklistValues() or theDb lallloack.The Bug Locationservice.onp:3/9-393 —the else branch for non-custom Tields.• php} else {$query = 'SELECTFROM1d, Datatype, DeveloperName, Label, Length, DescriptionFieldDefinitionWHEREDurableld = :entityName';$entityName = $field->getentityName(); // Returns "Event.Type'$stFields = $this->queryHandler->metadata($query, l'entitvName' => Senticynane,1);The queryHandler->metadata() calls the Tooling APl which returns INVALID TYPE error for FieldDefinitioWhy Dev Works but Prod Doesn'tDifferent Salesforce editions or permissions. The Les Mills org (prod) doesn't allow FieldDefinition•uerles Va loolne Ar, our vour cev oro coes,The Fixsyncrield only calches NoResultsException service.onp:408-416. IL neeas lo also calch APlexceptions tor the FieldDefinition query and gracetully skip metadata sync tor standard fields whenTooling APl isn't available.Ooronsir Aco oroacer exceot on nano lino un suncrieldl -calcn Httobadkequest Excention Aopu1cat zonexcelption around the FieldDefinition query and silently skip (field metadata stays as-is in DB)2. Fix the listener — wrap syncField call in try-catch so APl failures fall through to the DB fallbackGiven that crm_field_values already exist in your DB, option 1 is cleaner - the field metadata in DB isalreacy correct Trom dev sync.Want me to add the exceotion handlina to syncFieldo so this Salestorce limitation doesn't kill thecalegory importd 47Ask anything (&+L)+ ‹> Code•AdaptiveWwinasun leams3/9.L/uir-oCa 4 spaces...
|
NULL
|
NULL
|
NULL
|
48805
|
|
PhpStormFileFditViewNavigateCodeLaravelRetactonToo PhpStormFileFditViewNavigateCodeLaravelRetactonToolsWindowHelpFV faVsco.js v#11894 on JY-18909-automated-reports-ask-iminny K vProject vC PlaybookRepository.phpC ImportActivityTypes.phpC Service.phpC) FieldRepository.php= custom.log= laravel.logd SF (iminny@localhostHS_local fiminny@localhost)& console PROD X© SnapshotRepository.ph|C SocialAccountRepositorg stageRepository.phpsubscriptionsetkeposit(C TaskRepository.phpC) TeamAiContextReposit‹C) TeamDomainsRepositorC TeaminsightsRepositonC TeamRepository.phpC) ThemeRepository.php© TimezoneRepository.phC TopicRepository.phpC TopicTriggerRepositoryg TrackRepository.php© TranscriptionModelLoc:C TranscriptionRepositoryC) TranscriptionSummarvEC UserRepository.phpC) VocabularvRepositorv.n> _ Rulesv _ Services>_ Activity>D AReportsM AvatarCalendarM ConferenceJermBullhornC AskJiminnyReportActivityService.phpC ReportController.phpC JiminnyDebugCommand.php< console LUl4 console [STAGINGC RequestGenerateAskJiminnyReportJobTest.php© AutomatedReportsSendCommand.php© AutomatedReportsCommand.phpC AutomatedReportsRepository.phpC AutomatedReporsserwice.org©) Create-eldActivityEvent.ongTx: AutovHaycroundvMa lminny vSELECT * FROM teams WHERE name LIKE "%Integrum ES6%* # 1126, 1065,034 A1 A34 V 62 ^select * from opportunitles where team_1d = 1126:C TrackProviderInstalledEvent.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.php558SELECT * FROM teams WHERE name LIKE "%Base%'; # 1125, 1063,) Activiv odded.nhn9 AutomatedReportsCallbackService.phpe) RequestGenerate.sk.liminnvRenor.ob.onnC RequestGenerateReportJob.phpC AutomatedReportResult.php(C AutomatedReport.phpseLect * troiopportunitles where team_1d = 1125;seLect * trom contacus c1561where c.team_1d = 8021504Fie d DerinitionCc Wclass service extenos baseservce inolenentsA19 A146 V3 V22 21 ^v 564SELECT * FROMacmumes YicKr 10 =/004470SELECT * FROM crm_ profiles WHERE user id = 15440:5503683693765/1372373374375376377public function syncField(Field $field): void/ sync tleld metadata,$metadata = $sfField[ 'Metadata']:565SELECT * FROM crm profiles WHERE crm confiquration id = 555:566SELECT * FROM crm_confiqurations WHERE 1d = 5551547568$field->description = mb_strimwidth( string: $metadata['description'] ?569Sfield->label = mb_ strimwidthe string: Smetadatal'label' ??"".startSfield->type = Sthis->convertFieldTypeSmetadata'type').$field->ge 571Sfield->is mandatory = Smetadata'required' === true):sfield->length = smetadatal'Length'J-572Sf1eld->default_value = mb_strimw1dth(tr1m( string: $metadatal'defauLe574sfleld->saveO= 575f else {$query = 'JaLELTId. DataTvpe. DeveloperName. Label. Lenath. DescriptionFROMFieldDefinitionWnCKCSELECT * FROM users WHERE id = 15440; # team.581, gr. 15440, pl.3911, act. field 162182SELECTu.emall,Sal.*CONCAT(U.1d, CASE WHEN U.1d = t.owner_1d THEN' (owner)' ELSE'' END) AS User_1d,Towner 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 = 'salesforce' :SELECT * FROM automated_report_results order by id desc;select * from featuresiselect * from team_features where feature_1d = 40%582583select * from teams where id = 556;M CopperL cmoo ects_ DecorateActivity→ Dummy• Helpers_ HubspotD IntegrationApp_ ListenersMeradatalD MigrationPibedriveM Salesforce› Fields> → OpportunityMatcl>→ OpportunitySync!> D ProspectSearchS>D ServiceTraits(©) Client.php(©) DecorateActivity.( Delete@biectsTra©FieldDerinitions.pC) PavloadBuilder.ohC) Profile.phpC) @uervBuilder.php(C) QueryHandler.phi(©) Querylterator.phg(C) QueryResults.php©) Service.php(©) SyncBatchRedisSJ Traits37938158438338538638738838959639139439339439539639739839940040140240540440540040/408Durableld = :entityName':sentityName = Sfleld->getentityNameo;entityName' = sentityName,587select * 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;// Inere is always 1 resuut at chis point.SsfField = $sfFields->currento:590591— 592select * from opportunitles where 1d = 7594349SconvertedType = sthis->convertFieldType$sfField'DataType', Senti 593Slabel = mb_strimwidth(SsfField'Label'..SELFCT * FROM teams WHEREI1%Les%'• # 711. 692 160678- iiminnvintearation0lesmills.comselect * from nlavbooks where team id = 711• # event 2261475951f (Sfleld->1SBUS1nessType)Slabel = "Opportunity Type';=596597 v—599Sfield->descrintion = mb strimwidth(SsfFieldf'Descrintion']lstart: 0400lorlelor>laoel = "ladela=601Sfield->tvoe = SconvertedTvoe:_602Sfield->lenath = $sfFieldi'Lenath'1:Sfield->saveO:=604— 605catch (NoResultsException SnoResultsException ‹Nothing to sync607SELECT * FROM plavbook categories WHERE plavbook id = 5515:SELECT * FROM crm fields WHERE id = 226147:SELECT * FROM crm field values WHERE crm field id = 226147:SELECT * FROM crm_ confiqurations WHERE 1d = 692:CEECTsa.*WHERE U.team_id = 711 and sa.provider = 'salesforce':416411=2 usages4154171private tunction convertFieldType(string $from, ?string $entityName = null): strsel alalect is not conticuredTech Day Review • in 56 m100% 145Fri 17 Apr 16:04:31RequestGenerateAskJiminnyReportJobTest vCascadeAutomated Report RetPlaybook Activity Type+D ..ttt+ Durableld+losut/o4/event.ypevos"sObject type 'FieldDefinition' is not supported."errorcoce". "INVALID TPE"1 where is the issuenoucnttroune t inis is the smokine cun.The Salestorce Tooling AP query tor Fielddefinition Is not supported in this salestorce oro, When svncaield() tries to sync the standard Event.Type field, it hits this error and throws an exception (likely HttpBadRequest xception or similar — not NoresultsException .This Kills the ImportActivitylypes queued listener betore it ever gets to importPicklistValues() or thebR talllbackTne bug LocationService.php:379-393—the else branch for non-custom fields:U php•else {$query ='SELECTFROMId, DataType, DeveloperName, Label, Length, Descriptionrle loberin1r10nWHERFDurableld = :entityName';$entityName = $field->qetEntityName0: // Returns "Event.Type"$sfFields = $this->queryHandler→>metadata($query. 0'entityName' = SentityName,J0Hne querviand ler->metadatao calls the o0ine Ar Wnich rerurns InvauD Type errortor FieldDerin1t1oWhy Dev Works but Prod Doesn'tDifterent Salestorce editions or permissions. The Les Mills org (prod) doesn't allow FieldDefinitionouerles via looling Ar, out your dev org does.The FiXsyncField( only catches NoResultsException (Service. php:408-410). It needs to also catch APIexceotions tor the Fielddefinition querv ano oracetuliv skio metadata sunc for standaro tie ds whenTooling APl isn't available.eotions:1. Add broader exception handling in syncField - catch HttpBadRequestException / ApplicationException around the FieldDefinition query and silently skip (field metadata stays as-is in DB)2. Fix the listener — wrap syncField() call in try-catch so APl failures fall through to the DB fallbackGiven that crm field values already exist in vour DB, option 1 is cleaner — the field metadata in DB isalready correct trom dev sync.Wantme lo ade tne exceetion nanaline lo syncriela so tnis salestorce limitation doesn't kill tnecalecorv imoonkAsk anything (*+L)+ ‹> Code•Adaptivewwinasun leams3/9:2/uir-oCa 4 spaces...
|
NULL
|
NULL
|
NULL
|
48809
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpla6lTech Day Review - in 56 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:04:341₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48810
|
|
PhpStormFileFditViewNavigateCodeLaravelRetactonToo PhpStormFileFditViewNavigateCodeLaravelRetactonToolsWindowHelpFV faVsco.js v#11894 on JY-18909-automated-reports-ask-iminny K vProject vC PlaybookRepository.phpC ImportActivityTypes.phpC Service.phpC) FieldRepository.php= custom.log= laravel.logL SF (iminny@localhostHS_local fiminny@localhost)& console PROD X© SnapshotRepository.ph|C SocialAccountRepositorg stageRepository.phpsubscriptionsetkeposit(C TaskRepository.phpC) TeamAiContextReposit‹C) TeamDomainsRepositorC TeaminsightsRepositonC TeamRepository.phpC) ThemeRepository.php© TimezoneRepository.phC TopicRepository.phpC TopicTriggerRepositoryg TrackRepository.php© TranscriptionModelLoc:C TranscriptionRepositoryC) TranscriptionSummarvEC UserRepository.phpC) VocabularvRepositorv.n> _ Rulesv _ Services>_ Activity>D AReportsM AvatarCalendarM ConferenceJermBullhornC AskJiminnyReportActivityService.phpC ReportController.phpC JiminnyDebugCommand.php< console LUl4 console [STAGINGC RequestGenerateAskJiminnyReportJobTest.php© AutomatedReportsSendCommand.php© AutomatedReportsCommand.phpC AutomatedReportsRepository.phpC AutomatedReporsserwice.org©) Create-eldActivityEvent.ongTx: Auto vHaycroundvMa lminny vSELECT * FROM teams WHERE name LIKE "%Integrum ES6%* # 1126, 1065,034 A1 A34 V 62 ^select * from opportunitles where team_1d = 1126:C TrackProviderInstalledEvent.php(c CrealeAcuivilyLoccedbvent.onoC UserPilotActivityListener.php558SELECT * FROM teams WHERE name LIKE "%Base%'; # 1125, 1063,) Activiv odded.nhn9 AutomatedReportsCallbackService.phpc) RequestGenerate.sk.liminnvRenor.lob.onnC RequestGenerateReportJob.phpC AutomatedReportResult.php(C AutomatedReport.phpseLect * troiopportunitles where team_1d = 1125;seLect * trom contacus c1561where c.team_1d = 8021504Fie d DerinitionCc Wclass service extenos baseservce inolenentsA19 A146 V 3 V 22 21 ^v 564SELECT * FROMacmumes YicKr 10 =/004470SELECT * FROM crm_ profiles WHERE user id = 15440:5503683693765/1372373374375376377public function syncField(Field $field): void/ sync tleld metadata,$metadata = $sfField[ 'Metadata']:565SELECT * FROM crm_ profiles WHERE crm confiquration id = 555:566SELECT * FROM crm_confiqurations WHERE 1d = 5551547568$field->description = mb_strimwidth( string: $metadata['description'] ?569Sfield->label = mb_ strimwidthe string: Smetadatal'label' ??"".startSfield->type = Sthis->convertFieldTypeSmetadata'type').$field->ge 571Sfield->is mandatory = Smetadatal'required' === true):sfield->length = smetadatal'Length'J-572Sf1eld->default_value = mb_strimw1dth(tr1m( string: $metadatal'defauLe574sfleld->saveO= 575f else {$query = 'JaLELTId. DataTvpe. DeveloperName. Label. Lenath. DescriptionFROMFieldDefinitionWnCKCSELECT * FROM users WHERE id = 15440; # team.581, gr. 15440, pl.3911, act. field 162182SELECTU.email,Sal.*CONCAT(U.1d, CASE WHEN U.1d = t.owner_1d THEN' (owner)' ELSE'' END) AS User_1d,Towner 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 = 'salesforce':SELECT * FROM automated_report_results order by id desc;select * from featuresiselect * from team_features where feature_1d = 40%582583select * from teams where id = 556;M CopperL cmoo ects_ DecorateActivity→ Dummy• Helpers_ HubspotD IntegrationApp_ ListenersMeradatalD MigrationPibedriveM Salesforce› Fields> → OpportunityMatcl>→ OpportunitySync!> D ProspectSearchS>D ServiceTraits(©) Client.php(©) DecorateActivity.( Delete@biectsTra©FieldDerinitions.pC) PavloadBuilder.ohC) Profile.phpC) @uervBuilder.php(C) QueryHandler.phi(©) Querylterator.phg(C) QueryResults.php©) Service.php(©) SyncBatchRedisSJ Traits37938158438338538638738838959639139439339439539639739839940040140240540440540040/408Durableld = :entityName':sentityName = Sfleld->getentityNameo;entityName' = sentityName,587select * 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;// Inere is always 1 resuut at chis point.SsfField = $sfFields->currento:590591— 592select * from opportunitles where 1d = 7594349SconvertedType = sthis->convertFieldType$sfField'DataType', Senti 593Slabel = mb_strimwidth(SsfField'Label'..SELFCT * FROM teams WHEREI1%Les%'• # 711. 692. 160678-iiminnvintearationflesmills.comselect * from nlavbooks where team id = 711• # event 2261475951f (Sfleld->1SBUS1nessType)Slabel = "Opportunity Type';=596597 v—599Sfield->descrintion = nb strinwidth(SsfFieldf'Descrintion']lstart: 0400lorlelorylaoel = "ladel.=601Sfield->tvoe = SconvertedTvoe:_602Sfield->lenath = $sfFieldi'Lenath']:Sfield->saveO:=604— 605catch (NoResultsException SnoResultsException ‹Nothing to sync607SELECT * FROM plavbook categories WHERE plavbook id = 5515:SELECT * FROM crm fields WHERE id = 226147:SELECT * FROM crm field values WHERE crm field id = 226147:SELECT * FROM crm_ confiqurations WHERE 1d = 692:CEECTsa.*WHERE u.team_id = 711 and sa.provider = 'salesforce':416411=2 usages4154171private tunction convertFieldType(string $from, ?string $entityName = null): strsel alalect is not conticuredTech Day Review • in 56 m100% 145Fri 17 Apr 16:04:34RequestGenerateAskJiminnyReportJobTest vCascadeAutomated Report RetPlaybook Activity Type+D ..ttt+ Durableld+losut/o4/event.ypevos"sObject type 'FieldDefinition' is not supported."errorcoce". "INVALID TPE"1 where is the issuenoucntronroune lt: inis is tne smokine eun.The Salestorce Tooling AP query tor Fielddefinition Is not supported in this salestorce oro, When svncaield() tries to svnc the standard Event.Tvoe field, it hits this error and throws an exception (likelv HttoBadRequapp/Listeners/Crm/ImportActivityLypes.phPuttsExceptionapp/Services/Crm/Salesforce/Service.phpThis Kills the ImportActivitylypes queued listener betore it ever gets to importPicklistValues() or theDB fallback.Tne bug LocationService.php:379-393—the else branch for non-custom fields:U php•else {$query ='SELECTFROMId, DataType, DeveloperName, Label, Length, Descriptionrle loberin1r10nWHERFDurableld = :entityName';$entityName = $field->qetEntityName0: // Returns "Event.Type"$sfFields = $this->queryHandler→>metadata($query. 0'entityName' = SentityName,J0Hne querviand ler->metadatao calls the o0ine Ar Wnich rerurns InvauD Type errortor FieldDerin1t1oWhy Dev Works but Prod Doesn'tDifterent Salestorce editions or permissions. The Les Mills org (prod) doesn't allow FieldDefinitionouerles via looling Ar, out your dev org does.The FiXsyncField( only catches NoResultsException (Service. php:408-410). It needs to also catch APIexceotions tor the Fielddefinition querv ano oracetuliv skio metadata sunc for standaro tie ds whenTooling APl isn't available.eotions:1. Add broader exception handling in syncField - catch HttpBadRequestException / ApplicationException around the FieldDefinition query and silently skip (field metadata stays as-is in DB)2. Fix the listener — wrap syncField() call in try-catch so APl failures fall through to the DB fallbackGiven that crm field values already exist in vour DB, option 1 is cleaner — the field metadata in DB isalready correct trom dev sync.Wantme lo ade tne exceetion nanaline lo syncriela so tnis salestorce limitation doesn't kill tnecalecorv imoonkAsk anything (*+L)+ ‹> Code•Adaptivewwinasun leams3/9:2/uir-oCa 4 spaces...
|
NULL
|
NULL
|
NULL
|
48811
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpla6lTech Day Review - in 56 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:04:431₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48814
|
|
PhpStormFileEditViewNavigateCodeLaravelRefactorFV PhpStormFileEditViewNavigateCodeLaravelRefactorFV faVsco.js v#11894 on JY-18909-automated-reports-ask-iminny K vProjectvToolsWindowHelp© SnapshotRepository.ph||© SocialAccountRepositor© StageRepository.php© SubscriptionSetRepositTaskRepository.php© TeamAiContextRepositcC) TeamDomainsRepositorC TeaminsightsRepositon© TeamRepository.php© ThemeRepository.php©TimezoneRepository.ph© TopicRepository.php© ТорiсTriggerRepository© TrackRepository.php© TranscriptionModelLoc:© TranscriptionRepository© TranscriptionSummaryFl© UserRepository.php© VocabularyRepository.p> D Rulesv D Services> D Activity> C AjReports> DJ Avatar(J CalendarD ConferenceD CrmBullhorn• Copper• CrmObjectsD DecorateActivityD DummyC Helpers• Hubspot[ IntegrationApp• ListenersMeradatalMigrationPibedriveM Salesforce> D Fields> → OpportunityMatcl> D OpportunitySync!> D ProspectSearchS> D ServiceTraits© Client.php© DecorateActivity-* DeleteObjectsTra© FieldDefinitions.p© PayloadBuilder.pt© Profile.php© QueryBuilder.php© QueryHandler.ph|© Querylterator.php© QueryResults.php© Service.php© SyncBatchRedisSO Traits© PlaybookRepository.php© ImportActivityTypes.php© Service.php© FieldRepository.php© AskJiminnyReportActivityService.php© ReportController.php© JiminnyDebugCommand.php© AutomatedReportsSendCommand.php© AutomatedReportsCommand.php© AutomatedReportsRepository.php© AutomatedReportsService.phpC TrackProviderInstalledEvent.php(c CrealeAcuivilyLoccedbvent.ono© CreateHeldActivityEvent.phpC UserPilotActivityListener.phpE custom.log< console EUi© ActivityLogged.php© RequestGenerateReportJob.php© AutomatedReportsCallbackService.php© AutomatedReportResult.phpFieldDefinitionCc Wclass service extenos baseservce inolenents558© RequestGenerateAskJiminnyReportJob.php559© AutomatedReport.php1561A19 A146 V3 V22 21 ^ V 564419420421422423 đt v424425* Oinheritdaspublic function importPicklistValues(Field $field): array565566567568569$values = []:l$fieldValues = [];421try {if ($this->isCustomField($field)) {$query = '4304314324334544354364374384394404414424434444454404471d, Metadata, ladletnumurid5/70577578579FkUMLustonnteuoiWHCKEANDANDvevelopernale = .TleLaname582583TableEnum0rId = :fieldType584585NamespacePrefix = :namespacePrefix';586_587// We need to constrain the field lookup to the object, in case it= 588$objectType = \in_array($field->object_type, [Field::0BJECT_TASK,E: 589'accivity : prleLd->odject_сурe;451453454455456457458459460461462463464465406$sfFields = $this->queryHandLer->metadata($query, ['fieldName' => substr($field->crm_provider_id,offset: 0,-\str1gg593'fieldType' => ucfirst($objectType),594// This is used to ensure we only consider the field within the 595'namespacePrefix' = 'null',=5961):// There is always 1 result at this point.SsfField = SsfFields->currento:598.E599=600=601$valueSet = $sfField[ 'Metadata']['valueSet'];if ($valueSet['valueSetName'] === null) {// Local picklist values can be obtained easily.$picklistValues = $valueSet['valueSetDefinition']['valve'];} else {1/ But fon some fields, we just get the Global Value Picklist E$picklistValues = $this->importGlobalValuePicklistValues($values=603— 604=605noort aul acuve vawes.ny nas been restorea l/ kollback // contigure... (30 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 * FROMactivities WHERE id = 76822967;SELECT * 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.*t. owner_1d FruM soclal_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 WHERE'%Les%'; # 711, 692, 16067B - [EMAIL] * from nlavbooks where team id = 711•# event 226147SELECT * FROM playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm_fields WHERE 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 ='salesfonce' :Tech Day Review - in 56 mRequestGenerateAskJiminnyReportJobTest v100% 145Fri 17 Apr 16:04:43CascadeAutomated Report RetrPlaybook Activity Typedly perozutbevele vtwttt+ Durableld+losut/o4/event.ypevos"sObject type 'FieldDefinition' is not supported.",errorcoce". "INVALID TPE"] where is the issueThought foFound it! This is the smoking gun.The Salestorce Tooling AP query tor Fielddefinition Is not supported in this salestorce oro, When svncaield () tries to sync the standard Event. Type field, it hits this error and throws an exception (likely HttpBadRequest xception or similar — not NoresultsException .This kills the ImportActivityTypes queued listener before it ever gets to importPicklistValues() or theDB fallback.The Bug LocationService.php: 379-393 — the else branch for non-custom fields:0 phpj else {$query ='SELECTId, DataType, DeveloperName, Label, Length, DescriptionFROMrle loberin1r10nWHEREDurableId = :entityName';$entityName = $field->getEntityName(); // Returns "Event. Type"$sfFields = $this->queryHandler→>metadata($query. 0'entityName' => $entityName,1):ne querviand ler->metadatao calls the o0ine Ar Wnich rerurns InvauD Type errortor FieldDerin1t1oWhy Dev Works but Prod Doesn'tDifferent Salesforce editions or permissions. The Les Mills org (prod) doesn't allow FieldDefinitionouerles via looling Ar, out your dev org does.The FixsyncField( only catches NoResultsException (Service. php:408-410). It needs to also catch APIexceptions for the FieldDefinition query and gracefully skip metadata sync for standard fields whenTooling APl isn't available.eotions:1. Ado broader exception hanaling in syncrield - calch HttpbadRequest xception App licationexception around the FieldDefinition query and silently skip (field metadata stays as-is in DB)2. Fix the listener — wrap syncField() call in try-catch so API failures fall through to the DB fallbackGiven that crm field values already exist in vour DB, option 1 is cleaner — the field metadata in DB isalready correct from dev sync.Wantme lo ade tne exceetion nanaline lo syncriela so tnis salestorce limitation doesn't kill tnecalecorv imoonkAsk anything (24L)+ <> CodeS AdaptiveWinasun lean420:22uir-o( 4 spaces...
|
NULL
|
NULL
|
NULL
|
48815
|
|
PhpStormFileEditViewNavigateCodeLaravelRefactorFV PhpStormFileEditViewNavigateCodeLaravelRefactorFV faVsco.js v#11894 on JY-18909-automated-reports-ask-iminny K vProjectvToolsWindowHelp© SnapshotRepository.ph||© SocialAccountRepositor© StageRepository.php© SubscriptionSetRepositTaskRepository.php© TeamAiContextRepositcC) TeamDomainsRepositor© TeamInsightsRepository© TeamRepository.php© ThemeRepository.php©TimezoneRepository.ph© TopicRepository.php© TорicTriggerRepository© TrackRepository.php© TranscriptionModelLoc:© TranscriptionRepository© TranscriptionSummaryFl© UserRepository.php© VocabularyRepository.p> D Rulesv D Services> D Activity> C AjReports> D AvatarC CalendarD ConferenceD CrmBullhorn• Copper• CrmObjectsD DecorateActivityD DummyC Helpers• Hubspot[ IntegrationApp• ListenersMeradatalMigrationPibedriveM Salesforce> D Fields> → OpportunityMatcl> D OpportunitySync!> D ProspectSearchS> D ServiceTraits© Client.php© DecorateActivity-* DeleteObjectsTra© FieldDefinitions.p© PayloadBuilder.pt© Profile.php© QueryBuilder.php© QueryHandler.ph|© Querylterator.php© QueryResults.php© Service.php© SyncBatchRedisSO Traits© PlaybookRepository.php© ImportActivityTypes.php© Service.php x© FieldRepository.php© AskJiminnyReportActivityService.php© ReportController.php© JiminnyDebugCommand.php© AutomatedReportsSendCommand.php© AutomatedReportsCommand.php© AutomatedReportsRepository.php© AutomatedReportsService.phpC TrackProviderInstalledEvent.php(c CrealeAcuivilyLoccedbvent.ono© CreateHeldActivityEvent.phpC UserPilotActivityListener.phpE custom.log< console LUl© ActivityLogged.php© RequestGenerateReportJob.php© AutomatedReportsCallbackService.php© AutomatedReportResult.phpFieldDefinitionCc Wclass service extenos baseservce inolenents558© RequestGenerateAskJiminnyReportJob.php559© AutomatedReport.php1561419420421422423 đt v424425421484485486487488491492470494495496497498499500501A19 A146 V 3 V22 21 ^v 564565566* Oinheritdas567568public function importPicklistValues(Field $field): array569570$values = []:l$fieldValues = [];=571572—5/3try {E574if ($this->isCustomField($field)) {...} else {$objectFields = $this->getObjectFields(Sfield->object_type);575.= 576$fieldId = $field->crm_provider_id;5772578// Only work with our field of interest.579sobjectfleld = anray.fatten (Sobjectf2eld8, function (siten) use ($5en$objectField = array_shift( &array: $objectField);582if (empty($objectField['picklistValues']) === false) {158.4foreach ($objectField['picklistValues'] as $i => $sfFieldValue)584// Skip inactive values.—585if ($sfFieldValue['active'] === false) {continue;ПИШІ|ІІІIL588// Setup default value.if ($sfFieldValue['defaultValue'l) {$field->update(['default_value' => $sfFieldValue[' valu503504505_594508509510511512513514515516517518519520521522$values [] = ['value'=> $sfFieldValue['value'],'Label' => $sfFieldValve['label'],'sequence' →> $i,'is_default' => $sfFieldValue[ 'defaultValue'],- 596597 vE598=599=600-601=602_603=604$fieldsToPurge = $field->values()->get()->pluck('value') ->toArray();605foreach ($values as $value) {$value['value'] = substr( string: $value['value'] ?? "'offset: 0,$fieldValues[] = $field->values()->update0rCreate(['value' => $value[ 'value'],1, $value);≥607Workspace associated with branch 'JY-18909-automated-reporack // Configure... (30 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.*t. owner_1d FruM soclal_accounts saJulr users u on u.l = sa.sociaote 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 WHERE name LIKE "%Les%'; # 711, 692, 16067B - [EMAIL] * from playbooks where team_id = 711; # event 226147SELECT * FROM1 playbook_categories WHERE playbook_id = 5515;SELECT * FROM crm_fields WHEREid = 226147;SELECT * FROM crm_field_valuesWHERE 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.emall,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_10WHERE u.team_id = 711 and sa.provider = 'salesforce':Tech Day Review - in 56 mRequestGenerateAskJiminnyReportJobTest v100% 145Fri 17 Apr 16:04:45CascadeAutomated Report RetrPlaybook Activity Typedly perozutvevelevtwttt+ Durableld+losut/o4/event.ypevos"sObject type 'FieldDefinition' is not supported.",errorcoce". "INVALID TPE"] where is the issueThought foFound it! This is the smoking gun.The Salestorce Tooling AP query tor Fielddefinition Is not supported in this salestorce oro, When svncaield () tries to sync the standard Event. Type field, it hits this error and throws an exception (likely HttpBadRequest xception or similar — not NoresultsException .This kills the ImportActivityTypes queued listener before it ever gets to importPicklistValues() or theDB fallback.The Bug LocationService.php: 379-393 — the else branch for non-custom fields:0 phpj else {$query ='SELECTId, DataType, DeveloperName, Label, Length, DescriptionFROMrle loberin1r10nWHEREDurableId = :entityName';$entityName = $field->getEntityName(); // Returns "Event. Type"$sfFields = $this->queryHandler→>metadata($query. 0'entityName' => $entityName,1):ne querviand ler->metadatao calls the o0ine Ar Wnich rerurns InvauD Type errortor FieldDerin1t1oWhy Dev Works but Prod Doesn'tDifferent Salesforce editions or permissions. The Les Mills org (prod) doesn't allow FieldDefinitionouerles via looling Ar, out your dev org does.The FixsyncField( only catches NoResultsException (Service. php:408-410). It needs to also catch APIexceptions for the FieldDefinition query and gracefully skip metadata sync for standard fields whenTooling APl isn't available.eotions:1. Ado broader exception hanaling in syncrield - calch HttpbadRequest xception App licationexception around the FieldDefinition query and silently skip (field metadata stays as-is in DB)2. Fix the listener — wrap syncField() call in try-catch so API failures fall through to the DB fallbackGiven that crm field values already exist in vour DB, option 1 is cleaner — the field metadata in DB isalready correct from dev sync.Wantme lo ade tne exceetion nanaline lo syncriela so tnis salestorce limitation doesn't kill tnecalecorv imoonkAsk anything (24L)+ <> CodeS AdaptiveWinasun lean420:22uir-o( 4 spaces...
|
NULL
|
NULL
|
NULL
|
48816
|
|
Term2ShellEditViewSessionScriptsProfilesWindowHelp Term2ShellEditViewSessionScriptsProfilesWindowHelpla6lTech Day Review - in 56 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:04:551₴81ec2-user@ip-10-...• 88APP...
|
NULL
|
NULL
|
NULL
|
48817
|