Giter Site home page Giter Site logo

Comments (2)

eed3si9n avatar eed3si9n commented on September 26, 2024

@panbingkun Thanks for the report. Please see https://www.scala-sbt.org/1.x/docs/GitHub-Actions-with-sbt.html#Caching for the recommendation on setting up the cache for GitHub Actions. In general I would recommend against the use of Resolver.mavenLocal if it contains any partial external artifacts.

Also the dependency resolution is delegated to Coursier, so could you report this issue to coursier/coursier as well plz, if you would like to have any action taken?

from sbt.

panbingkun avatar panbingkun commented on September 26, 2024

@eed3si9n Thank you for your reply so quickly!
In fact, before I reported the bug to here, I made many attempts

  1. We override the default CachePolicy from Vector(CachePolicy.LocalUpdateChanging, CachePolicy.LocalOnly, CachePolicy.Update) to Vector(CachePolicy.Update), as follows:
    https://github.com/apache/spark/pull/42961/files#diff-6f545c33f2fcc975200bf208c900a600a593ce6b170180f81e2f93b3efb6cb3eR310
image
  1. In our Spark build, local Maven repo was skipped in some workflows, as follows:
    https://github.com/apache/spark/pull/44516/files#diff-6f545c33f2fcc975200bf208c900a600a593ce6b170180f81e2f93b3efb6cb3eR272
image

All of the above can make GA pass, but none of them are perfect.

Especially when we observe some dependencies, it seems that they are not introduced by us in Spark, but rather dependencies of some tools themselves, eg:
image

This problem has been bothering us for a long time, since version 1.9.4 of SBT.

Besides the methods we tried above, is there a better way to help us get around it?
Thank you very much!

from sbt.

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.