Improve remote externalities logging#7021
Conversation
Signed-off-by: Xavier Lau <x@acg.box>
|
@bkchr 🙏🏻 |
bkchr
left a comment
There was a problem hiding this comment.
Ty!
Some nitpicks, otherwise it looks good
Done. Happy New Year :)
Done. |
Signed-off-by: Xavier Lau <x@acg.box>
4657b5f to
ddbb337
Compare
|
/cmd prdoc --audience node_dev --bump patch |
| let timer = Instant::now(); | ||
| let mut maybe_sp = start(start_msg); | ||
|
|
||
| Ok(end(f()?, timer, maybe_sp.as_mut(), end_msg)) |
There was a problem hiding this comment.
Could probably get rid of the sync variant if you wanted to and always use the async one.
|
Happy new year and thanks for the fix! |
|
/tip small |
|
/bot fmt |
|
@ggwpez A referendum for a small (20 DOT) tip was successfully submitted for @AurevoirXavier (156HGo9setPcU2qhFMVWLkcmtCEGySLwNqa3DaEiYSWtte4Y on polkadot). |
|
The referendum has appeared on Polkassembly. |
|
bot fmt |
|
@bkchr https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/7964469 was started for your command Comment |
|
@bkchr Command |
Changes: - Automatically detect if current env is tty. If not disable the spinner logging. - Add `Result` type. - Format log style. Originally reported from: - https://github.com/hack-ink/polkadot-runtime-releaser/blob/4811d2b419649a73edd5bd1f748a858b846eb139/action/try-runtime/action.yml#L75-L91 - hack-ink/polkadot-runtime-releaser-workshop#3 (comment) Closes paritytech#7010. --- Polkadot address: 156HGo9setPcU2qhFMVWLkcmtCEGySLwNqa3DaEiYSWtte4Y --------- Signed-off-by: Xavier Lau <x@acg.box> Co-authored-by: command-bot <> Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* master: (256 commits) fix chunk fetching network compatibility zombienet test (#6988) chore: delete repeat words (#7034) Print taplo version in CI (#7041) Implement cumulus StorageWeightReclaim as wrapping transaction extension + frame system ReclaimWeight (#6140) Make `TransactionExtension` tuple of tuple transparent for implication (#7028) Replace duplicated whitelist with whitelisted_storage_keys (#7024) [WIP] Fix networking-benchmarks (#7036) [docs] Fix release naming (#7032) migrate pallet-mixnet to umbrella crate (#6986) Improve remote externalities logging (#7021) Fix polkadot sdk doc. (#7022) Remove warning log from frame-omni-bencher CLI (#7020) [pallet-revive] fix file case (#6981) Add workflow for networking benchmarks (#7029) [CI] Skip SemVer on R0-silent and update docs (#6285) correct path in cumulus README (#7001) sync: Send already connected peers to new subscribers (#7011) Excluding chainlink domain for link checker CI (#6524) pallet-bounties: Fix benchmarks for 0 ED (#7013) Log peerset set ID -> protocol name mapping (#7005) ...

Changes:
Resulttype.Originally reported from:
Closes #7010.
Polkadot address: 156HGo9setPcU2qhFMVWLkcmtCEGySLwNqa3DaEiYSWtte4Y