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.
{"report":{"fcp":857.6999998092651,"ttfb":140.19999980926514,"pageVisibility":"visible","entityId":11069,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":32,"apdex":1,"journeyId":"d046220d-8ed1-44a8-b778-0983679ef765","navigationType":0,"readyForUser":928.4000005722046,"redirectCount":0,"resourceLoadedEnd":666.3000001907349,"resourceLoadedStart":150.80000019073486,"resourceTiming":[{"duration":27.199999809265137,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/7fd763ecdf5ed1f47fc4d22fa8382e97-CDN/4x9nqn/820011/16zrvj4/49fa3aa3d35a2cc689cbf274e66cc41a/_/download/contextbatch/css/_super/batch.css","startTime":150.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":150.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":178,"responseStart":0,"secureConnectionStart":0},{"duration":28.09999942779541,"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":151.10000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":151.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":179.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":441.5,"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":151.19999980926514,"connectEnd":447,"connectStart":427.4000005722046,"domainLookupEnd":427.4000005722046,"domainLookupStart":427.4000005722046,"fetchStart":151.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":448.5,"responseEnd":592.6999998092651,"responseStart":463.69999980926514,"secureConnectionStart":436.9000005722046},{"duration":406.3999996185303,"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":151.4000005722046,"connectEnd":465,"connectStart":444.5,"domainLookupEnd":444.5,"domainLookupStart":444.5,"fetchStart":151.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":465.5,"responseEnd":557.8000001907349,"responseStart":480.80000019073486,"secureConnectionStart":454.1000003814697},{"duration":327.3999996185303,"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":151.60000038146973,"connectEnd":466.69999980926514,"connectStart":447.5,"domainLookupEnd":447.5,"domainLookupStart":447.5,"fetchStart":151.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":466.69999980926514,"responseEnd":479,"responseStart":478,"secureConnectionStart":456.9000005722046},{"duration":329.8999996185303,"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":151.80000019073486,"connectEnd":469.1000003814697,"connectStart":450.1000003814697,"domainLookupEnd":450.1000003814697,"domainLookupStart":450.1000003814697,"fetchStart":151.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":469.1000003814697,"responseEnd":481.69999980926514,"responseStart":480,"secureConnectionStart":459.4000005722046},{"duration":359.29999923706055,"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":151.9000005722046,"connectEnd":498.69999980926514,"connectStart":478.9000005722046,"domainLookupEnd":478.9000005722046,"domainLookupStart":478.9000005722046,"fetchStart":151.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":498.80000019073486,"responseEnd":511.19999980926514,"responseStart":510.1000003814697,"secureConnectionStart":488.80000019073486},{"duration":32.69999980926514,"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":152.10000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":152.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":184.80000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":437.4000005722046,"initiatorType":"script","name":"https://community.i2b2.org/jira/rest/api/1.0/shortcuts/820011/a9e270f026ecabffc9a59343e5439391/shortcuts.js?context=issuenavigation&context=issueaction","startTime":152.19999980926514,"connectEnd":577.1999998092651,"connectStart":557.6999998092651,"domainLookupEnd":557.6999998092651,"domainLookupStart":557.6000003814697,"fetchStart":152.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":577.3000001907349,"responseEnd":589.6000003814697,"responseStart":588.5,"secureConnectionStart":567.4000005722046},{"duration":28.5,"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":240.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":240.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":269,"responseStart":0,"secureConnectionStart":0},{"duration":390,"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":240.69999980926514,"connectEnd":615.8000001907349,"connectStart":592.6000003814697,"domainLookupEnd":592.6000003814697,"domainLookupStart":592.6000003814697,"fetchStart":240.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":615.9000005722046,"responseEnd":630.6999998092651,"responseStart":629.4000005722046,"secureConnectionStart":604.1999998092651},{"duration":398.8999996185303,"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":267.4000005722046,"connectEnd":650,"connectStart":630.5,"domainLookupEnd":630.5,"domainLookupStart":630.5,"fetchStart":267.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":650.1000003814697,"responseEnd":666.3000001907349,"responseStart":665.1999998092651,"secureConnectionStart":640},{"duration":287,"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":378.69999980926514,"connectEnd":651.1000003814697,"connectStart":631.9000005722046,"domainLookupEnd":631.9000005722046,"domainLookupStart":631.9000005722046,"fetchStart":378.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":651.1000003814697,"responseEnd":665.6999998092651,"responseStart":664.3000001907349,"secureConnectionStart":641.3000001907349},{"duration":198.80000019073486,"initiatorType":"xmlhttprequest","name":"https://community.i2b2.org/jira/rest/webResources/1.0/resources","startTime":797.6000003814697,"connectEnd":981,"connectStart":961.1000003814697,"domainLookupEnd":961.1000003814697,"domainLookupStart":961.1000003814697,"fetchStart":797.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":981,"responseEnd":996.4000005722046,"responseStart":995.4000005722046,"secureConnectionStart":970.6999998092651}],"fetchStart":0,"domainLookupStart":2,"domainLookupEnd":60,"connectStart":60,"connectEnd":96,"secureConnectionStart":71,"requestStart":96,"responseStart":140,"responseEnd":379,"domLoading":149,"domInteractive":981,"domContentLoadedEventStart":981,"domContentLoadedEventEnd":1015,"domComplete":1454,"loadEventStart":1454,"loadEventEnd":1456,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":958.1000003814697},{"name":"bigPipe.sidebar-id.end","time":958.9000005722046},{"name":"bigPipe.activity-panel-pipe-id.start","time":959},{"name":"bigPipe.activity-panel-pipe-id.end","time":961.5},{"name":"activityTabFullyLoaded","time":1024.6999998092651}],"measures":[],"correlationId":"db34e134ac3c0b","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":266,"dbReadsTimeInMs":21,"dbConnsTimeInMs":27,"applicationHash":"0629dd8d260e3954ece49053e565d01dabe11609","experiments":[]}}