Commit Graph

17422 Commits

Author SHA1 Message Date
Eugene Yokota 0e9eb00a7d Use sync instead of copying the directory 2025-11-14 04:50:29 -05:00
eugene yokota 2459663387
Merge pull request #8365 from eed3si9n/wip/cache-is-super-shell
[2.x] perf: cache isSupershellEnabled
2025-11-13 00:16:48 -05:00
Eugene Yokota a38a1aa4d0 [2.x] perf: cache isSupershellEnabled
**Problem**
isSupershellEnabled apparently shows up in profiling
constructing the Map structure for sys props.

**Solution**
Cache isSupershellEnabled.
2025-11-12 22:38:45 -05:00
eugene yokota 7a96851176
Merge pull request #8364 from eed3si9n/wip/cache-analysis
[2.x] perf: Cache Zinc Analysis across compilations
2025-11-12 22:27:02 -05:00
Eugene Yokota 8023eeee20 perf: Cache Zinc Analysis across compilation
**Problem**
Protobuf reading shows up as one of the bottlenecks during no-op compilation.

**Solution**
This adds a local, in-memory cache of Zinc Analysis using the timestamp
and the file size of the persisted protobuf file.
2025-11-12 02:35:18 -05:00
eugene yokota 83376f3cea
Merge pull request #8363 from eed3si9n/wip/hash
[2.x] perf: Cache content hash of binary files
2025-11-11 17:41:42 -05:00
Eugene Yokota 4265b92aa4 perf: Cache content hash of binary files
**Problem**
sha256 is currently a bottleneck for no-op compilation.

**Solution**
This adds a local, in-memory cache of sha256 hashes of binary files
using their timestamp and file size.
The size of the digest cache can be configured using localDigestCacheByteSize,
which is set to 1MB by default.
2025-11-11 15:59:42 -05:00
eugene yokota 9a00d7cf3c
Merge pull request #8362 from eed3si9n/wip/profile-docs
[2.x] docs: Update flamegraph guide --lines
2025-11-09 18:07:38 -05:00
Eugene Yokota b17330c9b8 docs: Update flamegraph guide --lines 2025-11-09 18:06:13 -05:00
eugene yokota 2b71272c96
Merge pull request #8361 from eed3si9n/wip/profile-docs
[2.x] docs: Update flamegraph guide
2025-11-09 17:13:04 -05:00
Eugene Yokota 1db8d75ea4 docs: Update flamegraph guide
Update the links and mini guide on the flamegraph tool.
2025-11-09 17:06:13 -05:00
eugene yokota 57445d475d
Merge pull request #8358 from xuwei-k/Scala-3-7-4
Scala 3.7.4
2025-11-07 19:05:32 -05:00
xuwei-k 97b77c16dc Scala 3.7.4 2025-11-08 07:37:33 +09:00
eugene yokota ba9c744c56
Merge pull request #8352 from xuwei-k/dependabot-branch 2025-11-03 09:44:43 -05:00
xuwei-k 6af84ebf7b Update dependabot.yml branch setting 2025-11-03 18:03:14 +09:00
eugene yokota 9ff64f3a43
Merge pull request #8350 from sbt/dependabot/github_actions/coursier/cache-action-7
Bump coursier/cache-action from 6 to 7
2025-11-03 00:55:54 -05:00
dependabot[bot] de5264dd62
Bump coursier/cache-action from 6 to 7
Bumps [coursier/cache-action](https://github.com/coursier/cache-action) from 6 to 7.
- [Release notes](https://github.com/coursier/cache-action/releases)
- [Commits](https://github.com/coursier/cache-action/compare/v6...v7)

---
updated-dependencies:
- dependency-name: coursier/cache-action
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-03 04:01:29 +00:00
eugene yokota 7b26748599
Merge pull request #8332 from mrdziuban/incomplete-parse-exception 2025-10-08 10:08:30 -04:00
Matt Dziuban 77ca8ea29a Add test for recovering from invalid JSON in disk cache. 2025-10-07 14:01:38 -04:00
Matt Dziuban c660c56644 Move `IO.read` and `Parser.parseUnsafe` calls inside `try`. 2025-10-07 13:28:10 -04:00
eugene yokota a8f8aa41fa
Merge pull request #8330 from xuwei-k/redundant-val
remove redundant `val` modifier
2025-10-06 00:17:07 -04:00
xuwei-k 14b7ddf867 remove redundant `val` modifier 2025-10-06 09:28:27 +09:00
eugene yokota 1138926f99
Merge pull request #8324 from xuwei-k/nowarn-annotation
remove unnecessary `@nowarn` annotations
2025-10-04 13:46:54 -04:00
eugene yokota d69ef92525
Merge pull request #8327 from xuwei-k/windows-client-test-retry
retry Windows client test
2025-10-04 13:46:07 -04:00
eugene yokota f4277da9f1
Merge pull request #8323 from xuwei-k/unused-code
remove unused code
2025-10-04 13:45:54 -04:00
eugene yokota b43a5e466b
Merge pull request #8322 from xuwei-k/OrganizationArtifactReport-reflective
remove `Selectable.reflectiveSelectable` in dependency-graph
2025-10-04 13:45:14 -04:00
eugene yokota cc92b0c5d6
Merge pull request #8325 from xuwei-k/build-sbt-scala-version-2-12 2025-10-04 12:14:30 -04:00
xuwei-k 7cf625281b retry Windows client test 2025-10-04 20:31:45 +09:00
xuwei-k 4b9cac1212 cleanup build.sbt setting 2025-10-04 19:48:10 +09:00
xuwei-k 038fa6c476 remove unnecessary nowarn annotations 2025-10-04 19:25:11 +09:00
xuwei-k d1a1dd9edd remove unused code 2025-10-04 19:16:22 +09:00
xuwei-k 3e1eb3737d remove Selectable.reflectiveSelectable in dependency-graph 2025-10-04 15:36:41 +09:00
eugene yokota 028248f73e
Merge pull request #8314 from xuwei-k/sbt-native-image
update sbt-native-image
2025-09-29 12:55:26 -04:00
xuwei-k 21843be03c update sbt-native-image 2025-09-29 19:17:40 +09:00
xuwei-k 4b1b7091ab update mima settings 2025-09-29 17:31:05 +09:00
eugene yokota 0be88cdaac
Merge pull request #8312 from eed3si9n/wip/plugin-cross
[2.x] fix: Fixes PluginCross
2025-09-29 01:46:39 -04:00
Eugene Yokota 140274c31d fix: Fixes PluginCross 2025-09-29 01:18:31 -04:00
eugene yokota 14f2516b64
Merge pull request #8306 from xuwei-k/project-Dependencies-compilerBridge
remove unused code in `project/Dependencies.scala`
2025-09-29 01:03:29 -04:00
eugene yokota f97dff4305
Merge pull request #8311 from eed3si9n/wip/merge-1.11.x
[2.x] Merge 1.11.x
2025-09-29 01:02:58 -04:00
Eugene Yokota 8f2160ba43 Adjust tests 2025-09-29 00:31:24 -04:00
Eugene Yokota 763b05fd91 Update mima setting 2025-09-28 23:41:01 -04:00
Eugene Yokota ef6c65b481 Update to Zinc 2.0.0-M9 2025-09-28 23:09:07 -04:00
Eugene Yokota d826f1f903 Merge branch '1.11.x' into wip/merge-1.11.x 2025-09-28 23:08:36 -04:00
eugene yokota e99d0d9258
Merge pull request #8310 from eed3si9n/wip/fix-conraband
[2.x] fix: Set contrabandScala3enum to false
2025-09-28 22:22:32 -04:00
Eugene Yokota 27e6342bea Update mima 2025-09-28 21:44:16 -04:00
Eugene Yokota 645908f597 Apply Contraband 2025-09-28 21:28:21 -04:00
Eugene Yokota d10f6ee54e fix: Set contrabandScala3enum to false 2025-09-28 21:28:06 -04:00
xuwei-k d90de41898 remove unused code in project/Dependencies.scala 2025-09-29 06:57:02 +09:00
eugene yokota b52944cd3c
Merge pull request #8303 from eed3si9n/wip/jdk25-main
[1.x] Support JDK 25 JEP-512/JEP-445 Main run
2025-09-28 02:15:00 -04:00
Eugene Yokota 2e7d3fdf93 Support JDK 25 JEP-512/JEP-445 Main run
**Problem**
sbt currently does not support JDK 25 Main class. JDK 25 supports:
1. non-public main method
2. doesn't need Array[String] arg
3. doesn't have to be a static method

**Solution**
This updates Zinc, which supports new Main class detection.

In addition, this implements in-process run emulation support.
2025-09-28 01:51:24 -04:00