i2b2 Sponsored Project/s:
Developer Notes:
Code changes were done by Mike Mendis
Testing Notes:
verified the statuses are now updated correctly. When a query finishes running the BATCH_MODE is now set to FINISHED and the timeline will be automatically generated.
The BATCH_MODE in the QT_QUERY_INSTANCE table is not getting set to the correct status when a query finishes running. Currently it is getting set to PROCESSING and it should be FINISHED.
As a result the wrong status for the <batch_mode> is sent in the xml message that is returned to the client. If the result type of TIMELINE is checked when running a query the client will automatically generate the timeline when the query has finished running. The workbench uses the <batch_mode> sent in the response message to determine whether or not a query has finished. Since the <batch_mode> is being sent as PROCESSING, the Workbench determines it should not generate the timeline. As a result, users have to take the added steps of going to Previous Queries and manually dragging the query to the Timeline view to generate the timeline.
No work has yet been logged on this issue.
{"report":{"fcp":587.8000000007451,"ttfb":129.90000000037253,"pageVisibility":"visible","entityId":11069,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":16,"apdex":1,"journeyId":"4ea93774-adb8-411a-a3ab-418612ed3cda","navigationType":0,"readyForUser":661.4000000003725,"redirectCount":0,"resourceLoadedEnd":431.80000000074506,"resourceLoadedStart":134.5,"resourceTiming":[{"duration":81.80000000074506,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/7fd763ecdf5ed1f47fc4d22fa8382e97-CDN/4x9nqn/820011/16zrvj4/49fa3aa3d35a2cc689cbf274e66cc41a/_/download/contextbatch/css/_super/batch.css","startTime":134.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":134.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":216.30000000074506,"responseStart":0,"secureConnectionStart":0},{"duration":84.09999999962747,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/898b8076c5e82f53cd816ca393e45a56-CDN/4x9nqn/820011/16zrvj4/f614b50eeb842ebd1ea7ab2903699907/_/download/contextbatch/css/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.css?jira.create.linked.issue=true&richediton=true","startTime":134.80000000074506,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":134.80000000074506,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":218.90000000037253,"responseStart":0,"secureConnectionStart":0},{"duration":127,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/4c9c503fe98f210445831b0d7b0cdc33-CDN/4x9nqn/820011/16zrvj4/49fa3aa3d35a2cc689cbf274e66cc41a/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":134.90000000037253,"connectEnd":134.90000000037253,"connectStart":134.90000000037253,"domainLookupEnd":134.90000000037253,"domainLookupStart":134.90000000037253,"fetchStart":134.90000000037253,"redirectEnd":0,"redirectStart":0,"requestStart":134.90000000037253,"responseEnd":261.90000000037253,"responseStart":261.90000000037253,"secureConnectionStart":134.90000000037253},{"duration":146.59999999962747,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/694e598c1ae48b0f96655173631cd247-CDN/4x9nqn/820011/16zrvj4/f614b50eeb842ebd1ea7ab2903699907/_/download/contextbatch/js/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":135,"connectEnd":135,"connectStart":135,"domainLookupEnd":135,"domainLookupStart":135,"fetchStart":135,"redirectEnd":0,"redirectStart":0,"requestStart":135,"responseEnd":281.59999999962747,"responseStart":281.59999999962747,"secureConnectionStart":135},{"duration":148.40000000037253,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/53f54e0ac3f00bb56b136b4d2fff2853-CDN/4x9nqn/820011/16zrvj4/aae1242f5fc81cc6a5bb8bc963ccda29/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en-US","startTime":135.09999999962747,"connectEnd":135.09999999962747,"connectStart":135.09999999962747,"domainLookupEnd":135.09999999962747,"domainLookupStart":135.09999999962747,"fetchStart":135.09999999962747,"redirectEnd":0,"redirectStart":0,"requestStart":135.09999999962747,"responseEnd":283.5,"responseStart":283.5,"secureConnectionStart":135.09999999962747},{"duration":148.7000000011176,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/4x9nqn/820011/16zrvj4/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":135.19999999925494,"connectEnd":135.19999999925494,"connectStart":135.19999999925494,"domainLookupEnd":135.19999999925494,"domainLookupStart":135.19999999925494,"fetchStart":135.19999999925494,"redirectEnd":0,"redirectStart":0,"requestStart":135.19999999925494,"responseEnd":283.90000000037253,"responseStart":283.90000000037253,"secureConnectionStart":135.19999999925494},{"duration":148.89999999850988,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/4x9nqn/820011/16zrvj4/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":135.30000000074506,"connectEnd":135.30000000074506,"connectStart":135.30000000074506,"domainLookupEnd":135.30000000074506,"domainLookupStart":135.30000000074506,"fetchStart":135.30000000074506,"redirectEnd":0,"redirectStart":0,"requestStart":135.30000000074506,"responseEnd":284.19999999925494,"responseStart":284.19999999925494,"secureConnectionStart":135.30000000074506},{"duration":155.5,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/30748292e4ca68be6947d7969829384b-CDN/4x9nqn/820011/16zrvj4/4f66da484ef7d95a2a604d3ab014374c/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":135.40000000037253,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":135.40000000037253,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":290.90000000037253,"responseStart":0,"secureConnectionStart":0},{"duration":149.09999999962747,"initiatorType":"script","name":"https://community.i2b2.org/jira/rest/api/1.0/shortcuts/820011/766848d8ff8ea3676a80e44dfb51696a/shortcuts.js?context=issuenavigation&context=issueaction","startTime":135.5,"connectEnd":135.5,"connectStart":135.5,"domainLookupEnd":135.5,"domainLookupStart":135.5,"fetchStart":135.5,"redirectEnd":0,"redirectStart":0,"requestStart":135.5,"responseEnd":284.59999999962747,"responseStart":284.59999999962747,"secureConnectionStart":135.5},{"duration":115.69999999925494,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/4x9nqn/820011/16zrvj4/efa42a25652b26dfd802540c024826b3/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":175.40000000037253,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":175.40000000037253,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":291.09999999962747,"responseStart":0,"secureConnectionStart":0},{"duration":109.69999999925494,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/8087506fefd02b4096991c90836b49f6-CDN/4x9nqn/820011/16zrvj4/efa42a25652b26dfd802540c024826b3/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":175.5,"connectEnd":175.5,"connectStart":175.5,"domainLookupEnd":175.5,"domainLookupStart":175.5,"fetchStart":175.5,"redirectEnd":0,"redirectStart":0,"requestStart":175.5,"responseEnd":285.19999999925494,"responseStart":285.19999999925494,"secureConnectionStart":175.5},{"duration":150.69999999925494,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/4x9nqn/820011/16zrvj4/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":195.30000000074506,"connectEnd":195.30000000074506,"connectStart":195.30000000074506,"domainLookupEnd":195.30000000074506,"domainLookupStart":195.30000000074506,"fetchStart":195.30000000074506,"redirectEnd":0,"redirectStart":0,"requestStart":195.30000000074506,"responseEnd":346,"responseStart":346,"secureConnectionStart":195.30000000074506},{"duration":236.40000000037253,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/4x9nqn/820011/16zrvj4/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":195.40000000037253,"connectEnd":195.40000000037253,"connectStart":195.40000000037253,"domainLookupEnd":195.40000000037253,"domainLookupStart":195.40000000037253,"fetchStart":195.40000000037253,"redirectEnd":0,"redirectStart":0,"requestStart":195.40000000037253,"responseEnd":431.80000000074506,"responseStart":431.80000000074506,"secureConnectionStart":195.40000000037253},{"duration":280.90000000037253,"initiatorType":"xmlhttprequest","name":"https://community.i2b2.org/jira/rest/webResources/1.0/resources","startTime":488.09999999962747,"connectEnd":488.09999999962747,"connectStart":488.09999999962747,"domainLookupEnd":488.09999999962747,"domainLookupStart":488.09999999962747,"fetchStart":488.09999999962747,"redirectEnd":0,"redirectStart":0,"requestStart":488.09999999962747,"responseEnd":769,"responseStart":769,"secureConnectionStart":488.09999999962747}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":77,"connectEnd":103,"secureConnectionStart":89,"requestStart":103,"responseStart":129,"responseEnd":193,"domLoading":133,"domInteractive":733,"domContentLoadedEventStart":733,"domContentLoadedEventEnd":786,"domComplete":1366,"loadEventStart":1366,"loadEventEnd":1367,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":717.0999999996275},{"name":"bigPipe.sidebar-id.end","time":718},{"name":"bigPipe.activity-panel-pipe-id.start","time":718.0999999996275},{"name":"bigPipe.activity-panel-pipe-id.end","time":718.5999999996275},{"name":"activityTabFullyLoaded","time":822.0999999996275}],"measures":[],"correlationId":"f44b709a0acf3","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":75,"dbReadsTimeInMs":6,"dbConnsTimeInMs":9,"applicationHash":"0629dd8d260e3954ece49053e565d01dabe11609","experiments":[]}}