Commit Graph

17847 Commits

Author SHA1 Message Date
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 1254bd33e5 Use internal config for dependency tree (for Provided)
**Problem**
dependency-tree currently doesn't include Provided configuration,
because technically it isn't part of the Compile configuration,
however, Provided does become part of the Compile classpath during compilation.

**Solution**
This changes the implementation to use the internal configuration,
e.g. CompileInternal, which includes the auxilary configurations.

There's a tradeoff here since it means that we lose the tree view of
the platonic Compile configuration.
2025-11-08 14:33:47 -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 c637805538
Merge pull request #8353 from sbt/dependabot/github_actions/1.12.x/coursier/cache-action-7
[1.x] Bump coursier/cache-action from 6 to 7
2025-11-03 17:49:37 -05:00
dependabot[bot] ce117c5584
[1.x] 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 19:53:22 +00:00
eugene yokota 272c2d57dc
Merge pull request #8355 from sbt/eed3si9n-patch-1
[1.x] ci: Update checkout references to 1.12.x
2025-11-03 14:51:44 -05:00
eugene yokota 854d76b761
Update checkout references to 1.12.x 2025-11-03 14:11:11 -05: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 aee4229fd0
Merge pull request #8349 from eed3si9n/wip/scala-3.8
[1.x] Add Scala 3.8 REPL support
2025-11-01 21:43:10 -04:00
Eugene Yokota 840b851445 [1.x] Add Scala 3.8 REPL support
**Problem**
Scala 3.8 REPL won't work since they've split the repl artifact into another JAR.

**Solution**
This works around it by creating a yet-another sandbox configuration ScalaReplTool
(similar to ScalaTool and ScalaDocTool) and a separate scalaInstance for
console task, so when Zinc is invoked we'll be able to conjure the right array of JARs.
2025-11-01 21:06:32 -04:00
Eugene Yokota ed7da85ef0 Backport Compiler
Backport scala.internal.Compiler from sbt 2.x so we can merge easier.
2025-11-01 15:16:11 -04:00
eugene yokota 6d62c345aa
Merge pull request #8346 from danicheg/scala-2.13.17
[1.x] Update scala213 to 2.13.17
2025-10-30 12:00:29 -04:00
danicheg e42c54f782 [1.x] Update scala213 to 2.13.17 2025-10-30 11:30:06 +03:00
xuwei-k 49c8306091 Update semanticdbVersion 2025-10-23 16:38:26 +09: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 9d2a5f478b sbt 1.11.7 2025-10-05 14:57:23 -04:00
eugene yokota f9a363e5e1
Merge pull request #8329 from eed3si9n/wip/bump-lm
[1.x] Update to lm 1.11.6
2025-10-05 14:35:02 -04:00
Eugene Yokota 1e6afc58c4 Update to lm 1.11.6 2025-10-05 14:21:40 -04: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
xuwei-k 152fe61ced fix runMain task. support JEP-512 2025-10-04 06:42:16 +09:00
eugene yokota b536847ff0
Merge pull request #8320 from xuwei-k/daemon-exit-fork
[1.x] fix `run/daemon-exit` test
2025-10-03 02:19:08 -04:00
xuwei-k 2a7e70ab6a fix run/daemon-exit test 2025-10-03 14:49:28 +09:00
eugene yokota 618a3c2b53
Merge pull request #8317 from xuwei-k/update-sbt-1-branch
[1.x] update dependencies
2025-10-03 01:17:02 -04:00
eugene yokota aed224f842
Merge pull request #8319 from xuwei-k/fallback-dependencies-inter-project
[1.x] fix `fallback-dependencies-inter-project` test
2025-10-03 01:16:28 -04:00