Code Monkey home page Code Monkey logo

Comments (7)

bahmutov avatar bahmutov commented on July 18, 2024

John, these 2 failures could happen for any number of reason, not necessarily due to lodash itself. Might be flaky npm environment and install failed. Or the lodash version was conflicting with some other peer dependency, or the unit tests themselves were flaky. Could be lodash api change.

The stats sent by next-update are completely anonymous and do not send the reason, just dependency name, from and to version, test success or failure. You can see all data the MongoDB collects if you try http://next-update.herokuapp.com/package/lodash

Older version of next-update did not check if the unit tests pass before starting updates, so it could be that the tests were not working even for 2.2.1!

I could not think how to send a good reason for the failed test, especially due to privacy concerns. But this could make a perfect enterprise dev application, you agree? One team keeps developing a module and if any other teams tries to upgrade and fails the first team gets meaningful information.

As far lodash itself - I am surprised I do not see more data points. It is a super popular package, and has lots of versions. On the other hand, no one tried to upgrade underscore yet ;)

g

from next-update-stats.

jdalton avatar jdalton commented on July 18, 2024

or the unit tests themselves were flaky.

Is it testing against Lo-Dash's unit tests or the packages unit tests?

from next-update-stats.

bahmutov avatar bahmutov commented on July 18, 2024

next-update is testing against the package's own unit tests.

from next-update-stats.

jdalton avatar jdalton commented on July 18, 2024

next-update is testing against the package's own unit tests.

Ah ok. So currently do you all check to see if their unit tests pass before upgrading and then again after upgrading?

from next-update-stats.

bahmutov avatar bahmutov commented on July 18, 2024

Yup, now next-update runs their unit tests first, and if they pass tries
each dependency one by one.
BTW, there is another mode: install latest version for all dependencies at
once and run tests. I do not remember if I send stats to each dependency in
this case. This might be another source of false positives.

gleb

On Thu, Jul 10, 2014 at 1:21 PM, John-David Dalton <[email protected]

wrote:

next-update is testing against the package's own unit tests.

Ah ok. So currently do you all check to see if their unit tests pass
before upgrading and then again after upgrading?


Reply to this email directly or view it on GitHub
#19 (comment)
.

from next-update-stats.

jdalton avatar jdalton commented on July 18, 2024

Ah nice. I've seen npm hiccups cause issues too so it'd be nice if that was detectable (like a failed install) and not counted either. I'm curious because Lo-Dash follows semver so versions failing between non-major bumps raises a flag for me (smth I should look at).

from next-update-stats.

bahmutov avatar bahmutov commented on July 18, 2024

Agreed, I will make a separate issue for next-update to not count failed
install as a failure. Good that you take failures over minor versions
seriously

On Thu, Jul 10, 2014 at 1:47 PM, John-David Dalton <[email protected]

wrote:

Ah nice. I've seen npm hiccups cause issues too so it'd be nice if that
was detectable (like a failed install) and not counted either. I'm curious
because Lo-Dash follows semver so versions failing between non-major bumps
raises a flag for me (smth I should look at).


Reply to this email directly or view it on GitHub
#19 (comment)
.

from next-update-stats.

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.