Robert Habermeier
1d695612c4
strengthen signals-received atomics ( #5132 )
...
* strengthen signals-received atomics
* Update node/overseer/overseer-gen/src/lib.rs
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* fmt
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
2022-03-16 16:40:32 +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
Vsevolod Stakhov
84f55cc8d5
Create a more rigid overseer builder pattern that fails at compile time ( #4753 )
...
Introduces `Missing<Field>` and `Init<Field>` states, that are used in place of builder generics, and make this possible.
2022-02-09 17:01:16 +01:00
sandreim
b0f89bbfbc
Per subsystem CPU usage tracking ( #4239 )
...
* SubsystemContext: add subsystem name str
Signed-off-by: Andrei Sandu <sandu.andrei@gmail.com >
* Overseer builder proc macro changes
* initilize SubsystemContext name field.
* Add subsystem name in TaskKind::launch_task()
Signed-off-by: Andrei Sandu <sandu.andrei@gmail.com >
* Update ToOverseer enum
Signed-off-by: Andrei Sandu <sandu.andrei@gmail.com >
* Assign subsystem names to orphan tasks
Signed-off-by: Andrei Sandu <sandu.andrei@gmail.com >
* cargo fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* SubsystemContext: add subsystem name str
Signed-off-by: Andrei Sandu <sandu.andrei@gmail.com >
* Overseer builder proc macro changes
* initilize SubsystemContext name field.
* Add subsystem name in TaskKind::launch_task()
Signed-off-by: Andrei Sandu <sandu.andrei@gmail.com >
* Update ToOverseer enum
Signed-off-by: Andrei Sandu <sandu.andrei@gmail.com >
* Assign subsystem names to orphan tasks
Signed-off-by: Andrei Sandu <sandu.andrei@gmail.com >
* cargo fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Rebase changes for new spawn() group param
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Add subsystem constat in JobTrait
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Add subsystem string
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix spawn() calls
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* cargo fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix more tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Address PR review feedback #1
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Address PR review round 2
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fixes
- remove JobTrait::Subsystem
- fix tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* update Cargo.lock
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-11-11 18:53:37 +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
Denis Pisarev
fc253e6e4d
WIP: CI: add spellcheck ( #3421 )
...
* CI: add spellcheck
* revert me
* CI: explicit command for spellchecker
* spellcheck: edit misspells
* CI: run spellcheck on diff
* spellcheck: edits
* spellcheck: edit misspells
* spellcheck: add rules
* spellcheck: mv configs
* spellcheck: more edits
* spellcheck: chore
* spellcheck: one more thing
* spellcheck: and another one
* spellcheck: seems like it doesn't get to an end
* spellcheck: new words after rebase
* spellcheck: new words appearing out of nowhere
* chore
* review edits
* more review edits
* more edits
* wonky behavior
* wonky behavior 2
* wonky behavior 3
* change git behavior
* spellcheck: another bunch of new edits
* spellcheck: new words are koming out of nowhere
* CI: finding the master
* CI: fetching master implicitly
* CI: undebug
* new errors
* a bunch of new edits
* and some more
* Update node/core/approval-voting/src/approval_db/v1/mod.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* Update xcm/xcm-executor/src/assets.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* Apply suggestions from code review
Co-authored-by: Andronik Ordian <write@reusable.software >
* Suggestions from the code review
* CI: scan only changed files
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-07-14 19:22:58 +02:00
Kian Paimani
d53ec86bbe
Companion for substrate/pull/9286 ( #3443 )
...
* Fix weights
* try something to unbreak companion
* update Substrate
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: parity-processbot <>
2021-07-09 20:25:13 +00:00
Bernhard Schuster
3c9104daff
refactor overseer into proc-macro based pattern ( #2962 )
2021-07-08 21:09:26 +02:00