Commit Graph

17314 Commits

Author SHA1 Message Date
kenji yoshida 1d7871233b
Revert "fix: BSP error status code in more cases" 2025-05-11 12:59:15 +09:00
eugene yokota e75cf2218b
Merge pull request #8115 from xuwei-k/settingAppend1Impl 2025-05-09 21:27:50 -07:00
eugene yokota e9b888513c
Merge pull request #8116 from xuwei-k/ContTestMacro 2025-05-09 21:27:09 -07:00
xuwei-k 031e806a24 fix ContTestMacro 2025-05-10 07:44:11 +09:00
xuwei-k 4916f9b186 udpate settingAppend1Impl. use `ev` param 2025-05-10 07:28:38 +09:00
eugene yokota 01df2e0c0f
Merge pull request #8114 from xuwei-k/implicit-explicit-using-2
[2.x] add `using` if explicitly providing arguments to methods defined with `implicit`
2025-05-09 11:02:53 -07:00
eugene yokota e9e263469d
Merge pull request #8112 from xuwei-k/RefThenConfig-extension-toString
remove RefThenConfig extension toString method
2025-05-09 11:02:17 -07:00
eugene yokota b0e79146de
Merge pull request #8113 from xuwei-k/remove-unused-imports-2
[2.x] remove unused imports
2025-05-09 11:01:40 -07:00
xuwei-k 74a4abf049 add `using` if explicitly providing arguments to methods defined with `implicit` 2025-05-09 20:11:43 +09:00
xuwei-k ce654c4ffc remove unused imports 2025-05-09 19:40:49 +09:00
xuwei-k ca8bc350a5 remove RefThenConfig extension toString method 2025-05-09 19:23:24 +09:00
eugene yokota 84ebcd3c34
Merge pull request #8110 from xuwei-k/remove-unused-imports
[2.x] remove unused imports
2025-05-09 02:28:52 -07:00
eugene yokota e59923dd5a
Merge pull request #8111 from xuwei-k/implicit-explicit-using
[2.x] add `using` if explicitly providing arguments to methods defined with `implicit`
2025-05-09 02:28:24 -07:00
xuwei-k 237f341d6f add `using` if explicitly providing arguments to methods defined with implicit 2025-05-09 16:48:39 +09:00
xuwei-k fa6daec812 remove unused imports 2025-05-09 16:46:48 +09:00
eugene yokota 25b30ff36e
Merge pull request #8109 from harpocrates/bsp-compile-status-code
fix: BSP error status code in more cases
2025-05-07 08:01:16 -07:00
Alec Theriault 5d81f2c3d1
fix: BSP error status code in more cases
Ensures that `buildTarget/compile` returns a `StatusCode.Error` instead
of a JSON-RPC error even when the compile error is buried deeper in the
`Incomplete` causes.

Fixes #8104
2025-05-07 06:16:27 -04:00
eugene yokota 6896bc431f
Merge pull request #8107 from eed3si9n/wip/eval-fix
[2.x] fix: Port eval workaround for Windows
2025-05-06 01:02:29 -04:00
eugene yokota 532c6d8f21
Merge pull request #8108 from eed3si9n/wip/evaltask-cleanup
[2.x] refactor: Clean up EvaluateTask
2025-05-06 00:54:27 -04:00
Eugene Yokota 1de1f903d8 refactor: Clean up EvaluateTask 2025-05-05 15:50:37 -04:00
Eugene Yokota 7714307329 fix: Port eval workaround for Windows 2025-05-05 15:30:38 -04:00
eugene yokota ff7dd1b76d
Merge pull request #8106 from eed3si9n/wip/repro-nested-macro2
[2.x] fix: Fix qual lookup
2025-05-05 03:29:03 -04:00
Eugene Yokota f3dd5dbd71 fix: Fix qual lookup
**Problem**
Nested macro that expands to map or mapN fails to
find the qual because the trees end up being different
between the record scan and actual replacement.

**Solution**
First try for equals normally, then compare the show strings.
2025-05-05 03:04:44 -04:00
eugene yokota 2ea0aac1bb
Merge pull request #8105 from eed3si9n/wip/cache-test
[2.x] Add cache tests
2025-05-04 17:14:14 -04:00
Eugene Yokota f07fa809f5 Add cache tests
This adds scripted test for cached compilation and tests.
2025-05-04 17:00:13 -04:00
eugene yokota 4c0ab346a7
Merge pull request #8101 from eed3si9n/wip/scalacoptions
[2.x] Scala compiler plugin support
2025-05-04 01:25:35 -04:00
Eugene Yokota d10e5b6f48 Add test for cache hits 2025-05-02 03:23:29 -04:00
Eugene Yokota 2fd08caeda Scala compiler plugin support
**Problem**
Compiler options for the compiler plugins ends up capturing the absolute path, specific to the machine.

**Solution**
This encodes the plugin paths as virtual paths.
2025-05-01 00:15:42 -04:00
eugene yokota 61b0f37375
Merge pull request #8099 from eed3si9n/wip/cache-fix
[2.x] fix: Fix action cache
2025-04-28 03:48:44 -04:00
Eugene Yokota 537359eb9b fix: Fix action cache
**Problem**
Action cache is capturing absolute path.

**Solution**
Use virtial path.
2025-04-28 03:16:18 -04:00
eugene yokota 978dd5779d
Merge pull request #8087 from eed3si9n/wip/test-quick-bug2
[1.x] fix: Fix incremental test with companion objects
2025-04-01 00:00:25 -04:00
Eugene Yokota 1415b2efa4 fix: Fix incremental test with companion objects [merge-skip]
**Problem**
Incremental test (aka testQuick) has a bug when companion objects
depends on others since at some point it's failing to look up relationship from Zinc analysis.

**Solution**
This fixes the lookup.
2025-03-31 22:44:57 -04:00
OlegYch baa9a919ba Reproduce testQuick + object deps bug [merge-skip]
testQuick after code change doesn't rerun the test.
This was adopted from https://github.com/OlegYch/sbt-testQuick-bug
2025-03-31 21:47:02 -04:00
Eugene Yokota 4d583fa19e Split test-quick test into two [merge-skip] 2025-03-31 21:43:04 -04:00
eugene yokota 187eb0f584
Merge pull request #8086 from bjaglin/cache-semanticdb
[2.x] cache semanticdb output when not included in JAR
2025-03-29 21:23:13 -04:00
Brice Jaglin 9ff4e1d1e9 cache semanticdb output when not included in JAR 2025-03-28 12:47:03 +01:00
Brice Jaglin 543cf45071 rename scripted 2025-03-28 11:55:35 +01:00
eugene yokota 036603dac6
Merge pull request #8078 from eed3si9n/wip/test-quick-bug
[2.x] fix: Fix incremental test with companion objects
2025-03-25 10:13:36 -04:00
eugene yokota 876222e7a7
Merge pull request #8081 from eed3si9n/wip/stdout
fix: Avoid printing to stdout
2025-03-25 01:52:12 -04:00
Eugene Yokota af714b8318 fix: Avoid printing to stdout
**Problem**
The runner script prints out "copying runtime jar" etc to stdout.

**Solution**
This removes the log, and moves other logs to stderr.
2025-03-25 01:34:53 -04:00
Eugene Yokota 2f4280c6f3 fix: Fix incremental test with companion objects
**Problem**
Incremental test (aka testQuick) has a bug when companion objects
depends on others since at some point it's failing to look up relationship from Zinc analysis.

**Solution**
This fixes the lookup.
2025-03-23 22:25:16 -04:00
OlegYch 405527266d Reproduce testQuick + object deps bug
testQuick after code change doesn't rerun the test.
This was adopted from https://github.com/OlegYch/sbt-testQuick-bug
2025-03-23 22:22:02 -04:00
Eugene Yokota 690a3947f2 Split test-quick test into two 2025-03-23 22:21:06 -04:00
Eugene Yokota 898d9f66d3 sbt 1.10.11 2025-03-17 01:26:22 -04:00
eugene yokota 4fe6384ce0
Merge pull request #8071 from eed3si9n/wip/windows
[1.x] fix: Fix sbt --client on Windows
2025-03-17 00:46:31 -04:00
Eugene Yokota ff4825ccff fix: Fix sbt --client on Windows
**Problem**
sbt --client doens't work on Windows because the runner script
passes itself to the server, but it's unable to launch Bash script.

**Solution**
Pass in the bat version instead on Windows.
2025-03-16 23:57:47 -04:00
eugene yokota 1b4a345406
Merge pull request #8070 from eed3si9n/wip/bump-io
[1.x] fix: Use Retry.io for compilation
2025-03-16 22:25:06 -04:00
Eugene Yokota 12d2cc8ef1 fix: Use Retry.io for compilation
**Problem**
sbt 1.10.10 still has retry problem with compilation.

**Solution**
Revert the retry logic back to the time when we only retried IOExceptions.
2025-03-16 21:43:01 -04:00
eugene yokota 75536d12a5
Merge pull request #8069 from eed3si9n/wip/update-coursier
[1.x] Update lm-coursier-shaded to 2.1.8
2025-03-16 21:15:22 -04:00
Eugene Yokota 0e1088145a Update lm-coursier-shaded to 2.1.8 2025-03-16 19:53:50 -04:00