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
Adrien Piquerez
ba5ac774df
Test custom class directory
2024-08-26 10:43:15 +02:00
James Roper
a7481e49d0
Include ALL sources, and resources in source jar
...
This follows on from #7470 , to include all sources, not just managed and
unmanaged, in the source jar, along with all resources (previously only
unmanaged resources were included).
This means that if, for whatever crazy reason, someone does modify the
`sources` task to include additional sources or filter out sources, rather than
using the managed or unmanaged source mechanisms, their changes will still be
reflected in the source jar.
2024-08-26 13:07:17 +10:00
Eugene Yokota
b7e037adbb
Use VirtualFileRef of the classes directory
2024-08-22 01:49:49 -04:00
Tomasz Godzik
1d9fabb3f5
Merge pull request #513 from scala-steward/update/sbt-ci-release-1.6.1
...
Update sbt-ci-release to 1.6.1
2024-08-21 20:38:12 +02:00
Scala Steward
7f2a51179b
Update sbt-ci-release to 1.6.1
2024-08-21 14:22:55 +00: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
b355d8db40
Merge pull request #512 from scala-steward/update/sbt-ci-release-1.6.0
...
Update sbt-ci-release to 1.6.0
2024-08-12 18:15:52 -04:00
Scala Steward
821aef839b
Update sbt-ci-release to 1.6.0
2024-08-12 19:27:48 +00:00
Tomasz Godzik
203f5bb055
Merge pull request #510 from scala-steward/update/utest-0.8.4
...
Update utest to 0.8.4
2024-08-12 15:59:54 +02:00
Tomasz Godzik
7fa4187b82
Merge pull request #511 from scala-steward/update/sbt-mima-plugin-1.1.4
...
Update sbt-mima-plugin to 1.1.4
2024-08-12 15:59:31 +02:00
Scala Steward
ec44c9d095
Update sbt-mima-plugin to 1.1.4
2024-08-12 13:02:20 +00:00
Scala Steward
a624ee05e9
Update utest to 0.8.4
2024-08-12 13:02:15 +00: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