Skip to content

Commit 73fa8da

Browse files
Merge remote-tracking branch 'origin/main' into chore/merge-to-release
# Conflicts: # CHANGELOG.md # Cargo.toml # VERSION
2 parents fc0fedf + d0946ca commit 73fa8da

7 files changed

Lines changed: 902 additions & 40 deletions

File tree

TODO.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,14 @@ what config keys exist, their types, defaults, or descriptions.
103103
- [x] `registry::sections()` — list all registered sections
104104
- [x] `registry::dump_effective()` — JSON map of effective values
105105
- [x] `registry::dump_defaults()` — JSON map of defaults (via `T::default()`)
106-
- [x] Redaction via `#[serde(skip_serializing)]` on sensitive fields
106+
- [x] Heuristic auto-redaction (password, secret, token, key, credential, auth, private, cert, encryption)
107+
- [x] `#[serde(skip_serializing)]` as additional layer for fields that should never appear
107108
- [x] expression, memory, version_check, scaling, grpc, secrets wired with `from_cascade()` auto-register
108109
- [x] Modules without defaults (tiered_sink, http_server, kafka, spool, dlq) use `unmarshal_key_registered` from downstream apps
109-
- [ ] Health/admin endpoint integration — `/config` endpoint (redacted)
110-
- [ ] Change notification (opt-in) — consumers CAN subscribe to config reload events
111-
- Opt-in: modules that need hot-reload subscribe; others keep `OnceLock` (init-once)
112-
- `registry.on_change("expression", |new| { ... })` for subscribers
113-
- Integrate with existing `SharedConfig<T>` / `ConfigReloader` from `config-reload` feature
110+
- [x] `/config` admin endpoint (opt-in via `enable_config_endpoint`) — returns redacted effective + defaults JSON
111+
- [x] Change notification (opt-in) — `registry::on_change(key, callback)` + `registry::update()`
112+
- Modules that need hot-reload subscribe; others keep `OnceLock` (init-once)
113+
- [ ] Wire `ConfigReloader` to call `registry::update()` on reload (connect the plumbing)
114114
- [ ] Migrate all dfe-* and hyperi-* apps to `unmarshal_key_registered` pattern
115115
- [ ] Align hyperi-pylib with same registry pattern
116116

src/config/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
pub mod env_compat;
8080
pub mod flat_env;
8181
pub mod registry;
82+
pub mod sensitive;
8283

8384
#[cfg(feature = "config-reload")]
8485
pub mod reloader;

0 commit comments

Comments
 (0)