Comments (9)
I've just deployed a fix for the race-condition to happo.io. I'll close this issue, but feel free to reopen if the issue doesn't go away.
from happo.io.
Thanks for the report! I’ll look into this after the weekend. Sounds like something isn’t triggered the right way.
Are you using CircleCi, Travis, or a different CI system? This might not matter, I’m just making sure I can debug this in the best possible way.
from happo.io.
Thanks for the quick response!
We use CircleCI. I am wondering if us using a different base branch than the default might have to do with this issue
from happo.io.
It shouldn't matter, but I'll make sure to check that.
from happo.io.
Sorry for not reporting any results back here. I haven't forgot about it, it's just that other more important things snuck in before I had a chance of addressing this. 🤷
I hope to look at this during the week though.
from happo.io.
No worries, let me know if I can help debug the issue
from happo.io.
Okay, I think I've confirmed this is a race condition. The happo-cypress lib posts to the create job API endpoint right after it has initialized an async-report. In your case, the first call is very fast and posts a "success" status to the commit on GitHub right away. The second call posts a pending "job started" status as well, overriding the initial success status.
While this could be fixed in the happo-cypress library, I'm going to handle things on the server as well (working on that now). I think other clients might make assumptions about order not being important anyway, so we might as well fix in one place.
from happo.io.
This is working fine now, thanks!
from happo.io.
Excellent, thanks for the report!
from happo.io.
Related Issues (20)
- Failure when running happo on safari browser HOT 2
- Spurious diffs with radio buttons on Safari HOT 8
- Environment variables in CircleCI run HOT 2
- Failures running Happo - File Already Exists HOT 4
- Script for `happo-ci-circleci` broken on custom base branch HOT 1
- Spurious diffs with iOS-safari HOT 4
- Script `happo-ci-github-actions` fails in 6.6.0
- Images created by `next/image` are not rendered in screenshots HOT 9
- Does this work with Rollup.js? HOT 13
- babel-polyfill always imported
- [Feature request] Run Function After Comparison Request HOT 6
- Can you expand support for babel-loader to include v9 HOT 3
- Failure due to maxHeight not being applied HOT 5
- Allow customization of prerender DOM HOT 1
- Request to apply a lock if the test is going to exceed the number of available snapshots HOT 4
- @babel/preset-react and babel-plugin-dynamic-import-node HOT 5
- Getting Safari diffs after the recent browser update even though the baseline diffs have been updated HOT 2
- Error running in yarn due to undeclared dependency HOT 4
- Yarn version 2 and higher fails to execute happo-ci scripts HOT 1
- Incorrect SHA in the final comparison report HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from happo.io.