Skip to content

downgrade spectron to known good version for Electron 2.x#6799

Merged
outofambit merged 2 commits intodevelopmentfrom
spectron-lol
Feb 8, 2019
Merged

downgrade spectron to known good version for Electron 2.x#6799
outofambit merged 2 commits intodevelopmentfrom
spectron-lol

Conversation

@shiftkey
Copy link
Member

@shiftkey shiftkey commented Feb 8, 2019

Overview

This is related to #6793 but I don't believe is the full resolution to why some builds are quietly failing their integration tests.

Description

spectron needs to be updated at the same time Electron is updated, and the README shows how they relate:

screen shot 2019-02-08 at 3 12 02 pm

I jumped ahead to 5.0.0 in #6518 because I assumed it'd be backwards compatibile with Electron 2 and I didn't see any issues at the time, but I suspect that's not accurate and is at least partly to blame for the issues we're seeing with the integration tests.

Release notes

Notes: no-notes

@shiftkey shiftkey added the infrastructure Issues and pull requests related to scripts and tooling for GitHub Desktop label Feb 8, 2019
@shiftkey shiftkey changed the title drop spectron down to version 4 which is intended for Electron 2.x downgrade spectron to known good version for Electron 2.x Feb 8, 2019
@iAmWillShepherd iAmWillShepherd mentioned this pull request Feb 8, 2019
8 tasks
cache:
- .eslintcache
- node_modules
- node_modules -> package.json
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the syntax Appveyor supports for saying "cache node_modules based on the contents of package.json" and this should help prevent cases like #6793 which I believe are down to cache invalidation not working as expected.

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

shiftkey commented Feb 8, 2019

@outofambit I believe this will help with #6800 - feel free to cherry-pick the changes onto that branch

@outofambit outofambit merged commit 58ef7a7 into development Feb 8, 2019
@outofambit outofambit deleted the spectron-lol branch February 8, 2019 22:07
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