Commit graph

56 commits

Author SHA1 Message Date
He-Pin(kerr)
4d89553471
chore: Use scala.jdk.CollectionConverters (#2236) 2025-09-20 11:15:41 +08:00
scala-steward-asf[bot]
94ae86fa6f
Update sbt-header to 5.11.0 (#2217)
* Update sbt-header to 5.11.0

* chore: fix imports

---------

Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
Co-authored-by: He-Pin <hepin1989@gmail.com>
2025-09-14 14:26:08 +08:00
He-Pin(kerr)
c6af89b083
Update/sbt scalafmt 2.5.5 (#1938)
* Update sbt-scalafmt to 2.5.5

* chore: Fix scalafmtConfigSettings usage.

---------

Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2025-07-07 19:13:19 +08:00
Matthew de Detrich
98d479f89f
Use lazy val's in sbt build (#1016) 2024-01-22 14:15:16 +08:00
Matthew de Detrich
9b00480828 Simplify and cleanup MultiJvm, MultiNode, Copyright in sbt build 2024-01-22 02:40:17 +01:00
He-Pin
0e89e793aa !test Migrate multi node testkit to Netty 4.
Signed-off-by: He-Pin <hepin1989@gmail.com>
2023-08-07 04:23:57 +08:00
Matthew de Detrich
b7fdada663 Remove org.apache.pekko package from sbt build 2023-07-30 14:47:28 +02:00
PJ Fanning
b0fdac259b
adjust ASF header (#450) 2023-06-22 14:19:26 +01:00
PJ Fanning
7e653454a9
use pekko: in urls and fix other branding issues (#184)
* use pekko: in urls and fix other branding issues

* update comments

* fix artery test

* test changes

* scalafmt

* try to fix some tests and fixing more akka refs

* more akka refs

* more changes

* more akka refs

* Update LeaseMajoritySpec.scala

* Update docs/src/main/paradox/testing.md

Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>

* Update docs/src/main/paradox/project/migration-guides.md

Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>

* Update actor/src/main/scala/org/apache/pekko/serialization/Serialization.scala

Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>

* Update scripts/release-train-issue-template.md

Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>

* revert link-validation change

* Update JacksonModule.scala

* revert key name changes to fix 2 tests

* fix one test

* more test trouble

* more test issues

* fix hashing test

* Update RouterTest.java

* update code comment

---------

Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>
2023-02-22 12:48:15 +01:00
PJ Fanning
c32fcf1f0a
update more akka refs to use pekko name (#200) 2023-02-17 10:49:40 +01:00
He-Pin
4ac0f00a47 Update headers with The Apache header annotated. 2023-01-12 10:59:28 +08:00
Matthew de Detrich
07a47741a1 Rename akka to pekko in system properties 2022-12-03 15:03:47 +01:00
Matthew de Detrich
61fbb7ebc0 Rename akka to pekko in CliOption and fix mima 2022-12-03 13:07:19 +01:00
Greg Methvin
3d93dbcb81
Rename akka to pekko in configuration (#63)
Resolves https://github.com/apache/incubator-pekko/issues/54
2022-12-02 04:53:48 -08:00
Matthew de Detrich
f84e8db3cb Rename akka package to org.apache.pekko 2022-11-30 16:45:15 +01:00
Renato Cavalcanti
7abc41cf4e
update copyright year to 2022 (#31057) 2022-02-04 12:36:44 +01:00
Johan Andrén
9b97614b95
JDK 17 CI nightly job (#31085) 2022-01-27 16:14:29 +01:00
Patrik Nordwall
5d381cdc74
Propagate aeron system properties to forked jvm, #30601 (#30894) 2021-11-16 15:33:13 +01:00
Renato Cavalcanti
4ef9b31d8e
move aeron tests in multi-node (#30706) 2021-10-20 08:07:47 +02:00
Andrea Peruffo
d75ad252b8
Run multi-node tests on fresh GKE clusters (#30570)
* Port multi-node-test from Jenkins
* link to issues for gh-excluded tests
* use kubectl in multi-jvm plugin
2021-08-27 17:40:51 +02:00
Marcos Pereira
7cdca36ab8
Some minor build clean ups
- Resolve some warnings due to depracations
- Fix an infinite recursion
- Minor refactoring to use sys.props instead of System.getProperty
2021-08-19 20:03:07 -04:00
Ignasi Marimon-Clos
3a76aa1ad2 Migrate PRValidation to GHActions
* Set sbtopts inline
* Ignore flaky, obsolete test
* Adds concurrency limit (run only latest commit
* Don't run scala3 workflows until ready to merge
* split publishLocal from pr validation
2021-08-11 11:26:04 +02:00
Lukas Rytz
aa03e8b089
Update Scala to 3.0.0 final, sbt to 1.5.2 (#30248)
Also: Migrate to sbt slash syntax
2021-05-25 12:50:51 +02:00
Andrea Peruffo
da70e0ccd4
Scala 3 cross compatible akka-actor / akka-testkit / akka-actor-tests (#29956)
* Remove @switch when it doesn't take effect
* Use ActorRef.noSender
* Minor tweaks to SchedulerSpec
* Disambiguate TypedActor for Scala 3
* Bump ScalaTest to a version compatible with Scala 3
* Bump ScalaCheck
* Disambiguate Event in SupervisorHierarchySpec
* Scala 3 compatible EventBusSpec
* Prevent private unused variables to be erased by Scala 3
* Bump mockito
* Explicit actorRef2Scala import
* restore original .scalafix.conf
* Scala 3 compatible tailrec
* Reminder to re add switch annotation in case
* Move to nowarn instead of silencer
* Bump to Scala 2.12.13
* Cross compatible annotations
* fix docs generation
* adapt the build for Scala 3
* fix errors but bus
* remove more SerialVersion from trait
* scalacheck only from scalatest
* cross-compile akka-actor-tests
* restore cross-compilation
* early initializers workaround
* scalacheck switch
* cross compatible FSM.State class
* cross compatible LARS spec
* Change results to pass LineNumberSpec
* fix stackoverflow in AsyncDnsResolverIntegrationSpec
* FSM.State unapply
* fix Scala 2.13 mima
* SerialVersionRemover compiler plugin
* removed unused nowarns
2021-02-01 16:38:29 +01:00
Arnout Engelen
31f654768f
Update copyright to 2021 2021-01-08 17:55:38 +01:00
Helena Edelson
6bf20f4117 Update all copyright headers to 2020 after new year's #27881 (#28434) 2020-01-02 13:24:59 +01:00
Helena Edelson
36f2731846
Multi-jvm assembly: deduplicate: META-INF default file #27667 (#27668) 2019-09-09 12:36:05 -07:00
Patrik Nordwall
cf813048dc assemblyMergeStrategy first for logback-test.xml 2019-09-06 14:59:57 +02:00
Arnout Engelen
d390fcf183 Introduce warning silencer plugin (#26588)
So now we can compile akka-distributed-data with
-Xfatal-warnings - though I'm not yet sure about
enabling the (other) undisciplineScalacOptions

* Fix multi-node silencing
* Fix scaladoc warnings
* Introduce annotation to declare ccompat use
* Add explicit toString
* Fix deprecation on 2.13
* Move 'immutable' ccompat helpers to shared ccompat package
* Add MiMa for internal scala 2.13 compatibility class
* Internal API markers
* Fix scaladoc generation
Got bitten by https://github.com/scala/bug/issues/11021
2019-03-26 14:41:29 +01:00
Christopher Batey
2e247001f7 Validate compile in multi-jvm (#26400)
* New validateCompile task for multi jvm to run in travis
2019-03-12 12:43:02 +01:00
Patrik Nordwall
5c96a5f556 replace unicode arrows
* ⇒, →, ←
* because we don't want to show them in documentation snippets and
  then it's complicated to avoid that when snippets are
  located in src/test/scala in individual modules
* dont replace object `→` in FSM.scala and PersistentFSM.scala
2019-03-11 16:58:51 +01:00
Patrik Nordwall
e4d38f92a4 Switch to Scalafmt in build
* AvoidInfix in scalafmt.conf

* align.tokens in scalafmt.conf

* scalafmt in MultiJvm

* sbt-scalafmt 2.0.0-RC5

* scalafmt in all* command alias

* scalafmtAll in CONTRIBUTING.md
2019-03-11 16:56:39 +01:00
kerr
bdc90052aa Update headers from 2018 to 2019 once for all. (#26165)
* Add CopyrightHeader support for sbt-boilerplate plugin.
* Add CopyrightHeader support for `*.proto` files.
* Add regex match for both `–` and `-` for CopyrightHeader.
* Add CopyrightHeader support for sbt build files.
* Update copyright from 2018 to 2019.
2019-01-02 11:55:26 +01:00
kenji yoshida
5b3b191bac Remove procedure syntax (#25362) 2018-07-25 13:38:27 +02:00
Johan Andrén
6a6b5822b1 Include compiling multi-jvm tests in PR validation (#25245) 2018-06-27 07:04:05 +02:00
Christopher Batey
a3e52078df Enable header plugin for the MultiJVM configuration (#24974)
Seems when did the changes for 2018 it intro introduced a space in all
after, hence so many changes.
2018-04-25 00:03:55 +09:00
Patrik Nordwall
4cbc0494ca
Merge pull request #24505 from jrudolph/jr/enable-sbt-log-timestamps
=pro add log timestamps to all sbt output and enable sbt debug logging for multi-jvm for ssh debugging
2018-03-21 13:46:52 +01:00
Konrad `ktoso` Malawski
563c7fbcf0 Issue 24594: Integration with sbt-headers and initial header population 2018-03-13 15:45:55 +01:00
Johannes Rudolph
b82024681c
=pro add log timestamps to all sbt output and enable sbt debug logging for multi-jvm for ssh debugging 2018-03-05 16:35:47 +01:00
Christopher Batey
009214ae07
Update copyright to 2018 (#24241) 2018-01-04 17:26:29 +00:00
kenji yoshida
32a23dd5ec fix deprecation warning in project/MultiNode.scala (#23941)
```
project/MultiNode.scala:46:12: method unapplySeq in class Regex is deprecated (since 2.11.0): extracting a match result from anything but a CharSequence or Match is deprecated
[warn]       case MultinodeJvmArgs(a, b) ⇒
[warn]            ^
```

- https://github.com/scala/scala/blob/v2.12.4/src/library/scala/util/matching/Regex.scala#L340
- https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html

`System.getProperties.propertyNames.asScala.toList` return `List[Any]`
2017-11-08 12:04:36 +09:00
Martynas Mickevičius
82ca8a2cc7 Port build to SBT 1.x (#23850)
* Port build to SBT 1.x

* Fix multinode tests, always enable genjavadoc bootstrap
2017-10-30 10:13:13 +09:00
Christopher Batey
70ad537af5 Retry creation of ActorSystem in remoting tests #23481 (#23769)
* Retry creation of ActorSystem in remoting tests #23481

Remoting multi-jvm test rely on setting port = 0 which selects an open
port. This has a race where two of the JVMs open/close the same port
then configure their ActorSystem with it so one of them fails to start
due to the port being in use. This adds a simple retry so another port
is selected.
2017-10-24 14:22:25 +02:00
Arnout Engelen
b1df13d4d4 Update scalariform (#23778) (#23783) 2017-10-06 10:30:28 +02:00
Johan Andrén
fca07bb976 Deprecated build symbols replaced 2017-03-15 15:01:53 +01:00
Philippus Baalman
6c7085252a extended copyright into 2017 2017-01-04 17:37:15 +01:00
Patrik Nordwall
e04444567f Speedup pull request validation
* speedup ActorCreationPerfSpec
* reduce iterations in ConsistencySpec
* tag SupervisorHierarchySpec as LongRunningTest
* various small speedups and tagging in actor-tests
* speedup expectNoMsg in stream-tests
* tag FramingSpec, and reduce iterations
* speedup QueueSourceSpec
* tag some stream-tests
* reduce iterations in persistence.PerformanceSpec
* reduce iterations in some cluster perf tests
* tag RemoteWatcherSpec
* tag InterpreterStressSpec
* remove LongRunning from ClusterConsistentHashingRouterSpec
* sys property to disable multi-jvm tests in test
* actually disable multi-node tests in validatePullRequest
* doc sbt flags in CONTRIBUTING
2016-11-30 14:31:06 +01:00
Johan Andrén
62e30b3c08 Update copyrights and links to the new company name #19851 2016-02-23 12:58:39 +01:00
Prayag Verma
b7783968a0 =pro #19068 All copyrights ranges and single years updated to a range ending in 2016 2016-01-25 10:20:30 +01:00
Martynas Mickevičius
7fc2790458 =pro run multi-jvm tests when validating pr
* addunidoc task via an AutoPlugin that depends on PrValidation and Unidoc autoplugins
* separate cli option logic to a case class
* remove autoplugin for root project
2015-05-28 13:57:50 +03:00