Commit Graph

69 Commits

Author SHA1 Message Date
Tony Garnock-Jones 2a7606d626 Track actors globally (eventually for reflection/introspection) 2021-10-05 12:39:28 +02:00
Tony Garnock-Jones 6fb1db4f6b Improve logging 2021-10-04 14:40:39 +02:00
Tony Garnock-Jones ed12c0883e Switch to parking_lot for another performance boost 2021-09-30 13:32:41 +02:00
Tony Garnock-Jones c252975a16 Bump again for a performance boost 2021-09-30 13:16:56 +02:00
Tony Garnock-Jones bb01227b08 Bump preserves versions 2021-09-30 13:10:01 +02:00
Tony Garnock-Jones de795219af Fix up daemon retry logic. Also: named fields; better stop logic.
In particular:

1. The root facet is considered inert even if it has outbound
assertions. This is because the only outbound assertion it can have is
a half-link to a peer actor, which shouldn't prevent the actor from
terminating normally if the user-level "root" facet stops.

2. On stop_facet_and_continue, parent-facet continuations execute
inline rather than at commit time. This is so that a user-level "root"
facet can *replace* itself. Remains to be properly exercised/tested.
2021-09-28 17:10:36 +02:00
Tony Garnock-Jones 013e99af70 Greatly improve service lifecycle handling 2021-09-28 12:53:18 +02:00
Tony Garnock-Jones d02945c835 Merge latest changes from the syndicate-protocols repository 2021-09-27 13:57:32 +02:00
Tony Garnock-Jones 9f3d3dbbc9 Merge latest changes from the syndicate-protocols repository 2021-09-27 13:50:41 +02:00
Tony Garnock-Jones a263a7091d Tweak debug outputs 2021-09-26 11:02:55 +02:00
Tony Garnock-Jones da3fa84fc0 Update preserves dep to 2.0.0 2021-09-25 11:20:30 +02:00
Tony Garnock-Jones 5a8a508fdc More general on_stop; the old behaviour is now at on_stop_notify 2021-09-24 16:14:55 +02:00
Tony Garnock-Jones ffae9be241 No more distinction between internal/external protocol variants 2021-09-24 13:04:15 +02:00
Tony Garnock-Jones 9adabddf54 Merge latest changes from the syndicate-protocols repository 2021-09-24 13:03:35 +02:00
Tony Garnock-Jones cc689686ae Armstrong Ring benchmark 2021-09-24 10:57:32 +02:00
Tony Garnock-Jones 531d66205b Intra-actor dataflow and fields; `enclose!` macro 2021-09-23 21:43:32 +02:00
Tony Garnock-Jones 988a22afde Retrieve daemon config 2021-09-20 15:43:00 +02:00
Tony Garnock-Jones 9a09cac5f7 Use `during!` macro in services 2021-09-20 15:10:31 +02:00
Tony Garnock-Jones d5b28097ef Wildcard pattern generation; reactivate daemon stub 2021-09-20 14:35:29 +02:00
Tony Garnock-Jones ccd54be3b2 Adapt to new Preserves major version; stub daemon basis 2021-09-19 16:53:37 +02:00
Tony Garnock-Jones 6c72ed918a (cargo-release) version 0.11.0 2021-09-10 12:43:25 +02:00
Tony Garnock-Jones b5b1a6883c Repair reference-counting across membranes. 2021-09-08 13:11:54 +02:00
Tony Garnock-Jones 7aa67adfbf Use deserialize to avoid a bunch of useless work and code 2021-09-07 23:07:03 +02:00
Tony Garnock-Jones a7cb035b45 Make it possible to retract a handle from a non-current facet in the current actor 2021-09-07 19:12:32 +02:00
Tony Garnock-Jones 2cb72cd020 TODO 2021-09-07 17:28:53 +02:00
Tony Garnock-Jones 9f3b9cfd59 More docs 2021-09-04 17:48:22 +02:00
Tony Garnock-Jones 4af561537b Flow control documentation 2021-09-04 17:38:34 +02:00
Tony Garnock-Jones facef964c4 preserves 1.0.0 2021-09-02 11:17:07 +02:00
Tony Garnock-Jones 5f4f7d3a94 Bump deps 2021-09-02 11:10:32 +02:00
Tony Garnock-Jones e90fe2c41e Supervisor RestartPolicy 2021-09-01 17:31:01 +02:00
Tony Garnock-Jones 74ca267cef Move prevent_inert_check to During facet, where it is more generally useful 2021-08-31 17:01:43 +02:00
Tony Garnock-Jones c6e9b613e1 Don't print errors on failed send_actions in EventBuffer::deliver. 2021-08-30 23:49:08 +02:00
Tony Garnock-Jones d8c3e37d17 Supervision; delayed actions; better tracing (incl `M: Debug`); linked task release 2021-08-30 23:41:51 +02:00
Tony Garnock-Jones 5861f91971 Entity::stop, Activation::on_stop 2021-08-30 14:17:40 +02:00
Tony Garnock-Jones 7d70d98fe5 (cargo-release) version 0.10.0 2021-08-30 13:24:55 +02:00
Tony Garnock-Jones 1266a80696 Improve core actor tracing/logging 2021-08-30 12:08:58 +02:00
Tony Garnock-Jones 633b83412e Use tracing's macros for debug/display; enable dataspace debug 2021-08-30 12:08:58 +02:00
Tony Garnock-Jones c0b73d3efa Remove unneeded (?) tokio features 2021-08-30 12:08:58 +02:00
Tony Garnock-Jones 989cc65d1c Fix doc links 2021-08-30 11:56:34 +02:00
Tony Garnock-Jones 8d2b5502be syndicate::convert::any_value 2021-08-30 11:56:26 +02:00
Tony Garnock-Jones 0f1432d414 Dynamic service instantiation 2021-08-28 18:50:55 +02:00
Tony Garnock-Jones c0b5623310 Merge latest changes from the syndicate-protocols repository 2021-08-28 15:35:58 +02:00
Tony Garnock-Jones 3200eb1f9a Move pull-protocols target to repo root 2021-08-28 15:35:54 +02:00
Tony Garnock-Jones 738ac3163a spawn_link; reactive debt_reporter service startup 2021-08-28 14:39:00 +02:00
Tony Garnock-Jones a252cfdfdf Introduce a facet immediately under the root facet for user code to run in, to allow something akin to replacement of the root facet 2021-08-27 23:38:51 +02:00
Tony Garnock-Jones 0eff672c30 Split out initial services in syndicate-server 2021-08-27 16:19:14 +02:00
Tony Garnock-Jones f56c0df10f Facets! 2021-08-27 15:31:18 +02:00
Tony Garnock-Jones ce6c46f1ae Remove actor next_task_id field 2021-08-26 12:39:08 +02:00
Tony Garnock-Jones 87338ce47a Move debt reporter into syndicate-server 2021-08-26 10:16:09 +02:00
Tony Garnock-Jones 1e12d73c50 Logging tweaks 2021-08-26 10:06:05 +02:00