• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tari-project / tari / 22961452314
62%

Build:
DEFAULT BRANCH: development
Ran 11 Mar 2026 04:48PM UTC
Jobs 1
Files 702
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Mar 2026 03:51PM UTC coverage: 61.997% (+0.008%) from 61.989%
22961452314

push

github

web-flow
feat: show -p overrides in print-env and improve unknown-field config errors (#7701)

`print-env` only showed environment variables, omitting `-p` CLI
overrides. Additionally, when an env var or `-p` arg referenced an
unknown config field (e.g.
`TARI_BASE_NODE__P2P__TRANSPORT__TOR__PROXY_BYPASS_ADDRESSES_TEST`), the
app exited with an opaque serde error and no guidance.

## Changes

### `print-env` now includes `-p` args
- `print_env_vars()` signature changed to
`print_env_vars(config_overrides: &[(String, String)])` — both env vars
and `-p` overrides are displayed, with sensitive keys (PASSWORD, SECRET,
KEY, SEED) masked
- `--print-env` CLI flag in `minotari_node` and
`minotari_console_wallet` passes `cli.common.config_property_overrides`
to the function
- Interactive `print-env` shell command gains a
`config_property_overrides: Vec<(String, String)>` field on
`CommandContext`, populated from `cli.common.config_property_overrides`
in `run_base_node_with_cli`

### Better unknown-field error UX
- Added `ConfigurationError::is_unknown_field_error() -> bool` to avoid
`to_string()` allocation when detecting the error type
- `ApplicationConfig::load_from` failures in both node and wallet now
print an actionable hint:
  ```
⚠️ Configuration error: an environment variable or -p override
references an unrecognized config field.
Run with --print-env to inspect active environment variables and -p
overrides.
  ```

### Example output for `--print-env` / `print-env`
```
Tari-related environment variables:
  TARI_BASE_NODE__GRPC_ENABLED=true
  TARI_NETWORK=esmeralda

Config property overrides (-p args):
  base_node.grpc_enabled=true
  test.stuff=true
```

<!-- START COPILOT ORIGINAL PROMPT -->



<details>

<summary>Original prompt</summary>

> 
> ----
> 
> *This section details on the original issue you should resolve*
> 
> <issue_title>update envVars usage and help feedback</issue_title>
> <issue_description>shell envVars, like ```MINOTARI_NODE_ENABLE_GRPC```
as... (continued)

55 of 103 new or added lines in 6 files covered. (53.4%)

13 existing lines in 7 files now uncovered.

71959 of 116069 relevant lines covered (62.0%)

225297.4 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
21.61
0.0% base_layer/p2p/src/initialization.rs
3
67.16
-1.54% common/src/configuration/loader.rs
44
9.6
-3.18% common/src/configuration/utils.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.24
4.99% common/src/configuration/config_list.rs
1
61.51
-0.12% comms/core/src/connectivity/manager.rs
1
90.8
-0.3% comms/core/src/multiplexing/yamux.rs
2
93.75
-2.08% base_layer/transaction_components/src/consensus/consensus_encoding/hashing.rs
2
83.39
-0.33% comms/core/src/protocol/rpc/client/mod.rs
3
61.82
-1.36% comms/core/src/connectivity/requester.rs
3
65.74
1.9% comms/dht/src/connectivity/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 22961452314.1 11 Mar 2026 04:48PM UTC 702
62.0
GitHub Action Run
Source Files on build 22961452314
  • Tree
  • List 702
  • Changed 17
  • Source Changed 6
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22961452314
  • c99231ae on github
  • Prev Build on development (#22946877332)
  • Next Build on development (#22993609857)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc