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
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
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
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
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
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
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
Adrien Piquerez
ba5ac774df
Test custom class directory
2024-08-26 10:43:15 +02:00
Eugene Yokota
b7e037adbb
Use VirtualFileRef of the classes directory
2024-08-22 01:49:49 -04:00
Eugene Yokota
d6a65d71e0
Set dirzip to 2010 timestamp
2024-08-21 02:43:36 -04:00
Eugene Yokota
d134c52f4a
Ignore some server tests
2024-08-18 16:25:21 -04:00
Eugene Yokota
0ee768464b
Remove custom target support
2024-08-18 16:24:50 -04:00
Eugene Yokota
2da406673f
Disable Ivy test-artifact test
2024-08-18 13:49:46 -04:00
Eugene Yokota
d9e3bb52b3
Remove unnecessary settings
2024-08-18 12:57:29 -04:00
Eugene Yokota
e0f0550276
Migrate cachedCompileIncrementalTask to dir caching
2024-08-18 12:57:29 -04:00
Eugene Yokota
c9e5924b09
Implement on after sync event
...
When the disk cache syncs dirzip file, it compares the
item hashes against the existing files, and synchronizes them
using the disk cache.
2024-08-18 12:57:29 -04:00
Eugene Yokota
eb9a507419
Refactor Def.declareOutputDirectory to return vf
2024-08-18 12:57:29 -04:00
Eugene Yokota
987ab5f214
Add Def.declareOutputDirectory function
2024-08-18 12:57:29 -04:00
Eugene Yokota
c8ddbaed0e
Implement InternalActionResult
2024-08-18 12:57:29 -04:00
eugene yokota
aaa68883aa
Merge pull request #7625 from eed3si9n/wip/merge-1.10.x
...
[2.x] merge 1.10.x
2024-08-18 12:55:00 -04:00
Eugene Yokota
3ef3a605c2
Merge branch '1.10.x' into wip/merge-1.10.x
2024-08-18 12:37:24 -04:00
eugene yokota
126eb832a8
Merge pull request #7623 from eed3si9n/wip/check-digest
2024-08-14 09:55:21 -04:00
Eugene Yokota
fbd1fb8398
Check the digest during sync
...
**Problem**
Currently `syncBlobs` delete the existing files in the out directory when remote cache kicks in.
**Solution**
1. This refactors `Digest(...)` and adds support for `Digest.apply(Path)` and `Digest.sameDigest(...)`
2. This uses the `sameDigest` to compare the digest and replace the existing out files only when it needs to
2024-08-13 02:39:12 -04:00
eugene yokota
ee16fcfa08
Merge pull request #7622 from eed3si9n/wip/actions
...
Update GitHub Actions
2024-08-13 02:32:52 -04:00
Eugene Yokota
21be4bef9e
Update GitHub Actions
2024-08-13 02:14:37 -04:00
eugene yokota
2f936295f1
Merge pull request #7585 from invadergir/allow-spaces-in-build-properties
...
Trim spaces around k and v to tolerate extra whitespace in build.properties
2024-08-08 02:22:06 -04:00
eugene yokota
b639331188
Merge branch '1.10.x' into allow-spaces-in-build-properties
2024-08-08 01:01:29 -04:00
eugene yokota
2d3dacb46a
Merge pull request #7619 from eed3si9n/wip/doc-scala3
...
Update Scala 3 doc test
2024-08-08 01:01:12 -04:00
Eugene Yokota
7dafcd2df2
Update Scala 3 doc test
...
Current test depends on JCenter.
2024-08-08 00:02:49 -04:00
Eugene Yokota
860e170b6c
sbt 1.10.1
2024-08-07 23:52:33 -04:00
eugene yokota
d7cbd259b8
Merge branch '1.10.x' into allow-spaces-in-build-properties
2024-08-07 18:51:44 -04:00
eugene yokota
d5a4382e68
Merge pull request #7605 from SlowBrainDude/use-common-scala2-version-for-sbtn
2024-07-20 11:22:04 -04:00
eugene yokota
50f6659a08
Merge pull request #7606 from SlowBrainDude/dev-doc-update
2024-07-20 11:21:15 -04:00