Skip to content

feat(own-relay): Coolify Docker deploy channel - #5

Merged
karlorz merged 4 commits into
fork-mainfrom
feat/own-relay-coolify-deploy
Sep 12, 2026
Merged

karlorz merged 4 commits into
fork-mainfrom
feat/own-relay-coolify-deploy

Conversation

@karlorz

@karlorz karlorz commented Sep 12, 2026

Copy link
Copy Markdown
Owner

ELI5

Adds a Docker/Coolify deploy shape so the existing own-mobile-relay process (both orca-auth.karldigi.dev and orca-relay.karldigi.dev) can run in one container on cloud01, listening on all interfaces, with SQLite on a named volume.

What Changed

  • config/docker/own-mobile-relay/Dockerfile: Node 22, scripts/build-own-mobile-relay.mjs, non-root, GET /health, OWN_RELAY_LISTEN_HOST=0.0.0.0
  • config/docker/own-mobile-relay/docker-compose.coolify.yml: one service, expose: ['8093'], no host ports:, no profiles:, named volume, Traefik labels for both public hostnames (HTTP + WebSocket)
  • config/docker/own-mobile-relay/.env.example: env names only, no secrets, no operator bootstrap vars
  • .github/workflows/fork-own-mobile-relay-image.yml: fenced to karlorz/orca, linux/amd64 required (arm64 on publish), GHCR + optional Docker Hub
  • Compose-file sanity tests; files stay under config/docker/ so the root-entry guard stays green

Why

Live sg01 is one Node process behind two Caddy names. Coolify on cloud01 needs a repo deploy channel. Protocol and SQLite adapter are unchanged.

Linked Issue

Wiki work item: projects/orca/work/2026-09-12-own-relay-coolify-cloud01. No GitHub issue (fork-only; no upstream issues).

Visual Proof

N/A — deploy-channel files and file-parse tests only. No UI. No local Docker/compose up (macos-dev disk policy).

Testing

  • Automated tests added/updated, or explained why not below
  • I manually tested these changes locally

pnpm exec vitest run --config config/vitest.config.ts config/scripts/own-mobile-relay-coolify-deploy.test.mjs src/main/runtime/relay/own-mobile-relay-main.test.ts src/main/runtime/relay/own-mobile-relay-http.test.ts config/scripts/check-root-directory-entries.test.mjs

No local Docker. Image publish runs on merge to fork-main or workflow_dispatch (PR builds linux/amd64 without push).

Review

Phase 0 fork-sync remains parked (conflicts besides mobile/app.json). This PR is based on fork-main 81d50020ce. Coordinator owns Coolify click-ops, DNS, and sg01 stop.

Ship a Node 22 image, Coolify compose (expose 8093, two Traefik hosts, no
host ports), env names, and karlorz-only multi-arch image CI so cloud01
can run own-mobile-relay without a second process.
Static analysis on #5 failed because the generated catalog
lagged upstream stablyai#20106 region-measure RPC params.
@karlorz
karlorz force-pushed the feat/own-relay-coolify-deploy branch from 12c0c3c to 099b6d8 Compare September 12, 2026 11:20
Fork-sync brought VoiceMacSpeechSection keys that static analysis
requires in en.json. Sync only; no other locale drive-by.
GHA layer cache, ignore renderer/cli in docker context, parse compose once.
@karlorz
karlorz merged commit f9ad178 into fork-main Sep 12, 2026
@karlorz
karlorz deleted the feat/own-relay-coolify-deploy branch September 12, 2026 16:17
karlorz pushed a commit that referenced this pull request Oct 19, 2026
…-page readers off the deprecated owner resolver (stablyai#30478)

Thirteen read-routing callers (#4, #5, #10-#20 of the round-3 caller list) read the owner through
runtimeEnvironmentIdWithLegacyFallbackUnlessTwin. A workspace two hosts publish is no longer
searched on either host. The focus-read ratchet now counts the legacy-fallback adapter, which
reads the focused runtime inside an object literal its discovery skipped; the five F1 entries
that blind spot pruned come back. Deprecated importers 53 -> 40.
karlorz pushed a commit that referenced this pull request Oct 24, 2026
…anel (stablyai#7655)

The workspace space-manager rendered every hosted review as "PR #N", so a
GitLab merge request showed as "PR #5" instead of "MR !5". The cached review
already carries its provider (HostedReviewInfo.provider) — the panel's local
input type just narrowed it away. Thread provider through and format via the
same localizedHostedReviewCopy / '!' vs '#' helpers the rest of the app uses.

Extract the label formatting into hosted-review-label.ts (a pure module, away
from the panel's heavy React/store imports) so it can be unit-tested directly,
and add hosted-review-label.test.ts covering github / gitlab / azure-devops /
gitea and the status suffix.

linkedPR stays "PR #N" — it is the GitHub-specific workspace field, distinct
from linkedGitLabMR.

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
Co-authored-by: Neil <[email protected]>
Co-authored-by: Neil <[email protected]>
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