Commit Graph

1846 Commits

Author SHA1 Message Date
kenji yoshida 42f8b949f7
[2.x] ci: Update sbt and plugins (#9603) 2026-08-15 11:20:18 -04:00
eugene yokota b130cbcd05
[2.x] Use sbt 2.0.4 (#9512) 2026-07-27 00:02:28 -04:00
eugene yokota 017ee92527
[2.x] Zinc 2.0.4 (#9508) 2026-07-26 14:45:03 -04:00
eugene yokota f59c12559f
[2.x] ci: Fix publishLocalBin (#9505)
**Problem/Solution**
dummyDoc was not cached properly.
2026-07-26 02:08:54 -04:00
eugene yokota 0a0d6f67df
[2.x] Zinc 2.0.3 (#9498) 2026-07-24 15:53:41 -04:00
kenji yoshida 4721f7f496
[2.x] ci: Update project/plugins.sbt (#9491) 2026-07-23 12:48:00 -04:00
eugene yokota d4e8fb583c
[2.x] Zinc 2.0.2 (#9489) 2026-07-23 02:47:12 -04:00
kenji yoshida e1f118743c
[2.x] ci: Build sbt/sbt using sbt 2 (#9244) 2026-07-20 12:38:53 -04:00
BrianHotopp b411ade704
[2.x] fix: Don't cache environmental (position-less) compile failures (#9464)
Failure caching assumes a CompileFailed is a function of
the sources, which is true for source errors. But zinc also surfaces I/O write
failures ("error writing X.class") as compiler problems, so an environmental
failure (a concurrent target/ deletion, a permission blip) was cached under the
same mechanism and replayed from the global action cache on every later build,
even after the cause was gone. When the poisoned task is the metabuild compile
this is self-sustaining and unrecoverable from inside sbt: project loading
fails, so no task -- including clean -- can run, and only deleting the global
cache by hand recovers. The replayed diagnostics also name files/permissions
that no longer exist.

Refs #9455

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-18 09:49:05 -04:00
Anatolii Kmetiuk 271cde7025
[2.x] restore JVM option capability in the launcher config (#9452)
Restores override-build-repos config option responsible for passing the JVM flag to the launcher.
2026-07-16 02:39:59 -04:00
eugene yokota e68edc51a3
[2.x] sjson-new 0.15.1 (#9458) 2026-07-16 01:02:56 -04:00
eugene yokota 427b444ba5
[2.x] Ivy 2.3.0-sbt-f686954b0021a5c3245766ced0cdaeca8ba2fd7a (#9457) 2026-07-16 01:02:39 -04:00
eugene yokota 257fb50e4c
[2.x] ipcsocket 1.8.0 (#9433) 2026-07-11 15:01:20 -04:00
eugene yokota 209867c7db
[2.x] ivy 2.3.0-sbt-939a7ea82f140cdb1f51dc404bb43e00a8c43b83 (#9423) 2026-07-10 17:17:47 -04:00
eugene yokota af37f1f765
[2.x] Update Coursier to version 2.1.25-M26 (#9393)
Includes performance improvements.

https://github.com/coursier/coursier/compare/v2.1.25-M25...v2.1.25-M26

Co-authored-by: Jason Zaugg <jzaugg@gmail.com>
2026-06-27 16:36:14 -04:00
eugene yokota 2932685ed2
[2.x] ipcsocket 1.7.0 (#9361) 2026-06-21 01:31:40 -04:00
eugene yokota d8929ad8d7
[2.x] ci: sbt-salad-days (#9360) 2026-06-21 01:08:31 -04:00
eugene yokota 75f1d15a81
[2.x] fix: Fixes chunked upload/download (#9318)
**Problem**
Chunked upload/download doesn't work.

**Solution**
1. This fixes the SERVICE_NAME shading.
2. This fixes the resource name.
3. This fixes download stream processing.
2026-06-09 21:48:07 +09:00
eugene yokota b9e98b9e8a
[2.x] Update to Scala 3.8.4 (#9302) 2026-06-07 20:52:13 -04:00
eugene yokota ac320c7fd0
[2.x] fix: ByteStream chunked upload/download (#9298)
**Problem**

BatchUpdateBlobsRequest suffers from gRPC's message size limitation.

**Solution**

For larger files, we switch to using the ByteStream API, chunked to 1MB at a time.
2026-06-07 15:17:20 -04:00
Eugene Yokota f327ef14d0 [2.x] sjson-new 0.15.0 2026-06-01 01:52:50 -04:00
Eugene Yokota c1219702d5 Contraband 0.9.0 2026-06-01 01:52:50 -04:00
Eugene Yokota 0bab2066df [2.x] Reimplement FarmHash
**Problem**
sbtn and server uses FarmHash.

**Solution**
This reimplements FarmHash using Scala.
2026-05-31 16:07:28 -04:00
eugene yokota 315202181c
[2.x] ci: Scalafmt 3.11.1 (#9279)
Apply Scalafmt
2026-05-31 16:01:15 -04:00
eugene yokota ffa8c14ca6
[2.x] Migrate FarmHash usage to xxhash64 (#9267)
Problem
ZAHa, which we use for FarmHash, uses Unsafe.

Solution
This ports xxhash64 to Scala.
2026-05-30 19:14:53 -04:00
Eugene Yokota ade9885ce6 [2.x] Update to lm-coursier 2.1.25-M25 2026-05-16 04:24:11 -04:00
eugene yokota b3d29b6bac
[2.x] Zinc 2.0.0-M18 (#9219) 2026-05-14 23:50:10 -04:00
eugene yokota 7681cb3980
[2.x] feat: Execution log (#9203)
**Problem**
We need some tooling to debug caching issues.

**Solution**
This adds an exeprimental execution log support,
which shows input and output of cached tasks.
2026-05-14 02:27:38 -04:00
Eugene Yokota 566f888045 [2.x] Cache analysis using file last modified
**Problem**
Current MixedAnalyzingCompiler analysis cache caches using the last write,
assuming all writing happens via it. However, this doesn't work with
sbt 2.x caching system where the gz file under it can switch.

**Solution**
This switches to using caffeine caching, which includes file size
and file timestamp for local analysis caching.
2026-05-11 04:29:28 -04:00
Anatolii Kmetiuk 1f151ad6e3
[2.x] Fix #9190: Ensure resources are copied atomically (#9193)
Bumps io to released 1.12.0 which contains the atomic-write changes
to IO.copyFile, IO.transfer(InputStream, File), and IO.jar/zip.
ActionCacheStore.putBlob now uses IO.transfer instead of duplicating
staging logic.
2026-05-07 01:22:22 -04:00
eugene yokota 0de038e20b
[2.x] sjson-new 0.14.0 (#9177) 2026-05-03 16:50:51 -04:00
xuwei-k 871706bf83 Remove unused code in project/Utils.scala 2026-05-03 16:53:26 +09:00
kenji yoshida 2893bff7ca
[2.x] ci: Filter NOTICE file (#9155) 2026-04-29 08:45:08 -04:00
kenji yoshida 01fbc474f1
[2.x] ci: Avoid infix syntax in build files (#9157) 2026-04-29 08:41:54 -04:00
kenji yoshida c9c90978e4
[2.x] ci: Avoid postfix in build files (#9150) 2026-04-29 03:13:17 -04:00
kenji yoshida 3d64237122
[2.x] ci: Update sbt and sbt-scalafmt plugin (#9148) 2026-04-29 03:12:09 -04:00
eugene yokota 5b9553af9e
[2.x] Bump sbtn to 2.0.0-RC13 (#9140) 2026-04-27 01:03:42 -04:00
eugene yokota 64463535ca
[2.x] refactor: Replace string Array with ju.List (#9138)
**Problem**
Scala 3 supposedly has problem with String array in structural types.

**Solution**
This works around the issue by using ju.List.
2026-04-27 00:22:30 -04:00
Ali Rashid 9275bda052
[2.x] feat: Expose `scripted / excludeFilter` and `scripted / includeFilter` keys for scripted test filtering. (#9131)
* [2.x] feat: Add scripted / includeFilter and scripted / excludeFilter

* [2.x] Add scripted-exclude-filter scripted test. Remove stale item from Scripted.sbtWindowsExcludeFilter
2026-04-26 14:31:42 -04:00
eugene yokota 8d6627929d
[2.x] desp: Gigahorse 0.9.4 (#9125) 2026-04-23 23:40:54 -04:00
Matthias Kurz 1f0b0e1bfa
[2.x] ci: Update sbt-java-formatter (#9098) 2026-04-21 12:19:44 -04:00
xuwei-k 349e91da04 Remove duplicate hedgehog TestFramework setting 2026-04-18 08:22:42 +09:00
kenji yoshida b156871557
[2.x] ci: Delete unused code in project/Dependencies.scala (#9070) 2026-04-12 01:55:18 -04:00
kenji yoshida 7218b2a1ac
[2.x] ci: Remove unnecessary code in build file (#9045) 2026-04-08 23:58:39 -04:00
kenji yoshida 8ad6ada60f
[2.x] Scala 3.8.3 (#8997) 2026-04-05 14:28:47 -04:00
kenji yoshida fa07cc921d
[2.x] ci: Update sbt-native-image plugin (#9016) 2026-04-05 01:03:38 -04:00
kenji yoshida ed49601662
[2.x] ci: Organize scalatest dependency (#9015) 2026-04-04 23:54:09 -04:00
eugene yokota 3c34579c18
[2.x] Update to Zinc 2.0.0-M15 (#8980) 2026-03-25 01:15:21 -04:00
corevibe555 9994552750
deps: Updatge launcher to 1.6.1 (#8923) 2026-03-19 20:26:18 -04:00
eugene yokota ed501b71bd
[2.x] Simplify -Werror application (#8906) 2026-03-15 04:53:37 -04:00