Comments (7)
I'm currently trying to fetch this API with codecov:
https://codecov.io/api/gh/marco-c/gecko-dev/commits
I believe I need an access token so I can use it:
https://docs.codecov.io/v4.3.6/reference#authorization
I'm currently hitting:
No 'Access-Control-Allow-Origin' header is present on requested resource
For now I will make this work locally by serving the file locally. It won't work on GitHub pages until I have an access token from marco.
from firefox-code-coverage-frontend.
Until there is a solution for issue #10 I can only show screenshots of the app.
I will wait until marco comes around and see if he can proxy that for me.
Here's the latest screenshot:
https://cl.ly/3n141N272k0u
It shows commits from https://codecov.io/api/gh/marco-c/gecko-dev/commits sorted by timestamp.
There's data in that API for me to show the code coverage for each commit.
I will work on that tomorrow.
from firefox-code-coverage-frontend.
I put some effort into making the changes from yesterday "shareable" publicly.
In this effort, I ended up migrating us to Heroku:
https://firefox-code-coverage.herokuapp.com/#/
In any case, it was not the migration which allowed this to happen but to apply a hack:
4e1f44b
from firefox-code-coverage-frontend.
Blocked on mozilla/release-services#594
I'm going to make progress on issue #3
from firefox-code-coverage-frontend.
Until mozilla/release-services#632 gets fixed I will have to sequentially fetch for each push.
from firefox-code-coverage-frontend.
When mozilla/release-services#632 is fixed, the performance will be the more or less the same (as the requests will be performed sequentially on the server instead of on the client).
So if fetching sequentially seems too slow, we will probably have to increase the number of web/worker processes on Heroku.
(We should only care about the performance for the common case, which is the cached responses case)
from firefox-code-coverage-frontend.
We have accomplished this.
We will tackle having summary for each changeset later.
from firefox-code-coverage-frontend.
Related Issues (20)
- Improve caching of individual requests
- Make the coverage summary be what takes you to the diff viewer HOT 13
- Have a two tier data fetching approach to improve the expired and no cache scenarios HOT 1
- TypeError: Cannot read property 'toolkit/components/viewsource/content/viewSourceUtils.js' of undefined HOT 1
- fileViewer: Use coverage.moz.tools backend to retrieve coverage data HOT 1
- Add a overall graph view showing the coverage evolution HOT 5
- fileViewer: Create a directory view to navigate a report HOT 22
- Fix status and error messages on SummaryContainer
- TypeError: coverageMap[cset.node] is undefined HOT 4
- When filtering changesets we can't click to open the diff viewer HOT 6
- `lint-staged` doesn't recognize Node 10 as >= 6 HOT 8
- TypeError: p.to is undefined HOT 1
- Don't show "Loading..." when the app is not loading
- Uncaught (in promise) TypeError: Cannot read property 'pending' of undefined
- Stop using git_build_changeset
- FYI: Renovate will auto open PRs for vulnerabilities on 2018-08-08 HOT 1
- Update docs to mention that the coverage comes from Windows tests too HOT 9
- Broken Link in contributing.md
- CODE_OF_CONDUCT.md file missing
- https://firefox-code-coverage.herokuapp.com/#/ is stuck at loading page HOT 1
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 firefox-code-coverage-frontend.