adpi2
6a2c4e56ea
Merge branch 'develop' into sbt-projectmatrix
2024-09-17 17:03:20 +02:00
Adrien Piquerez
b59856bcba
Merge sbt-projectmatrix
2024-09-17 17:02:30 +02:00
Adrien Piquerez
7c01636efa
Move sources from sbt-projectmatrix
2024-09-17 17:00:04 +02:00
Adrien Piquerez
6da4790671
Format
2024-09-17 16:54:34 +02:00
Adrien Piquerez
3dcc6cfcd1
Merge branch 'develop' of ../sbt-projectmatrix into sbt-projectmatrix
2024-09-17 16:54:18 +02:00
eugene yokota
cb9a455915
Merge pull request #7676 from eed3si9n/wip/invalidate-on-resource
...
[2.x] fix: Invalidate testQuick on resource file changes
2024-09-17 10:26:15 -04:00
eugene yokota
a68984b877
Merge pull request #7679 from eed3si9n/fport/sbt-cross-publishing
...
[2.x] feat: Use _sbt2_3 suffix
2024-09-16 02:02:05 -04:00
eugene yokota
ac0edfc6bb
Merge pull request #7677 from eed3si9n/wip/delete-ivy-test
...
[2.x] refactor: Delete Ivy-related test
2024-09-16 01:08:48 -04:00
Eugene Yokota
683bece1c4
Use sbt 1.10.2
2024-09-16 00:53:01 -04:00
Eugene Yokota
803e575b8a
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-16 00:51:00 -04:00
Eugene Yokota
86a60583a3
refactor: Delete Ivy-related test
2024-09-15 18:29:40 -04:00
Eugene Yokota
c13c25fdff
fix: Invalidate testQuick on resource file changes
...
**Problem**
testQuick currently does not invalidate on resource file changes.
**Solution**
This includes resource digests into the input.
2024-09-15 18:13:56 -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
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
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