rdmbair15m5-changelog-20260923-0042-rtty-pmtu-dashboard-and-alert-wiring
rdmbair15m5-changelog-20260923-0042-rtty-pmtu-dashboard-and-alert-wiring
Wired PathMTUFragmentationAssessment to the RTTy dashboard interface row and PMTU inspector, and implemented quiet-by-default notifications once per network fingerprint with healthy hysteresis (FEAT-20260916-04).
Scope
- Hosts:
rdmbair15m5,rdmsm4x - Repos:
apps/RTTy(git.ecs0.net:git/apps/RTTy.git,github.com/richhdoty/RTTy.git,rdmsm4x:~/dev/apps/RTTy) - Tickets:
FEAT-20260916-04(Resolved)
Exact Files Touched
Sources/RTTy/Stores/ObservationStore.swift:- Added
@ObservationIgnored private(set) var notifiedPathMTUDegradedNetworkFingerprints: Set<String> = []. - Added computed properties
pathMTUAssessment: PathMTUFragmentationAssessment?andfunc pathMTUAssessment(for targetID: UUID) -> PathMTUFragmentationAssessment?. - Added
applyPathMTUAssessmentlogic to record.pathMTUResultevents with assessment finding, set severity to.warningwhen degraded, alert once per network fingerprint, and clear fingerprint on healthy measurement (hysteresis). - Exposed
applyPathMTUAssessmentForTesting(...). - Cleared notified fingerprints in
resetState().
- Added
Sources/RTTy/Services/LatencyNotificationService.swift:- Added
deliverPathMTUAlert(target:interfaceName:assessment:soundEnabled:)with title, finding, first remedy, and structureduserInfo.
- Added
Sources/RTTy/Views/DashboardView.swift:- Inserted
("Path MTU", assessment.finding)inactiveInterfaceValues. - Appended
("Assessment", assessment.finding)inpathMTUValues. - Rendered ordered remedies bullet list from
assessment.remediesinpathMTUInspector.
- Inserted
Sources/RTTy/Stores/ApplicationGraphProjections.swift:- Added optional
bundleNameLookup: ((Int32) -> String?)? = nilparameter tomakeBucketto isolate synthetic test PIDs from running host processes.
- Added optional
Tests/RTTyTests/ApplicationFlowGroupingTests.swift:- Passed
{ _ in nil }for bundle lookup in synthetic test cases, eliminating host PID collision failures.
- Passed
Tests/RTTyTests/PathMTUAssessmentWiringTests.swift:- Added 5 unit tests verifying assessment derivation, deduplication, hysteresis, quiet defaults, and archive events.
Commands Run & Verification Evidence
swift test --package-path /Users/richh/dev/apps/RTTy --filter PathMTUAssessmentWiringTests: 5/5 tests passed in 0.106s onrdmbair15m5.ssh rdmsm4x "swift test --package-path ~/dev/apps/RTTy --filter PathMTUAssessmentWiringTests": 5/5 tests passed in 0.090s onrdmsm4x.swift test --package-path /Users/richh/dev/apps/RTTy --filter ApplicationFlowGroupingTests: 17/17 tests passed in 0.005s.swift test --package-path /Users/richh/dev/apps/RTTy --filter StandardChannelSurfaceTruthTests: 11/11 tests passed in 0.030s.- Git commit:
fe09996pushed toorigin(git.ecs0.net:git/apps/RTTy.git) andbackup(github.com/richhdoty/RTTy.git). - Synced to canonical:
rdmsm4x:~/dev/apps/RTTyfast-forward pulled cleanly tofe09996. - Ticket:
FEAT-20260916-04commented and resolved onrdmsm4x.
Backup Locations & Undo
- Git commits can be reverted via
git revert fe09996. - Remote commits mirrored at
git.ecs0.netandgithub.com.
Outstanding Owner Actions
- None.