Comments (2)
@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.
@eed3si9n Thank you for your reply so quickly
!
In fact, before I reported the bug to here
, I made many attempts
- We override the default CachePolicy from
Vector(CachePolicy.LocalUpdateChanging, CachePolicy.LocalOnly, CachePolicy.Update)
toVector(CachePolicy.Update)
, as follows:
https://github.com/apache/spark/pull/42961/files#diff-6f545c33f2fcc975200bf208c900a600a593ce6b170180f81e2f93b3efb6cb3eR310
- In our Spark build,
local Maven repo
wasskipped
in some workflows, as follows:
https://github.com/apache/spark/pull/44516/files#diff-6f545c33f2fcc975200bf208c900a600a593ce6b170180f81e2f93b3efb6cb3eR272
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:
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)
- [2.x] Publish sbt plugins using platform prefix HOT 5
- [2.x] `ActionCache` is broken on Windows HOT 5
- [2.x] Add `ActionCache` scripted tests
- [2.x] Cache deactivation on task HOT 3
- [2.x] Reduce allocation and heap usage
- [2.x] Deprecate and remove settings
- [2.x] Group settings by plugins (stretch goal)
- [2.x] Cache failed compilation, and other failed tasks
- [2.x] Distinguish between client and server options
- Getting Error in sbt shell Caused by: java.lang.ClassNotFoundException: sbt.State$Next HOT 2
- Java compiler missing annotation warnings halt compilation on windows HOT 1
- [1.x] scripted for sbt 2.x
- [2.x] testQuick doesn't invalidate on resource changes
- [2.x] testQuick doesn't invalidate on testOptions change
- [2.x] Metals cannot import build using BSP HOT 1
- [2.x] Change test to be testQuick
- [2.x] Headless mode
- [2.x] common settings do not work without root HOT 1
- [2.x] Remove sbt 0.13 shell syntax
- [2.x] Migration plan of key plugins HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sbt.