Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-39761

Improve BlueRun loading performance with many artifacts

    XMLWordPrintable

    Details

    • Similar Issues:
    • Epic Link:
    • Sprint:
      tasman, frank

      Description

      Backend scope

      • When fetching the BlueRun models we should not include the artifacts data
      • Introduce a new URL to fetch the artifacts for a run
        • Limit the response so that a max of 100 items are returned
      • Update the BlueArtifact so that it includes the artifact path instead of the name
      • Provide a field on the BlueArtifact collection that allows the user to download all the artifacts in a zip

      UI Scope

        Attachments

          Issue Links

            Activity

            jamesdumay James Dumay created issue -
            jamesdumay James Dumay made changes -
            Field Original Value New Value
            Epic Link JENKINS-37957 [ 174099 ]
            jamesdumay James Dumay made changes -
            Description *In scope*
            * When fetching the BlueRun models we should not include the artifacts data
            * Introduce a new URL to fetch the artifacts for a run
            ** Limit the response so that a max of 1000 items are returned
            * Update the BlueArtifact so that it includes the artifact path instead of the name
            *In scope*
            * When fetching the BlueRun models we should not include the artifacts data
            * Introduce a new URL to fetch the artifacts for a run
            ** Limit the response so that a max of 1000 items are returned
            * Update the BlueArtifact so that it includes the artifact path instead of the name
            * Provide a field on the BlueArtifact collection that allows the user to download all the artifacts in a zip
            jamesdumay James Dumay made changes -
            Link This issue blocks JENKINS-39737 [ JENKINS-39737 ]
            jamesdumay James Dumay made changes -
            Sprint arctic [ 131 ] frank [ 156 ]
            jamesdumay James Dumay made changes -
            Assignee Ivan Meredith [ imeredith ]
            jamesdumay James Dumay made changes -
            Description *In scope*
            * When fetching the BlueRun models we should not include the artifacts data
            * Introduce a new URL to fetch the artifacts for a run
            ** Limit the response so that a max of 1000 items are returned
            * Update the BlueArtifact so that it includes the artifact path instead of the name
            * Provide a field on the BlueArtifact collection that allows the user to download all the artifacts in a zip
            *In scope*
            * When fetching the BlueRun models we should not include the artifacts data
            * Introduce a new URL to fetch the artifacts for a run
            ** Limit the response so that a max of 100 items are returned
            * Update the BlueArtifact so that it includes the artifact path instead of the name
            * Provide a field on the BlueArtifact collection that allows the user to download all the artifacts in a zip
            Hide
            jamesdumay James Dumay added a comment -

            Andrew Bayer rsandell this should fix your abysmally slow Blue Ocean loading.

            Show
            jamesdumay James Dumay added a comment - Andrew Bayer rsandell this should fix your abysmally slow Blue Ocean loading.
            jamesdumay James Dumay made changes -
            Sprint frank [ 156 ] tasman [ 136 ]
            jamesdumay James Dumay made changes -
            Rank Ranked higher
            jamesdumay James Dumay made changes -
            Rank Ranked higher
            jamesdumay James Dumay made changes -
            Sprint tasman [ 136 ] frank [ 156 ]
            jamesdumay James Dumay made changes -
            Sprint frank [ 156 ] tasman [ 136 ]
            jamesdumay James Dumay made changes -
            Rank Ranked higher
            jamesdumay James Dumay made changes -
            Rank Ranked lower
            jamesdumay James Dumay made changes -
            Priority Minor [ 4 ] Critical [ 2 ]
            jamesdumay James Dumay made changes -
            Rank Ranked higher
            jamesdumay James Dumay made changes -
            Rank Ranked lower
            jamesdumay James Dumay made changes -
            Rank Ranked higher
            jamesdumay James Dumay made changes -
            Summary Improve BlueRun loading performance Improve BlueRun loading performance with many artifacts
            jamesdumay James Dumay made changes -
            Description *In scope*
            * When fetching the BlueRun models we should not include the artifacts data
            * Introduce a new URL to fetch the artifacts for a run
            ** Limit the response so that a max of 100 items are returned
            * Update the BlueArtifact so that it includes the artifact path instead of the name
            * Provide a field on the BlueArtifact collection that allows the user to download all the artifacts in a zip
            *Backend scope*
            * When fetching the BlueRun models we should not include the artifacts data
            * Introduce a new URL to fetch the artifacts for a run
            ** Limit the response so that a max of 100 items are returned
            * Update the BlueArtifact so that it includes the artifact path instead of the name
            * Provide a field on the BlueArtifact collection that allows the user to download all the artifacts in a zip

            *UI Scope*
            * Update the loading of the artifacts tab so that it fetches its data from the new artifacts endpoint built in JENKINS-39761 (similar to how we load the test tab)
            * Ensure that the name of the artifact is the "full path"
            * Add a download all button to the Artifacts tab (see screenshot of https://ci.jenkins.io/job/Plugins/job/pipeline-model-definition-plugin/job/master/lastSuccessfulBuild/artifact/)
            * If we are showing the maximum number of artifacts then show message below "Showing first 100 artifacts"
            jamesdumay James Dumay made changes -
            Link This issue is duplicated by JENKINS-39737 [ JENKINS-39737 ]
            jamesdumay James Dumay made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jamesdumay James Dumay made changes -
            Sprint tasman [ 136 ] tasman, frank [ 136, 156 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ivan Meredith
            Path:
            src/test/js/artifacts/artifacts.js
            http://jenkins-ci.org/commit/blueocean-acceptance-test/5e8d8756e90cda159ea471d8eb4ef83618b65319
            Log:
            JENKINS-39761 Check that only 100 artifacts are shown

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ivan Meredith Path: src/test/js/artifacts/artifacts.js http://jenkins-ci.org/commit/blueocean-acceptance-test/5e8d8756e90cda159ea471d8eb4ef83618b65319 Log: JENKINS-39761 Check that only 100 artifacts are shown
            imeredith Ivan Meredith made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ivan Meredith
            Path:
            src/test/js/failingStages.js
            src/test/resources/test_scripts/stagesFailing.groovy
            http://jenkins-ci.org/commit/blueocean-acceptance-test/e8551919acb1016a029b0cc9147c32cc6df7b352
            Log:
            Merge remote-tracking branch 'origin/master' into JENKINS-39761-performance-bluerun

            Compare: https://github.com/jenkinsci/blueocean-acceptance-test/compare/a7c98cfe984b...e8551919acb1

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ivan Meredith Path: src/test/js/failingStages.js src/test/resources/test_scripts/stagesFailing.groovy http://jenkins-ci.org/commit/blueocean-acceptance-test/e8551919acb1016a029b0cc9147c32cc6df7b352 Log: Merge remote-tracking branch 'origin/master' into JENKINS-39761 -performance-bluerun Compare: https://github.com/jenkinsci/blueocean-acceptance-test/compare/a7c98cfe984b...e8551919acb1
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ivan Meredith
            Path:
            src/test/js/artifacts/artifacts.js
            src/test/resources/test_scripts/lots-of-artifacts.groovy
            http://jenkins-ci.org/commit/blueocean-acceptance-test/4dc0c1030e98d19cead6c1063e95d978629a601d
            Log:
            [JENKINS-39761 Adds tests to cover the artifacts tab on run details. (#82)

            • Commit groovy file
            • Use bash to create files
            • Fix tests
            • Fix comments
            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ivan Meredith Path: src/test/js/artifacts/artifacts.js src/test/resources/test_scripts/lots-of-artifacts.groovy http://jenkins-ci.org/commit/blueocean-acceptance-test/4dc0c1030e98d19cead6c1063e95d978629a601d Log: [ JENKINS-39761 Adds tests to cover the artifacts tab on run details. (#82) JENKINS-39761 Check that only 100 artifacts are shown Commit groovy file Use bash to create files Fix tests Fix comments
            imeredith Ivan Meredith made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]

              People

              Assignee:
              imeredith Ivan Meredith
              Reporter:
              jamesdumay James Dumay
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: