chore: update TCA to version 1.22.3 and align with SwiftSyntax 603 support - #233
Merged
Conversation
## 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 <noreply@anthropic.com>
- Update swift-composable-architecture from 1.22.2 to 1.22.3 - Update both Package.swift and Package@swift-6.0.swift 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 <noreply@anthropic.com>
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 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
TCA 1.22.3 Improvements
_PrintChangesReducerto be conditionally Sendable#filePathin scoping APIsAlignment with TCA Changes
This update aligns with swift-composable-architecture PR #3776 which updated SwiftSyntax support to version 603.
Test Plan
🤖 Generated with Claude Code