The Welkin Suite Forum

Build/Deploy Process Takes FOREVER!



Build/Deploy Process Takes FOREVER!

  • Please log in to reply

#1
windows version welkinsuite

sturev

    Posted 02 Mar 2018 and edited 13 Mar 2019

    Since the update the other day, it's taking an insane amount of time to complete.

    ------ Build started: Project: Q118, Configuration: Debug x86 ------
    Search for changed files started [03:53:10.356].
    File classes\OrderConsoleComparisonController.cls is changed.

    Start building files on the server [03:53:10.358].

    Checking if the changed files have pending server changes [03:53:10.358].
    Pending conflicts were not found.
    Build has finished successfully.

    Time Elapsed 00:06:42.346
    ========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========


    The changes in this class were in the org very fast but the process in the IDE is just hanging. Since I can see the changes are already there, this appears to be strictly and issue with the process/IDE. Almost 7 mins is not acceptable and this is happening everytime I build/deploy since the update the other day.



    9 replies to this topic

    #2

    kate.dulko

      Posted 02 Mar 2018

      Hi Evan,


      Thank you for contacting us with this and for your bug report.


      In general, the build process consists of 2 steps in the IDE: TWS sends your changes to your organization and then retrieves back an information about these updates from an org (hash sum of files, date&time of the last change, etc.); if your changes are applied to the files on the organization and the build process is still in progress in TWS, the reason for the long building time can be that the organization doesn't respond anything.


      Exactly the same information we have found in your TWS log files: the IDE hasn't received a response from the organization, that changes were applied and other additional data. This why the build process wasn't finished till the IDE got the result about everything went succeeded.


      Regards,

      Kate




      Kate Dulko
      Customer Relations

      The Welkin Suite

      twitter: @KateDulko
      skype id: d_katerina
      e-mail: kate.dulko@welkinsuite.com

       

        


      #3

      laszlo.foldi

        Posted 29 Mar 2018

        Hi,


        This problem affects me too. I'm attaching a screenshot, with a build process taking almost 10 minutes.

        Here is the output of the build:

        ------ Build started: Project: ######, Configuration: Debug x86 ------
        Search for changed files started [11:12:42.487].
        File pages\Premier.page is changed.

        Start building files on the server [11:12:49.788].

        Checking if the changed files have pending server changes [11:12:49.791].
        Pending conflicts were not found.
        Build has finished successfully.

        Time Elapsed 00:09:43.307
        ========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========


        I've checked the VF page I'm building, and I saw this:

            ########,  3/29/2018 11:12 AM

        Attached Files


        #4

        kate.dulko

          Posted 29 Mar 2018

          Hi Laszlo,


          Thank you for your post.


          Since your changes were applied to the VF page on Salesforce, this means that the IDE had sent them to your organization immediately.

          After this, the build process took so long time because the organization didn't respond to the requests about the status of changes - if they were applied, and also, didn't provide the IDE with the additional information about the file (such as hash sum of files, date&time of the last change, etc. that the file has on the org after updates).


          This can be related to other activities in your organization or some delay in responses from Salesforce. When the IDE gets any response from an org, the build process finishes with an appropriate status that it gets from Salesforce.


          Regards,

          Kate


          Kate Dulko
          Customer Relations

          The Welkin Suite

          twitter: @KateDulko
          skype id: d_katerina
          e-mail: kate.dulko@welkinsuite.com

           

            


          #5

          derricke

            Posted 17 Jul 2018

            Hello I am also getting long build times more recently then I am used to.  Based on the thread I am understanding that the wait times is on the wait times of the Salesforce Org and not the IDE?  So is there any way to prevent long build times? 



            #6

            kate.dulko

              Posted 18 Jul 2018

              Hi Derrick,


              Thank you for your post.

              Since currently, we use the approach when the build process could be finished only after a response from an organization with an update about applied changes, we cannot influent on the time of retrieving this updates from Salesforce.

              However, as you already found in the separate topic - we have worked on this and the next version of the IDE will include the necessary changes to avoid this issue. The changes are based on that we won't wait for this response from an org and you will be able to continue your working process right after your changes appear in your organization.

              This upcoming TWS version will be available for you the end of the next week.


              Thank you,

              Kate


              Kate Dulko
              Customer Relations

              The Welkin Suite

              twitter: @KateDulko
              skype id: d_katerina
              e-mail: kate.dulko@welkinsuite.com

               

                

              • 1

              #7

              Justin.shankle

                Posted 13 Mar 2019 and edited 13 Mar 2019

                kate.dulko, on 18 Jul 2018 - 03:25 PM, said:

                Hi Derrick,


                Thank you for your post.

                Since currently, we use the approach when the build process could be finished only after a response from an organization with an update about applied changes, we cannot influent on the time of retrieving this updates from Salesforce.

                However, as you already found in the separate topic - we have worked on this and the next version of the IDE will include the necessary changes to avoid this issue. The changes are based on that we won't wait for this response from an org and you will be able to continue your working process right after your changes appear in your organization.

                This upcoming TWS version will be available for you the end of the next week.


                Thank you,

                Kate


                ------ Deploy has started: Project: xxxxxxxx ------

                Search for changed files has started [11:17:23.102].

                Looking for changed items dependencies...
                The file aura\xxxxxx.cmp has been changed.
                The file aura\xxxxxx.js has been changed.
                The file classes\xxxxxx.cls has been changed.
                Dependency file aura\xxxxxx.css will be included into the deploy.
                Dependency file aura\xxxxxx.js will be included into the deploy.

                Looking for empty files...

                Checking if the changed files have pending server changes [11:17:23.107].
                No pending conflicts were found.

                Choosing the deploy strategy depends on changed files...

                Deploy strategy has been chosen.

                Deploying changed items...

                Deploy is finished with errors [11:19:39.974].

                Time Elapsed 00:02:16.873

                ========== Deploy: Project: xxxxx failed ==========


                "xxxx" used to hide customer related names.


                slow deploy time with a reply of "Deploy finished with errors" but no errors are shown in the TWS IDE "error List" window. What does this mean?



                #8

                kate.dulko

                  Posted 13 Mar 2019

                  Hi Justin,


                  Thank you for contacting us on this.


                  We have changed the build/deploy process from the time when the current topic was started, and our changes handled most of the issue related to a long time of deploying.

                  So thank you for bringing this case to our attention.


                  I kindly ask you to send us a bug report with the attached log files directly from the IDE - please find this function in the menu Help -> Report a Bug, please specify your email and enable the 'Attach Log File' checkbox.

                  Also, can you please check if your changes were applied ton your organization after this deployment process?
                  Also, if there are any files in the Pending Changes panel after this? You can open the Pending Changes panel from the menu View.


                  Thank you,

                  Kate



                  Kate Dulko
                  Customer Relations

                  The Welkin Suite

                  twitter: @KateDulko
                  skype id: d_katerina
                  e-mail: kate.dulko@welkinsuite.com

                   

                    


                  #9

                  Justin.shankle

                    Posted 13 Mar 2019

                    kate.dulko, on 13 Mar 2019 - 03:35 PM, said:

                    Hi Justin,


                    Thank you for contacting us on this.


                    We have changed the build/deploy process from the time when the current topic was started, and our changes handled most of the issue related to a long time of deploying.

                    So thank you for bringing this case to our attention.


                    I kindly ask you to send us a bug report with the attached log files directly from the IDE - please find this function in the menu Help -> Report a Bug, please specify your email and enable the 'Attach Log File' checkbox.

                    Also, can you please check if your changes were applied ton your organization after this deployment process?
                    Also, if there are any files in the Pending Changes panel after this? You can open the Pending Changes panel from the menu View.


                    Thank you,

                    Kate

                      Hi Kate,

                    I have sent the bug report with a link to this topic url. I am working in a sandbox and long save times are caused by slow org response. I dont believe TWS is the issue there. What I am wondering about is what is being display in TWS when there is long response times from the server and how I am supposed to diagnose TWS problems when the information displayed in the UI is cryptic. Since there is pending changes in TWS, what does that mean? I am not sure if the changes were deployed to the org since I tried to deploy one time before this last deploy that failed.



                    #10

                    kate.dulko

                      Posted 13 Mar 2019

                      Hi Justin,


                      Thank you for your bug report - we got it, and for your response.


                      The pending changes in the IDE mean that there are changed files in your TWS project which were not deployed to your organization yet. So if your changed files are present in this list, everything is correct.


                      Regarding the applied changes to your organization, this way we can clarify if the deployment process hangs on the IDE's side or it is not yet applied on your organization.


                      Also, in the bug report, you wrote that there is a background process \"Chatter Unified Digest\".
                      After a short investigation, we found that this process, in fact, can influent on an API response.
                      At the same time, this process is unknown for the IDE and this is why the IDE doesn't show any information what can take this time during the deployment.


                      We will investigate additionally what we can do to handle such case.


                      Meantime, when a deployment process takes a long time without no update, you can open your org in a browser and check the files which are waiting for changes. For easy navigation to your org, you can use the 'Open in browser' command from the context menu of your project in the Solution Explorer.

                      Hope this could help.


                      Thank you,

                      Kate


                      Kate Dulko
                      Customer Relations

                      The Welkin Suite

                      twitter: @KateDulko
                      skype id: d_katerina
                      e-mail: kate.dulko@welkinsuite.com

                       

                        





                      Boost Your Productivity. Get Started Today

                      Try Free Trial