Giter Site home page Giter Site logo

Comments (7)

armenzg avatar armenzg commented on September 14, 2024

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.

armenzg avatar armenzg commented on September 14, 2024

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.

armenzg avatar armenzg commented on September 14, 2024

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.

armenzg avatar armenzg commented on September 14, 2024

Blocked on mozilla/release-services#594

I'm going to make progress on issue #3

from firefox-code-coverage-frontend.

armenzg avatar armenzg commented on September 14, 2024

Until mozilla/release-services#632 gets fixed I will have to sequentially fetch for each push.

from firefox-code-coverage-frontend.

marco-c avatar marco-c commented on September 14, 2024

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.

armenzg avatar armenzg commented on September 14, 2024

We have accomplished this.
We will tackle having summary for each changeset later.

from firefox-code-coverage-frontend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.