You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fix stale spec filenames in progress log entries for issues torrust#1979,
torrust#1980, and torrust#1981 (old intermediate names → correct final names)
- Replace .expose() with .expose_secret() in 4 places in spec torrust#1490
(the correct secrecy crate API is ExposeSecret::expose_secret())
- Replace scheme() + bind_to() with protocol() + bind_address() in 2
places in spec torrust#1415 (actual ServiceBinding API from torrust-net-primitives)
- Fix malformed markdown table in spec torrust#1980 where unescaped | in an
rg command broke the table columns
Addresses review comments on PR torrust#1982.
| M1 | Verify secrets masked in logs | Run tracker, check startup log for config output| Secrets show as `***`| TODO ||
228
+
| M2 | Verify Debug output masks secrets |`println!("{:?}", config)` in test or debug| Secrets show as `***`| TODO ||
229
+
| M3 | Verify secrets accessible via expose_secret| Write test that reads a secret via `.expose_secret()`| Returns the actual value | TODO ||
230
230
231
231
### Acceptance Verification
232
232
@@ -242,7 +242,7 @@ The `rest-api-client` crate and `tracker-core` authentication are **not affected
242
242
## Risks and Trade-offs
243
243
244
244
-**Breaking change for database config**: The `Database` struct becomes an enum; the old `path` field is removed with no backward-compatibility fallback. Mitigation: this is part of the v3.0.0 config schema bump where breaking changes are expected and documented.
245
-
-**Consumer updates (~25 files)**: Every place that constructs or reads a `Database` value needs updating. Mitigation: the compiler will catch all mismatches; changes are mechanical (construct enum variant, use `.expose()` for secrets).
245
+
-**Consumer updates (~25 files)**: Every place that constructs or reads a `Database` value needs updating. Mitigation: the compiler will catch all mismatches; changes are mechanical (construct enum variant, use `.expose_secret()` for secrets).
246
246
-**Performance**: `secrecy` adds zeroize-on-drop overhead. Mitigation: negligible for config values read once at startup.
Copy file name to clipboardExpand all lines: docs/issues/open/1979-1978-copy-configuration-schema-v2-to-v3-baseline.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ This approach:
87
87
### Progress Log
88
88
89
89
- 2026-07-13 21:00 UTC - josecelano - Initial spec drafted
90
-
- 2026-07-15 00:00 UTC - josecelano - GitHub issue #1979 created; spec moved to `docs/issues/open/1979-configuration-overhaul-copy-v2-to-v3-baseline.md`
90
+
- 2026-07-15 00:00 UTC - josecelano - GitHub issue #1979 created; spec moved to `docs/issues/open/1979-1978-copy-configuration-schema-v2-to-v3-baseline.md`
| M1 | Verify no global re-export usage | `rg "torrust_tracker_configuration::(Core|Configuration|Logging|HttpApi|HttpTracker|UdpTracker|Database|Threshold)[^:]"` | No matches (all use v3_0_0 paths) | TODO ||
| M1 | Verify no global re-export usage |`rg 'torrust_tracker_configuration::(Core\|Configuration\|Logging\|HttpApi\|HttpTracker\|UdpTracker\|Database\|Threshold)[^:]'`| No matches (all use v3_0_0 paths) | TODO ||
203
+
| M2 | Verify v2 module still accessible |`cargo doc --document-private-items`| v2_0_0 types documented | TODO ||
204
+
| M3 | Verify v3 module is the default | Check `lib.rs` for `LATEST_VERSION`|`LATEST_VERSION = "3.0.0"`| TODO ||
0 commit comments