Commit Graph

17422 Commits

Author SHA1 Message Date
eugene yokota 843c2c28a0
Merge pull request #7673 from eed3si9n/bport/7651
[1.x] fix: serverIdleTimeOut -> serverIdleTimeout
2024-09-15 15:58:32 -04:00
Karl Yngve Lervåg dd1218ba12 fix: serverIdleTimeOut -> serverIdleTimeout
Use consistent name for the option. The variable is named `serverIdleTimeout` and this also seems the proper camelcasing of the words.
2024-09-15 15:39:34 -04:00
Eugene Yokota 5e5d007f23 Bump the version number 2024-09-15 15:21:14 -04:00
Eugene Yokota ddeb5dba2c feat: Use _sbt2_3 suffix
**Problem**
The extra attribute is a vestige from the days when sbt plugins were published on Ivy repos.

**Solution**
This uses normal suffix system.
2024-09-15 15:16:10 -04:00
eugene yokota 2565b8c904
Merge pull request #7672 from eed3si9n/wip/scripted_support
[1.x] fix: Allow scripted to go through
2024-09-15 13:53:43 -04:00
eugene yokota 2cb36bcaa8
[2.x] fix: fallback to file copy (#7668)
**Problem**
Disk cache currently uses symbolic links, which won't
work on Windows without the Administrator privileges or
Developer Mode.

**Solution**
This falls back to using file copy.
2024-09-15 13:03:07 -04:00
Eugene Yokota 31dd85b7ba fix: Allow scripted to go through
**Problem**
Currently scripted does version checking to block sbt 2.x plugins
to be cross published from sbt 1.x.

**Solution**
Remove the sbt version matching.
2024-09-15 12:28:40 -04:00
eugene yokota d8ea50bccb
Merge pull request #7670 from eed3si9n/wip/refactor-scripted-sbt 2024-09-15 12:10:24 -04:00
Eugene Yokota 4af0024238 refactor: Move scripted-sbt-redux back to scripted-sbt
**Problem**
During sbt 1.x we created scripted-sbt-redux for package name change.

**Solution**
We can move the module back to scripted-sbt, which simplifies things.
2024-09-15 01:58:23 -04:00
eugene yokota e57491424c
Merge pull request #7667 from eed3si9n/wip/remove-unused
[2.x] refactor: Remove unused tasks
2024-09-15 00:04:29 -04:00
Eugene Yokota c8de828830 refactor: Remove unused tasks
**Problem/Solution**
Unused setting ends up showing warnings on startup.
This removes the unused settings from sbt 1.x remote cache.
2024-09-14 23:33:13 -04:00
eugene yokota e96c6fa57b
Merge pull request #7666 from eed3si9n/wip/noclassdef
[2.x] Comment out cleanEvalClasses
2024-09-13 13:28:31 -04:00
Eugene Yokota a58950e65e Comment out cleanEvalClasses
**Problem**
reload currently causes NoClassDefFoundError.

**Solution**
Comment out cleanEvalClasses.
2024-09-13 02:03:42 -04:00
eugene yokota c185f15b36
Merge pull request #516 from scala-steward/update/coursier-2.1.12
Update coursier, ... to 2.1.12
2024-09-12 14:27:59 -04:00
Scala Steward d434c94af3
Update coursier, ... to 2.1.12 2024-09-12 14:43:33 +00:00
adpi2 e3b628621f
Merge pull request #7652 from xuwei-k/ThreadDeath-1
update ErrorHandling.scala. avoid reference deprecated `ThreadDeath`
2024-09-12 16:34:26 +02:00
adpi2 f831f4dd8c Merge branch '1.10.x' into ThreadDeath-1 2024-09-12 16:06:48 +02:00
eugene yokota 1cb310554f
Merge pull request #7644 from eed3si9n/wip/testquick 2024-09-12 09:36:52 -04:00
eugene yokota a0597e9935
Merge branch 'develop' into wip/testquick 2024-09-12 08:15:04 -04:00
eugene yokota 941ae3d2c8
Merge pull request #7651 from lervag/patch-2
fix: serverIdleTimeOut -> serverIdleTimeout
2024-09-12 02:26:24 -04:00
Eugene Yokota e9c04108bd Add extraTestDigests key 2024-09-12 02:23:25 -04:00
Eugene Yokota 291778086d findActionResult can return Either 2024-09-12 02:01:28 -04:00
adpi2 9eebe34039
Merge pull request #7654 from adpi2/fix-ci
Fix CI: Zinc default branch is 1.10.x
2024-09-11 15:00:54 +02:00
Adrien Piquerez 4d7228ad5e Fix CI 2024-09-11 09:13:32 +02:00
kenji yoshida ee38417aff
update ErrorHandling.scala 2024-09-11 07:36:03 +09:00
Karl Yngve Lervåg 5387386c21 fix: serverIdleTimeOut -> serverIdleTimeout
Use consistent name for the option. The variable is named `serverIdleTimeout` and this also seems the proper camelcasing of the words.
2024-09-10 23:31:50 +02:00
Tomasz Godzik 1c63444652
Merge pull request #515 from scala-steward/update/coursier-2.1.11
Update coursier, ... to 2.1.11
2024-09-10 16:49:30 +02:00
adpi2 2686f4cd5b
Merge pull request #7647 from adpi2/perf-opt
[sbt2.x] Optimize evaluation of `.all` on tasks and settings
2024-09-10 16:20:05 +02:00
Scala Steward 35a12d41af
Update coursier, ... to 2.1.11 2024-09-10 14:00:00 +00:00
Adrien Piquerez 9e92338884 Adapt multi-scope test 2024-09-10 13:52:38 +02:00
Adrien Piquerez 5c200d6258 Optimize ScopeFilter 2024-09-10 11:39:40 +02:00
Eugene Yokota 947ae1e8eb Implement remote test caching 2024-09-08 15:50:26 -04:00
Eugene Yokota 2aba06bb90 Refactor ActionCache to split into smaller functions 2024-09-08 14:42:24 -04:00
Eugene Yokota f12cbcb450 Include classesDirectory into the digest 2024-09-08 12:56:49 -04:00
Eugene Yokota 0021c3a0bd Refactor to definedTestDigests task 2024-09-08 12:54:36 -04:00
Eugene Yokota 6952d3c46d Implement toString to debug packageBin 2024-09-08 12:51:30 -04:00
Eugene Yokota 721f202ae5 Hermetic incremental test
**Problem**
Current implementation of testQuick depends on the concept of timestamp,
which probably won't work well with the new consistent analysis store or
the idea of remote caching.

**Solution**
This is a step towards cached testing by making the incrementality hermetic
(no longer depends on the timestamp). Instead this calculates the aggregated
SHA-256 of the class files involved in the test.
2024-09-08 12:50:45 -04:00
eugene yokota 4dd59a0b52
Merge pull request #7645 from xuwei-k/scalafmt
[2.x] Update `.scalafmt.conf`. re-format
2024-09-07 11:23:13 -04:00
kenji yoshida ca55e1402b
Update ci.yml 2024-09-07 16:50:26 +09:00
xuwei-k 7279f659e0 Update .scalafmt.conf. re-format 2024-09-07 16:37:49 +09:00
Tomasz Godzik 0be1a9fb9b
Merge pull request #514 from scala-steward/update/scala-library-2.12.20
Update scala-library to 2.12.20
2024-09-06 16:35:44 +02:00
Scala Steward fec763a22c
Update scala-library to 2.12.20 2024-09-06 13:48:26 +00:00
eugene yokota 8ead89691f
Merge pull request #7638 from sbt/adpi2-patch-1 2024-09-03 11:30:34 -04:00
adpi2 03d5bf6e55
Fix BuildServerTest 2024-09-03 10:09:07 +02:00
adpi2 caf7e0483d
Merge pull request #7610 from SlowBrainDude/fix-stale-bsp-diagnostics
Fix stale BSP diagnostics
2024-09-02 15:36:32 +02:00
SlowBrainDude f6663a0d6c Fix stale BSP diagnostics
The BSP server didn't reset old diagnostic messages sent to BSP clients under
certain circumstances. This commit mitigates this edge case and ensures that
diagnostics for files that previously had compilation problems are properly
reset when fresh diagnostics messages are sent.

The culprit was a mismatch of map keys: Files with problems were sometimes recorded
under an absolute path, but later attempted to be retrieved by virtual path.
2024-09-02 15:27:26 +02:00
eugene yokota 2dabe7ba18
Merge pull request #7621 from eed3si9n/wip/output_directory
[2.x] Def.declareOutputDirectory
2024-08-28 01:28:42 -04:00
Adrien Piquerez b1564d4888 Add cachePath to CompileInputs2 to fix dependency-management/test-artifact
We cannot recover compilation after the path of the Zinc cache changed
2024-08-27 16:02:27 +02:00
eugene yokota ee7a9aecc5
Merge pull request #7630 from jroper/package-src
Include ALL sources, and resources in source jar
2024-08-26 12:35:44 -04:00
Adrien Piquerez 47c60bab2e Fix cleaning packed dir
`clean` should delete the packed dir. If it does not,
the next `compileIncremental`, which is a cache hit, will see that
the packed dir is already there and will not unpack it.
2024-08-26 16:29:21 +02:00