Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add percy #159

Merged
merged 1 commit into from Sep 21, 2016
Merged

add percy #159

merged 1 commit into from Sep 21, 2016

Conversation

kellyselden
Copy link
Owner

No description provided.

@fotinakis
Copy link

Ok, the bug should be fixed! Can you try against master? (Need to some testing with a few customers before we will tag this as an official release)

npm install --save-dev git://github.com/percy/ember-percy#master

If you're curious, the bug was that we were only setting up ember-percy's finalizer IFF you had called percySnapshot once. Because your test suite was parallelized and had limited percySnapshot usage, the finalizer was only set up once in the partition that was using percySnapshot. The fix (here: percy/percy-ember@a2ff735) was to move our internal finalization to always be called, no matter what, using a content-for 'test-body-footer' ember addon hook).

Let me know if that works!

@kellyselden
Copy link
Owner Author

kellyselden commented Sep 20, 2016

Looks great now. Thanks Mike! Longstanding PR now mergeable 😄

@fotinakis
Copy link

👍

@fotinakis
Copy link

FYI, the fix is now released as ember-percy v1.2.1.

@kellyselden
Copy link
Owner Author

@fotinakis I rewrote the commit to put the real version number in, and now it seems to be hung again.

@fotinakis
Copy link

Oof sorry about that, there was a transient networking error (https://travis-ci.org/kellyselden/package-hint-historic-resolver/jobs/161520196). If you click rebuild in travis or push a new commit it should work.

@kellyselden
Copy link
Owner Author

@fotinakis I restarted the entire Travis build last night and this morning, and percy is still hanging. I haven't tried rewriting the commit yet, because I wanted to give you a chance to debug if there is another hidden issue.

@fotinakis
Copy link

fotinakis commented Sep 21, 2016

Damn, it looks like Travis re-uses build numbers when you click "restart" in the UI ... so that makes it very hard for us to tell the difference between builds when we aggregate from parallel builds.

So, can you git commit --allow-empty -m 'Rebuild.' and push? Or merge from master or rebase or anything that will trigger a new Travis build other than clicking the button. :|

I'll think about some long-term architecture fixes we might be able to do to fix this, parallel builds dependent on CI services are hard.

@kellyselden kellyselden merged commit aab1f26 into master Sep 21, 2016
@kellyselden kellyselden deleted the percy branch September 21, 2016 20:44
@kellyselden
Copy link
Owner Author

All good now, thanks @fotinakis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants