-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
akka-cluster-typed 2.6 with jackson serialization; server
docker deployment; and more
#524
base: main
Are you sure you want to change the base?
Commits on Aug 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 017a716 - Browse repository at this point
Copy the full SHA 017a716View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5994003 - Browse repository at this point
Copy the full SHA 5994003View commit details -
Configuration menu - View commit details
-
Copy full SHA for ecbf6fc - Browse repository at this point
Copy the full SHA ecbf6fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29cd0b5 - Browse repository at this point
Copy the full SHA 29cd0b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f83141 - Browse repository at this point
Copy the full SHA 7f83141View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91cc388 - Browse repository at this point
Copy the full SHA 91cc388View commit details -
Configuration menu - View commit details
-
Copy full SHA for eeeb955 - Browse repository at this point
Copy the full SHA eeeb955View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8196b8b - Browse repository at this point
Copy the full SHA 8196b8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c2d5d35 - Browse repository at this point
Copy the full SHA c2d5d35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00ea7f0 - Browse repository at this point
Copy the full SHA 00ea7f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1a4b4e - Browse repository at this point
Copy the full SHA d1a4b4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ca8f79 - Browse repository at this point
Copy the full SHA 6ca8f79View commit details -
update play-json 2.6.14 and 2.10.0-RC5
+ 2.6.9 -> 2.6.14 for scala 2.10 + 2.9.0 -> 2.10.0-RC5 for scala 2.12, 2.13
Configuration menu - View commit details
-
Copy full SHA for 44a06fc - Browse repository at this point
Copy the full SHA 44a06fcView commit details -
clean code: Fix a scalas 2.13 deprecated warnings
warnings about missing `()` when calling/ overriding some methods
Configuration menu - View commit details
-
Copy full SHA for 52f4f0e - Browse repository at this point
Copy the full SHA 52f4f0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 044fa6f - Browse repository at this point
Copy the full SHA 044fa6fView commit details -
clean code: DispatchActor.remoteSbtSelections
Don't create class fields just for initializing other field
Configuration menu - View commit details
-
Copy full SHA for d66bbb5 - Browse repository at this point
Copy the full SHA d66bbb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8068c72 - Browse repository at this point
Copy the full SHA 8068c72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 950de9e - Browse repository at this point
Copy the full SHA 950de9eView commit details -
Fix storate/ listSnippets test case
When testing in local machine (not in CI), the order of actual result list is not always [3,2,1]
Configuration menu - View commit details
-
Copy full SHA for df1f9b4 - Browse repository at this point
Copy the full SHA df1f9b4View commit details -
Rename sbtRunner's application.conf to reference.conf
+ server use reference.conf instead of application.conf so sbtRunner should use the same naming. + This also permit use config in this file in balancer/test which has sbtRunner as a Test dependency.
Configuration menu - View commit details
-
Copy full SHA for 72182aa - Browse repository at this point
Copy the full SHA 72182aaView commit details -
Migrate to akka-typed and use cluster instead of remote only
# Changes + Also use jackson for serialization instead of java-serializer. - Implement in utils/ PlayJackson.scala - Config in utils/ reference.conf - Config removed: warn-about-java-serializer-usage = false + Use Actor discovery [1], so: - Remove ActorReconnecting, SbtPing, SbtPong, SbtRunnerConnect, ActorConnected - server/ balancer don't need to know sbtRunner's host/port. So, we remove some configs such as: balancer.remote-hostname, remote-sbt-ports-start,.. + Type safe configuration: - Use ConfigLoader & EnrichedConfig from playframework. - Add some case classes: BalancerConf (in DispatchActor.scala), SbtConf (in SbtActor.scala) # Configs change: + Add `com.olegych.scastie.data-dir` # Other notes + There is no sender() and parent in akka typed [2] So, we need explicitly add `replyTo` ActorRef to several messages. + Supervision: When an exception is thrown and no supervision strategy is defined, then actor will stop in akka typed instead of restart as in classic [3] So, some actors, such as SbtActor need be explicitly supervising. + SbtProcess: Migrated from classic FSM to typed [4] # Refs [1] https://doc.akka.io/docs/akka/current/typed/actor-discovery.html [2] https://doc.akka.io/docs/akka/current/typed/from-classic.html#sender [3] https://doc.akka.io/docs/akka/current/typed/from-classic.html#supervision [4] https://doc.akka.io/docs/akka/current/typed/fsm.html
Configuration menu - View commit details
-
Copy full SHA for 3f9caa2 - Browse repository at this point
Copy the full SHA 3f9caa2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2062051 - Browse repository at this point
Copy the full SHA 2062051View commit details -
Configuration menu - View commit details
-
Copy full SHA for acc5cff - Browse repository at this point
Copy the full SHA acc5cffView commit details -
Use play-json's JsValueDeserializer
The previous JsValueDeserializer implementation is working but it's a bit hacking :D
Configuration menu - View commit details
-
Copy full SHA for 8c204aa - Browse repository at this point
Copy the full SHA 8c204aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e3dacf - Browse repository at this point
Copy the full SHA 5e3dacfView commit details -
PlayJsonDeserializer: Don't consume all input source
Don't consume input source beyond the ending '}' location of the parsing JsObject
Configuration menu - View commit details
-
Copy full SHA for ca0ac20 - Browse repository at this point
Copy the full SHA ca0ac20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bc8df6 - Browse repository at this point
Copy the full SHA 7bc8df6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 741aedc - Browse repository at this point
Copy the full SHA 741aedcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fef919 - Browse repository at this point
Copy the full SHA 6fef919View commit details -
sbt: Reimplement sbt Deployment code
+ deploy, deployServer, deployQuick, deployLocal is now commandAliases instead of TaskKeys. + Add dockerCompose task + Run `server` by `docker run --network=host ...` instead of `java ...` + Fix: deployLocal fail if you don't have access to scastie-secrets github repo. + Also remove the unused RUNNER_PRODUCTION env variable
Configuration menu - View commit details
-
Copy full SHA for e3b1329 - Browse repository at this point
Copy the full SHA e3b1329View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f9d1a3 - Browse repository at this point
Copy the full SHA 6f9d1a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00e3f13 - Browse repository at this point
Copy the full SHA 00e3f13View commit details -
Configuration menu - View commit details
-
Copy full SHA for f40e70a - Browse repository at this point
Copy the full SHA f40e70aView commit details -
Don't need this logic as we are now running scastie in docker
Configuration menu - View commit details
-
Copy full SHA for 54d448d - Browse repository at this point
Copy the full SHA 54d448dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf4b0c3 - Browse repository at this point
Copy the full SHA cf4b0c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f93d7db - Browse repository at this point
Copy the full SHA f93d7dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for cff758b - Browse repository at this point
Copy the full SHA cff758bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4f4266 - Browse repository at this point
Copy the full SHA e4f4266View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6435fb6 - Browse repository at this point
Copy the full SHA 6435fb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cf0d9e - Browse repository at this point
Copy the full SHA 4cf0d9eView commit details -
Do not flood the console log when asking SnippetProgress
+ Exception `e` always be `AskTimeoutException` + The `scalaJsContent` and `scalaJsSourceMapContent` may be very long Strings!
Configuration menu - View commit details
-
Copy full SHA for 0e2caf7 - Browse repository at this point
Copy the full SHA 0e2caf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 459088c - Browse repository at this point
Copy the full SHA 459088cView commit details