Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to specify output for the subcommands, other than /dev/null #4411

Conversation

RGafiyatullin
Copy link
Contributor

Pull Request

This PR has no Linear ticket associated with it.

Checklist

Please conduct a thorough self-review before opening the PR.

  • I am confident that the code works.
  • I have updated documentation where appropriate.

Summary

When the docker is not launched, or some auth-token is stale, or something else prevents the script from normal execution, it can be fruitful to have a possibility to hear out the underlying commands' complaints:

DEBUG_OUTPUT=/dev/fd/1 /bin/bash -x ./localnet/manage.sh

@RGafiyatullin RGafiyatullin requested a review from a team as a code owner January 12, 2024 12:12
@RGafiyatullin RGafiyatullin requested review from ahasna and tomjohnburton and removed request for a team January 12, 2024 12:12
Copy link

codecov bot commented Jan 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6cd2ec5) 72% compared to head (299e916) 72%.

Additional details and impacted files
@@          Coverage Diff           @@
##            main   #4411    +/-   ##
======================================
- Coverage     72%     72%    -0%     
======================================
  Files        395     395            
  Lines      67553   67402   -151     
  Branches   67553   67402   -151     
======================================
- Hits       48784   48560   -224     
- Misses     16321   16393    +72     
- Partials    2448    2449     +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@RGafiyatullin RGafiyatullin enabled auto-merge (squash) January 12, 2024 12:44
@RGafiyatullin RGafiyatullin merged commit 5c9f0bd into main Jan 12, 2024
43 checks passed
@RGafiyatullin RGafiyatullin deleted the fix/localnet-manage-sh-output-to-dev-null-isnt-always-an-optimal-choice branch January 12, 2024 15:28
syan095 added a commit that referenced this pull request Jan 19, 2024
…itness-swap

* origin/main: (24 commits)
  fix: restore correct restriction on redemption expiry (PRO-1072)
  Feat/migrate-to-polkadot-sdk-repo (#4361)
  chore: fix RUSTSEC-2024-0003 (#4426)
  Feat: decouple CFE from SC events (#4382)
  chore: add docker tag prefix to `chainflip-ingress-egress-tacker` 🏷️ (#4427)
  refactor/PRO-1101: rid of swapping minimum swap amount (#4419)
  refactor(ingress-egress-tracker): remove unnecessary fields (#4425)
  Improved the retry queue storage (#4420)
  fix: bump spec version command only bumps when necessary (#4422)
  refactor: use yargs for all try_runtime_command options (#4423)
  fix: await finalisation before starting broker (#4412)
  chore: debug logs to see get_raw_txs query (#4413)
  doc: correct env vars (#4416)
  fix: pool_orders rpc filters empty orders (PRO-1039) (#4377)
  Produce an event in case the swap yields a zero egress amount (#4410)
  fix: don't have conflicting redis port with localnet (#4415)
  Ability to specify output for the subcommands, other than `/dev/null` (#4411)
  chore: increase limit on max number of bitcoin payloads in a ceremony to theoretical maximum (#4396)
  refactor(ingress-egress-tracker): configurable expiry times [WEB-761] (#4406)
  fix: use existing script for upgrade job (#4403)
  ...

# Conflicts:
#	Cargo.lock
#	state-chain/primitives/Cargo.toml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants