Commit Graph

24 Commits

Author SHA1 Message Date
Tony Garnock-Jones b2ee8daf4b (Failed?) Experiment: alternate approach to reporting Facet::activate failures 2022-01-15 23:24:34 +01:00
Tony Garnock-Jones a37a2739a0 Log compiled instructions in config_watcher 2022-01-15 23:23:48 +01:00
Tony Garnock-Jones 41b1708cea Append a [] to config .pr files, for ergonomics of commenting (!) 2022-01-07 17:18:16 +01:00
Tony Garnock-Jones 895a2f676c lifecycle::terminate_on_service_restart; make debt reporter accept a parameter 2022-01-07 17:18:00 +01:00
Tony Garnock-Jones baf98d6c54 Better span naming and logging tweaks 2021-10-08 16:37:17 +02:00
Tony Garnock-Jones 3c42b5eaeb Tweak logging 2021-10-07 22:21:38 +02:00
Tony Garnock-Jones fb744082b9 Only include config files with names ending in .pr 2021-10-07 21:37:24 +02:00
Tony Garnock-Jones ac6f37cf0c Clean up error reporting 2021-10-07 18:10:59 +02:00
Tony Garnock-Jones 40025b90a6 More capability-oriented scripting language 2021-10-07 17:00:04 +02:00
Tony Garnock-Jones 0d7ac7441f stop() and stop_facet(facet_id) now return unit 2021-10-07 16:59:34 +02:00
Tony Garnock-Jones 7b6a2dab76 More interesting config interpreter 2021-10-06 22:03:12 +02:00
Tony Garnock-Jones 280d938cc0 Wait 0.1s instead of 1.0s on config file change 2021-10-05 19:09:32 +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 d3d088418f Dependency tracking, milestones 2021-09-24 16:15:26 +02:00
Tony Garnock-Jones b81e936caf Use `enclose!` macro 2021-09-23 21:46:10 +02:00
Tony Garnock-Jones 9a09cac5f7 Use `during!` macro in services 2021-09-20 15:10:31 +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 e90fe2c41e Supervisor RestartPolicy 2021-09-01 17:31:01 +02:00
Tony Garnock-Jones fb6070d1cd Avoid spurious long-lived Account 2021-08-31 16:21:00 +02:00
Tony Garnock-Jones 2e232ca5b2 Structured pattern syntax (!) 2021-08-31 16:19:29 +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 ea66959cf4 Only insert/replace content for a file if it was able to be read successfully 2021-08-30 13:24:00 +02:00
Tony Garnock-Jones 9b7febb8d7 ConfigWatcher 2021-08-30 12:08:58 +02:00