Repository navigation
fix(event): align gesture debug logging - #1064
Conversation
1c064c8 to
7bcac35
Compare
🛠️ Tuist Run Report 🛠️Tests 🧪
Builds 🔨
|
There was a problem hiding this comment.
Low risk
Justification
This PR aligns gesture debug logging and expands its regression coverage. Scope by file:
Sources/OpenSwiftUICore/Event/Gesture/GestureDebug.swift— comment/status cleanup only (WIP→Complete, MARK[TBA]removal, one blank-line removal); no logic change.Sources/OpenSwiftUICore/Log/Logging.swift— adds aneventslogger (subsystem, categoryEvents) and routesLog.eventDebugthrough it underOPENSWIFTUI_SUPPORT_2025_API, preserving the legacyeventDebuggingLogrouting for earlier configurations. Behavior change is limited to debug-log category/subsystem routing.Tests/OpenSwiftUICoreTests/.../GestureDebugTests.swiftandTests/OpenSwiftUISymbolDualTests/.../GestureDebugDualTests.swift— select log filters by API configuration / SwiftUI runtime version and add regression cases (nested kinds with siblings, heap-backed children/properties, property order, reset seeds).
Risk factors: no security, auth, billing, infrastructure, deploy, .github, .augment, or AGENTS.md paths are touched, and this repository is not on the opted-out list. There is no production behavior change beyond debug-logging routing.
Specialist evidence: Deep Code Review completed with 0 findings on commit 1c064c8. The only delta from that reviewed tree to the approved head 7bcac35 is two comment-only lines in Logging.swift (// Added in v7 to replace eventDebuggingLog); all other file contents are identical. No unaddressed medium or high findings are present.
Reviewed commit 7bcac35
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1064 +/- ##
=======================================
Coverage 29.90% 29.90%
=======================================
Files 787 787
Lines 62250 62250
=======================================
+ Hits 18613 18617 +4
+ Misses 43637 43633 -4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
🤖 Augment PR SummarySummary: Align gesture debug-tree logging with the logging layout used by newer SwiftUI releases. Changes:
Technical Notes: The dual test now verifies both parity with SwiftUI output and the fixed expected formatted lines. 🤖 Was this summary useful? React with 👍 or 👎 |
Summary