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

tari-project / tari / 22961452314 / 1
61%
development: 61%

Build:
DEFAULT BRANCH: development
Ran 11 Mar 2026 04:48PM UTC
Files 702
Run time 23s
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.1

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)

71959 of 116069 relevant lines covered (62.0%)

225297.4 hits per line

Source Files on job 22961452314.1
  • Tree
  • List 702
  • Changed 17
  • Source Changed 6
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22961452314
  • c99231ae on github
  • Prev Job for on development (#22946877332.1)
  • Next Job for on development (#22993609857.1)
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