Giter Club home page Giter Club logo

Comments (8)

cflewis avatar cflewis commented on May 3, 2024

Can Go even identify this? I wasn't aware that it could.

from go-cloud.

zombiezen avatar zombiezen commented on May 3, 2024

I'm asserting that given you know the changed files from upstream, you can identify which packages those files are in, then use some invocation of go list to then obtain the reverse dependencies, then test just those packages. Again, hypothetically, we have all that information.

from go-cloud.

zombiezen avatar zombiezen commented on May 3, 2024

Discussed offline with @cflewis. The general solution would take some work, but the vast majority of the time right now is being eaten up by the Goose tests, which are pretty self-contained. We can start with just a script that only runs the Goose tests if a Goose file is modified.

from go-cloud.

zombiezen avatar zombiezen commented on May 3, 2024

Goose/Wire tests only run conditionally now, which cuts the build time in half. The overall issue is still there, but the worst of it is over.

from go-cloud.

cflewis avatar cflewis commented on May 3, 2024

Can we close this out? Getting the packages is going to be super dominant over pretty much anything else we can do unless we write really slow integration tests (which are a different issue probably solved by Travis sharding).

from go-cloud.

zombiezen avatar zombiezen commented on May 3, 2024

I'm leaning towards keeping it open: consider that any tools that use the vgo loading scheme would could download less dependencies than the entire project if only the affected tests are run.

from go-cloud.

zombiezen avatar zombiezen commented on May 3, 2024

Also, doc changes (.md files) shouldn't run the linter or the test suite.

from go-cloud.

vangent avatar vangent commented on May 3, 2024

Obsolete.

from go-cloud.

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.