Skip to content

Linux-compatible CocoaHeadsCore, working Docker build, remove deploy workflow - #110

Merged
loloop merged 2 commits into
developfrom
mauricio/vapor
Aug 5, 2026
Merged

Linux-compatible CocoaHeadsCore, working Docker build, remove deploy workflow#110
loloop merged 2 commits into
developfrom
mauricio/vapor

Conversation

@loloop

@loloop loloop commented Aug 5, 2026

Copy link
Copy Markdown
Member

Summary

Follow-up to #109 (the Vapor backend, already merged):

  • Fixes the Docker build, which had been broken since backend's Package.swift gained the local ../CocoaHeadsCore dependency: the compose build context is now the repo root (with a root .dockerignore keeping it small), and the Dockerfile copies both packages in.
  • Makes CocoaHeadsCore fully Linux-compatible: EventDetailUI no longer imports SwiftUI. A new platform-neutral ServerEdge/ServerEdge.Set type (raw values and Codable output identical to SwiftUI's Edge.Set, so stored CloudKit payloads are unaffected) replaces it, dropping the fragile @retroactive Codable conformance.
  • Bridges to SwiftUI at the render boundary: edges.swiftUI in CocoaHeadsKit, used by EventDetailRenderer — the only call site that needed changing.
  • Removes the backend deploy GitHub Actions workflow — deployment is moving to a different service.

Test plan

  • swift build of CocoaHeadsCore on macOS
  • xcodebuild -scheme NSBrazilConf (iOS app + App Clip) builds
  • docker compose build succeeds; app + Postgres run, migrations apply, POST /scrape responds and validates request bodies

🤖 Generated with Claude Code

https://claude.ai/code/session_017sn32EfLHzyrDCtGZGz7MX

loloop and others added 2 commits August 4, 2026 21:24
- 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

claude Bot commented Aug 5, 2026

Copy link
Copy Markdown

Claude encountered an error —— View job


I'll analyze this and get back to you.

@loloop loloop changed the title Vapor backend: Linux-compatible CocoaHeadsCore and working Docker build Linux-compatible CocoaHeadsCore, working Docker build, remove deploy workflow Aug 5, 2026
@loloop
loloop merged commit 31c557a into develop Aug 5, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant