Code Monkey home page Code Monkey logo

Comments (4)

potiuk avatar potiuk commented on August 22, 2024 1

To be honest, the number of times it broke in the past (and often not our fault) was so big that I kinda stopped paying attention. @Taragolis had made the last attempt to fix it and since then the only change was to make it works with new codecov plugin (which required adding a key) - because of nodejs warning we got.

And codecov has a history of having some quirks in the process that make the coverage works (or does not) somewhat mysteriously.

There is a good reason why calculation on PRs can never be good - because we are running selective checks to save build and feedback time, vast majority of the PRs will simply run a subset of tests relevant to the change.

That's why the only relevant measure of coverage should be taken only from main (i.e. canary builds) and I believe it's been like that last time @Taragolis fixed it. But coverage from PR will never work well - that's why we disabled it.

Not sure what happened here - maybe some issue where switching to the new codecov plugin, but to be honest almost no-one consistently looks at those metrics for it to be high priority :). But if someone would like to take a look and figure out what's wrong, that would be great.

from airflow.

shahar1 avatar shahar1 commented on August 22, 2024 1

Gotcha. I agree that PR calculations are not ideal for coverage calculation. In the issue's description, I referred only to commits in main when talking about the actual output on Codecov.

I'd be happy to try tackling it later on - I dealt with installing both Codecov and SonarQube in my workplace, so there's a chance I'll figure it out. However, I'll need to check how to integrate it with my forked repo, and later have permissions to work on Airflow's Codecov account.

from airflow.

potiuk avatar potiuk commented on August 22, 2024 1

This is one of the difficulties there, that it's notoriously difficult to test :D

from airflow.

potiuk avatar potiuk commented on August 22, 2024 1

Should be fixed now (hopefully) it was bad token .

from airflow.

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.