Bernhard Schuster
450ca2baca
overseer becomes orchestra ( #5542 )
...
* rename overseer-gen to orchestra
Also drop `gum` and use `tracing`.
* make orchestra compile as standalone
* introduce Spawner trait to split from sp_core
Finalizes the independence of orchestra from polkadot-overseer
* slip of the pen
* other fixins
* remove unused import
* Update node/overseer/orchestra/proc-macro/src/impl_builder.rs
Co-authored-by: Vsevolod Stakhov <vsevolod.stakhov@parity.io >
* Update node/overseer/orchestra/proc-macro/src/impl_builder.rs
Co-authored-by: Vsevolod Stakhov <vsevolod.stakhov@parity.io >
* orchestra everywhere
* leaky data
* Bump scale-info from 2.1.1 to 2.1.2 (#5552 )
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/paritytech/scale-info/releases )
- [Changelog](https://github.com/paritytech/scale-info/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/scale-info/compare/v2.1.1...v2.1.2 )
---
updated-dependencies:
- dependency-name: scale-info
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add missing markdown code block delimiter (#5555 )
* bitfield-signing: remove util::jobs usage (#5523 )
* Switch to pooling copy-on-write instantiation strategy for WASM (companion for Substrate#11232) (#5337 )
* Switch to pooling copy-on-write instantiation strategy for WASM
* Fix compilation of `polkadot-test-service`
* Update comments
* Move `max_memory_size` to `Semantics`
* Rename `WasmInstantiationStrategy` to `WasmtimeInstantiationStrategy`
* Update a safety comment
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
* Fix build
Co-authored-by: Vsevolod Stakhov <vsevolod.stakhov@parity.io >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Malte Kliemann <mail@maltekliemann.com >
Co-authored-by: Chris Sosnin <48099298+slumber@users.noreply.github.com >
Co-authored-by: Koute <koute@users.noreply.github.com >
2022-05-19 13:42:02 +01:00
Andrei Sandu
7f3001a491
Add counter for bounded channel sends that block. ( #5490 )
...
* Add counter for bounded channel sends that block.
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix typos
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix bounded sent metric
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* refactor a bit and test
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Return disconnect errors early.
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* future proof error handling
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2022-05-17 08:01:48 +00:00
Bernhard Schuster
16fe04dc79
track tof for inter subsystem messages ( #5135 )
2022-03-17 11:19:11 +01:00
Bernhard Schuster
d631f1dea8
observability: tracing gum, automatically cross ref traceID ( #5079 )
...
* add some gum
* bump expander
* gum
* fix all remaining issues
* last fixup
* Update node/gum/proc-macro/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* change
* netowrk
* fixins
* chore
* allow optional fmt str + args, prep for expr as kv field
* tracing -> gum rename fallout
* restrict further
* allow multiple levels of field accesses
* another round of docs and a slip of the pen
* update ADR
* fixup lock fiel
* use target: instead of target=
* minors
* fix
* chore
* Update node/gum/README.md
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
2022-03-15 11:05:16 +00:00
Bernhard Schuster
ee12f6f51a
minor doc chores ( #4219 )
...
* fix/warn: name is unused, only in debug would be used and but nobody does
* chore: Add better docs to `expansion` and why it exists
* chore: fmt
* Revert "chore: fmt"
This reverts commit 94d39bab5d1553d082a032ab6e31f579316dfa40.
2021-11-04 13:53:09 +01:00
Andronik Ordian
8aba3ea8ca
some spelling fixes ( #4088 )
...
* quotes around Job::ToJob
* add new words to dictionary
2021-10-18 11:59:46 +02:00
Bernhard Schuster
3c8e8637ff
feat: measured oneshots ( #3902 )
...
* overseer: remove mut in connector
* monitored oneshots
* fmt
* remove debug log
* Update node/metered-channel/src/oneshot.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* Update node/metered-channel/src/oneshot.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* avoid two Arcs
* add expects
* alt impl
* rework the measured oneshots
* address review comments, use `Measurable` where possible
* chore/tracing: move `PrettyAuthorities` construction out of tracing macros
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-09-29 16:06:20 +00:00
Shawn Tabrizi
ff5d56fb76
cargo +nightly fmt ( #3540 )
...
* cargo +nightly fmt
* add cargo-fmt check to ci
* update ci
* fmt
* fmt
* skip macro
* ignore bridges
2021-08-02 10:47:33 +00:00
Andronik Ordian
7b054b3c77
cleanup stream polls ( #3397 )
...
* metered-channel: remove dead code
* we don't need no fuse
* even more
2021-07-02 10:23:26 +02:00
Andronik Ordian
ffc6f7c731
make ctx.spawn blocking ( #3337 )
...
* make spawn sync
* improve error type
2021-06-21 20:43:40 -05:00
Robert Klotzner
0a9fe852df
Move non runtime related stuff into node/primitives ( #2743 )
...
* Remove stuff out of the runtime that does not belong there.
There might be more, but it is a start.
* White space fixes.
* Fix tests.
* Leave whitespace in ui tests alone.
* Add back zstd for no reason.
* Fix browser wasm (hopefully)
2021-03-29 02:15:44 +02:00
Robert Habermeier
5952e790fa
Overseer: subsystems communicate directly ( #2227 )
...
* overseer: pass messages directly between subsystems
* test that message is held on to
* Update node/overseer/src/lib.rs
Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com >
* give every subsystem an unbounded sender too
* remove metered_channel::name
1. we don't provide good names
2. these names are never used anywhere
* unused mut
* remove unnecessary &mut
* subsystem unbounded_send
* remove unused MaybeTimer
We have channel size metrics that serve the same purpose better now and the implementation of message timing was pretty ugly.
* remove comment
* split up senders and receivers
* update metrics
* fix tests
* fix test subsystem context
* fix flaky test
* fix docs
* doc
* use select_biased to favor signals
* Update node/subsystem/src/lib.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com >
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-03-28 15:55:10 +00:00
Bernhard Schuster
5b363358b8
chore: avoid glob imports ( #2722 )
2021-03-26 15:45:37 +01:00
Robert Habermeier
73b9247c10
Separate metrics for messages sent & received ( #2721 )
...
* metered channel - sent & received
* Add for readouts
* metrics for both sent & received
* retract on send failure
2021-03-26 14:11:01 +01:00
Bernhard Schuster
05f74c2171
do not expect on unbounded send ( #2530 )
2021-02-26 10:46:16 +01:00
Bernhard Schuster
d7adf8f201
metered mpsc channels ( #2235 )
2021-01-13 17:40:27 +01:00