Skip to content

Commit

Permalink
Improve remote externalities logging (#7021)
Browse files Browse the repository at this point in the history
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 #7010.

---

Polkadot address: 156HGo9setPcU2qhFMVWLkcmtCEGySLwNqa3DaEiYSWtte4Y

---------

Signed-off-by: Xavier Lau <[email protected]>
Co-authored-by: command-bot <>
Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
3 people authored Jan 2, 2025
1 parent 4729457 commit b7e2695
Show file tree
Hide file tree
Showing 3 changed files with 205 additions and 108 deletions.
8 changes: 8 additions & 0 deletions prdoc/pr_7021.prdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
title: Improve remote externalities logging
doc:
- audience: Node Dev
description: |-
Automatically detect if current env is tty. If not disable the spinner logging.
crates:
- name: frame-remote-externalities
bump: patch
Loading

0 comments on commit b7e2695

Please sign in to comment.