Linux-compatible CocoaHeadsCore, working Docker build, remove deploy workflow - #110
Merged
Conversation
- Widens the Docker build context to the repo root so the local ../CocoaHeadsCore package dependency resolves inside the image, with a root .dockerignore keeping the context small - Replaces SwiftUI's Edge.Set in EventDetailUI with a platform-neutral ServerEdge type so the server-driven UI models compile on Linux, with identical raw values and Codable output - Bridges to SwiftUI at the render boundary via edges.swiftUI Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017sn32EfLHzyrDCtGZGz7MX
Deployment will move to a different service. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017sn32EfLHzyrDCtGZGz7MX
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
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
Follow-up to #109 (the Vapor backend, already merged):
backend'sPackage.swiftgained the local../CocoaHeadsCoredependency: the compose build context is now the repo root (with a root.dockerignorekeeping it small), and the Dockerfile copies both packages in.CocoaHeadsCorefully Linux-compatible:EventDetailUIno longer imports SwiftUI. A new platform-neutralServerEdge/ServerEdge.Settype (raw values and Codable output identical to SwiftUI'sEdge.Set, so stored CloudKit payloads are unaffected) replaces it, dropping the fragile@retroactive Codableconformance.edges.swiftUIinCocoaHeadsKit, used byEventDetailRenderer— the only call site that needed changing.Test plan
swift buildof CocoaHeadsCore on macOSxcodebuild -scheme NSBrazilConf(iOS app + App Clip) buildsdocker compose buildsucceeds; app + Postgres run, migrations apply,POST /scraperesponds and validates request bodies🤖 Generated with Claude Code
https://claude.ai/code/session_017sn32EfLHzyrDCtGZGz7MX