Part of EPIC: #1978 — Configuration Overhaul (schema v3.0.0)
EPIC position: Subissue #2 of 9. Depends on #1979. Must be implemented before #1640 to avoid merge conflicts on http_tracker.rs.
Spec: docs/issues/drafts/configuration-overhaul-fix-tsl-typo.md
Goal
Fix the pervasive typo tsl_config → tls_config across the entire codebase. This is a pre-existing typo (TLS, not TSL) that has propagated into ~13 Rust source files and ~8 documentation files. Since we are releasing config schema v3.0.0, this is the right time to fix it.
Background
The codebase consistently uses tsl_config instead of tls_config:
// packages/configuration/src/v2_0_0/http_tracker.rs
pub tsl_config: Option<TslConfig>,
// packages/configuration/src/v2_0_0/tracker_api.rs
pub tsl_config: Option<TslConfig>,
// packages/configuration/src/lib.rs
pub struct TslConfig { ... }
The struct name TslConfig and all field names tsl_config should be TlsConfig / tls_config. This is a purely mechanical rename with no behavioural change.
Scope
In Scope
- Rename
TslConfig → TlsConfig in packages/configuration/src/lib.rs
- Rename
tsl_config → tls_config in all config struct fields (HttpTracker, HttpApi)
- Rename
tsl_config → tls_config in all consumers (~13 Rust files)
- Rename
tsl_config → tls_config in all documentation (~8 markdown files)
- Rename
packages/axum-server/src/tsl.rs → packages/axum-server/src/tls.rs
- Update all
use imports referencing the old module path
Out of Scope
- Any functional changes to TLS configuration
- Changing the TLS implementation itself
Implementation Plan
| ID |
Task |
Notes |
| T1 |
Rename TslConfig → TlsConfig struct |
In packages/configuration/src/lib.rs |
| T2 |
Rename tsl_config → tls_config fields |
In HttpTracker and HttpApi config structs |
| T3 |
Rename tsl.rs → tls.rs |
In packages/axum-server/src/; update mod.rs |
| T4 |
Update all Rust consumers (~13 files) |
Search-and-replace tsl_config → tls_config, TslConfig → TlsConfig |
| T5 |
Update all documentation (~8 files) |
Search-and-replace in markdown files |
| T6 |
Run linter all and full test suite |
|
Acceptance Criteria
Part of EPIC: #1978 — Configuration Overhaul (schema v3.0.0)
EPIC position: Subissue #2 of 9. Depends on #1979. Must be implemented before #1640 to avoid merge conflicts on
http_tracker.rs.Spec:
docs/issues/drafts/configuration-overhaul-fix-tsl-typo.mdGoal
Fix the pervasive typo
tsl_config→tls_configacross the entire codebase. This is a pre-existing typo (TLS, not TSL) that has propagated into ~13 Rust source files and ~8 documentation files. Since we are releasing config schema v3.0.0, this is the right time to fix it.Background
The codebase consistently uses
tsl_configinstead oftls_config:The struct name
TslConfigand all field namestsl_configshould beTlsConfig/tls_config. This is a purely mechanical rename with no behavioural change.Scope
In Scope
TslConfig→TlsConfiginpackages/configuration/src/lib.rstsl_config→tls_configin all config struct fields (HttpTracker,HttpApi)tsl_config→tls_configin all consumers (~13 Rust files)tsl_config→tls_configin all documentation (~8 markdown files)packages/axum-server/src/tsl.rs→packages/axum-server/src/tls.rsuseimports referencing the old module pathOut of Scope
Implementation Plan
TslConfig→TlsConfigstructpackages/configuration/src/lib.rstsl_config→tls_configfieldsHttpTrackerandHttpApiconfig structstsl.rs→tls.rspackages/axum-server/src/; updatemod.rstsl_config→tls_config,TslConfig→TlsConfiglinter alland full test suiteAcceptance Criteria
TslConfigis renamed toTlsConfigeverywheretsl_configis renamed totls_configeverywherepackages/axum-server/src/tsl.rsis renamed totls.rsrg "tsl_config|TslConfig"returns zero matcheslinter allexits with code0