Skip to content

Stops node_modules from being cached during CI builds#6802

Merged
shiftkey merged 5 commits intodevelopmentfrom
ci-issues
Feb 14, 2019
Merged

Stops node_modules from being cached during CI builds#6802
shiftkey merged 5 commits intodevelopmentfrom
ci-issues

Conversation

@iAmWillShepherd
Copy link
Contributor

@iAmWillShepherd iAmWillShepherd commented Feb 8, 2019

Addressing the recent build issues we've been having due to cache invalidation.

Previous build times (range)

  • Azure: 12-14 mins
  • Appveyor: 13-16 mins
  • Travis: 10-12 mins
  • Cicle: 12-14 mins

☝️ is given as ranges because I couldn't figure out how to export build history in order to do give better descriptive stats. Also all these times are from the past week.

After this change

  • Azure: 11m44s
  • Appveyor: 17m30s
  • Travis: 11m41s
  • Cicle: 12m34s

Since these times are within the ranges I saw in our build history for successful builds, removing the cache doesn't seem to have made a significant impact.

@shiftkey
Copy link
Member

shiftkey commented Feb 8, 2019

@iAmWillShepherd are you able to add into this PR the change in time between this build and a recent successful build on development? It'd be nice to know roughly how much this slows this down.

@shiftkey shiftkey added the infrastructure Issues and pull requests related to scripts and tooling for GitHub Desktop label Feb 8, 2019
@shiftkey
Copy link
Member

shiftkey commented Feb 8, 2019

  • Appveyor: 13-16 mins
    ...
  • Appveyor: 17m30s

This change is the one I worry about - it's already the slowest build, and this PR makes it even slower compared to the others.

What if we left the change in #6799 in place for Appveyor only?

shiftkey and others added 3 commits February 11, 2019 10:01
Co-Authored-By: iAmWillShepherd <iAmWillShepherd@users.noreply.github.com>
@shiftkey shiftkey added this to the 1.6.3 milestone Feb 12, 2019
@shiftkey shiftkey assigned shiftkey and unassigned shiftkey Feb 12, 2019
@shiftkey
Copy link
Member

@iAmWillShepherd I'm 👍 to getting this in and monitoring the build times over the 1.6.3 release process. Let me know if there's anything else you plan to do in this PR.

@shiftkey shiftkey self-assigned this Feb 12, 2019
iAmWillShepherd added a commit that referenced this pull request Feb 13, 2019
We removed the caching of node modules in #6802
@iAmWillShepherd
Copy link
Contributor Author

Nope, this should be good.

I went ahead and remove the work-around I was using to get CI to pass in a971a98

@iAmWillShepherd iAmWillShepherd added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Feb 13, 2019
@shiftkey
Copy link
Member

Merging this in early to unblock some other CI work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Issues and pull requests related to scripts and tooling for GitHub Desktop ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants