Commit b5c3af2
chore: update TCA to version 1.22.3 and align with SwiftSyntax 603 support (#233)
* fix: re-enable LockmanResult tests with updated API compatibility
## Summary
- Re-enabled LockmanResultTests.swift by updating for new LockmanResult API
- Fixed all test methods to work with unlockToken parameters
- Removed .disabled extension from test file
## Changes Made
### API Compatibility Updates
- Updated all LockmanResult case usage to include unlockToken parameters:
- .success(unlockToken: token)
- .successWithPrecedingCancellation(unlockToken: token, error: error)
- .cancel(error) remains unchanged
- Replaced mock strategy with TestSingleExecutionStrategy from TestSupport
- Fixed TestLockmanInfo constructor calls with proper parameter order
### Test Coverage Maintained
- All 13 comprehensive test methods updated and working
- Phase 1: Basic enum case testing with unlockToken
- Phase 2: Sendable conformance and concurrent access testing
- Phase 3: Error protocol integration testing
- Phase 4: unlockToken functionality and type safety testing
### Technical Fixes
- Removed fileprivate property access (LockmanUnlock.info)
- Fixed strategy ID references to use TestSingleExecutionStrategy
- Updated all TestLockmanInfo instantiations with correct parameters
- Ensured all pattern matching works with new API structure
## Test Results
- ✅ All 13 tests pass (Executed 13 tests, with 0 failures)
- ✅ Complete API compatibility with unlockToken integration
- ✅ Comprehensive coverage of LockmanResult enum functionality
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
* chore: update TCA to version 1.22.3 and improve file path consistency
- Update swift-composable-architecture from 1.22.2 to 1.22.3
- Update both Package.swift and [email protected] for consistency
- Replace #file with #filePath in issue reporting for consistency with TCA 1.22.3
- Fix LockmanComposableIssueReporter to use #fileID for proper TCA integration
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
* chore: update SwiftSyntax version range to support 603.0.0
Update SwiftSyntax dependency from "509.0.0"..<"602.0.0" to "509.0.0"..<"603.0.0"
to align with TCA 1.22.3 requirements (swift-composable-architecture PR #3776).
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
---------
Co-authored-by: Claude <[email protected]>1 parent 7771953 commit b5c3af2
File tree
4 files changed
+7
-7
lines changed- Sources/Lockman
- Composable
- Core/Protocols
4 files changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments