Repository navigation
fix(logs): keep application logs after adding a companion service - #1655
Merged
Merged
Conversation
liodali
added a commit
to liodali/openship
that referenced
this pull request
Nov 15, 2026
* perf(docker): speed up local image exports and scope shared image paths (oblien#1648) * fix(logs): preserve application runtime after adding services (oblien#1655) * feat(web): group navbar links and add a Start on Cloud button (oblien#1653) * feat(web): add /migrate page for teams moving an existing app Adds a marketing page for visitors who want to move an app to Openship Cloud: five common situations (growing bill, runtime limits, split stack, long-running jobs, lock-in), a category-level comparison with no vendor names, an honest fit section, migration steps, a help section and FAQs. Each situation has its own hash link (#bill, #limits, #split, #jobs, #lock) for sharing. The starting price is read from the live Cloud catalog. Also adds a Migrate link to the navbar and /migrate to the pages sitemap, with FAQ and breadcrumb JSON-LD. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(web): group navbar links and add a Start on Cloud button Keeps the same navbar shape (floating pill, logo left, actions right, dark-section behavior) and groups the links so the pill stays short: - Product: Features, Apps, Email, Desktop app - Resources: Blog, Changelog, Support - Pricing, Migrate, Docs and the GitHub stars stay top level The right side now shows Log in, Download (outlined) and Start on Cloud (primary, links to Cloud plans via cloudPlanHref). Dropdowns open on hover with a mouse and on click or Enter otherwise, and close on Escape or blur. The mobile panel lists the same links in groups. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> * feat(web): add /migrate page for teams moving an existing app (oblien#1652) Adds a marketing page for visitors who want to move an app to Openship Cloud: five common situations (growing bill, runtime limits, split stack, long-running jobs, lock-in), a category-level comparison with no vendor names, an honest fit section, migration steps, a help section and FAQs. Each situation has its own hash link (#bill, #limits, #split, #jobs, #lock) for sharing. The starting price is read from the live Cloud catalog. Also adds a Migrate link to the navbar and /migrate to the pages sitemap, with FAQ and breadcrumb JSON-LD. Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Hydra de lerne <[email protected]> * fix(build): scale the managed build-cache budget with the disk (oblien#1644) The managed project-cache budget was min(5 GiB, 10% of the Docker filesystem). A project whose BuildKit cache outgrew 5 GiB was evicted by the post-build prune after every build, so every deploy started cold. - buildCacheKeepBytes is now 20% of the Docker filesystem, so the budget follows the disk in both directions: disks under 50 GiB also move from 10% to 20%. This also applies to managed Cloud workers, which share the collector. - Below the 20% free-space GC target the idle budget shrinks to what still fits above it (never below the old min(5 GiB, 10%)), so idle caches give space back before rollback artifacts and running apps. BuildKit's own 20% minFreeSpace still bounds a running worker. - pruneManagedBuildCaches defaults to that budget instead of 5 GiB. - The daily sweep marks its call as automaticRetention, so managed caches use the same budget; keepStorageBytes still bounds native Docker cache. Co-authored-by: Claude Opus 5.5 <[email protected]> * feat(servers): configure build-cache budgets and fix migration progress (oblien#1645) * fix(build): scale the managed build-cache budget with the disk The managed project-cache budget was min(5 GiB, 10% of the Docker filesystem). A project whose BuildKit cache outgrew 5 GiB was evicted by the post-build prune after every build, so every deploy started cold. - buildCacheKeepBytes is now 20% of the Docker filesystem, so the budget follows the disk in both directions: disks under 50 GiB also move from 10% to 20%. This also applies to managed Cloud workers, which share the collector. - Below the 20% free-space GC target the idle budget shrinks to what still fits above it (never below the old min(5 GiB, 10%)), so idle caches give space back before rollback artifacts and running apps. BuildKit's own 20% minFreeSpace still bounds a running worker. - pruneManagedBuildCaches defaults to that budget instead of 5 GiB. - The daily sweep marks its call as automaticRetention, so managed caches use the same budget; keepStorageBytes still bounds native Docker cache. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(servers): configurable build-cache budget per server Adds an optional managed build-cache budget for remote deployment servers, edited from a Build cache card on the server Overview tab and through the existing server update API, CLI and MCP tool. Empty keeps the automatic share of the Docker filesystem. - servers.build_cache_budget_bytes (migration 0224), bounded 1 GiB to 64 TiB in the database and the API contract. - Only remote deployment servers expose and accept it: the local row builds through the host daemon's native cache and migration sources never build, so updates there are refused; managed Cloud servers keep rejecting every field except name. Changing it requires server admin, since a large budget lets caches hold most of the disk. - SSH Docker runtimes read the value through a new buildCacheBudgetBytes connection option on every collection, so a change applies to the next build without reconnecting. It sets the post-build prune budget, BuildKit's maxUsedSpace and the daily sweep's managed budget, capped at the filesystem minus the admission reserve and still reduced under storage pressure; a failed read falls back to automatic. - Updates are audited like gpuOverride and do not drop retained SSH sessions. Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs: regenerate the MCP and CLI references for the build-cache budget The server update tool description and the `server configure` help now mention the build-cache budget, so the generated references changed. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(migration): frame streamed rsync progress updates * fix(migration): preserve exact progress with rsync byte units --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Hydra <[email protected]> * fix(security): patch managed runtime versions instead of refreshing old images (oblien#1657) * fix(security): apply reviewed patches to managed runtimes * fix(security): refuse Bun runtime patches that downgrade repository requirements * fix(migration): parse coalesced Cloud rsync progress * refactor(build): share package-manager version overrides * fix(migration): read raw rsync byte counters across versions * fix(projects): reject blank required build commands when saving settings (oblien#1658) * fix(projects): reject blank required build commands when saving settings * fix(projects): validate commands against enabled service recipes * fix(projects): validate the incoming monorepo command ownership * fix(dashboard): offer Static Site in the folder upload stack picker (oblien#1656) The folder upload flow asks for a stack before the folder (there is no auto-detection on this path), but filtered `static` out of the grid. A plain HTML/CSS/JS folder with no build step therefore had no correct choice. Everything downstream already handles `static` (empty build and start commands, output `.`, static file-serve), so drop the filter. Closes oblien#1567 Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(deploy): don't offer password protection for tunnel hostnames in the wizard (oblien#1650) The deploy wizard offered a site password for any custom hostname, even one whose TLS terminates upstream behind a Cloudflare Tunnel. Saving it staged a protection that route apply then rejected ("Password protection requires an exact hostname with HTTPS terminating on this edge"), leaving a "Domain routing needs attention" banner and an unrouted hostname until the staged password was found and removed. The project's Domains page already showed "not supported" for the same hostname; the wizard didn't. The wizard now loads the project's domains and passes the hostnames behind external ingress down to the endpoints card, which includes them in the protection button's unsupported condition, so the dialog shows the existing "not supported" notice instead of the password form. Fixes oblien#1649 * feat(cloud): use the BytesMap SDK for unified telemetry and remove PostHog (oblien#1642) * feat(cloud): unify telemetry through the BytesMap SDK and remove PostHog * fix(telemetry): derive HTTP span failures from final responses * fix(billing): keep expired renewal payment recovery available (oblien#1664) * fix(cli): recover failed updates and gate installed VPS releases (oblien#1662) * fix(cli): stream release downloads safely and gate real VPS updates * fix(cli): recover update retries and gate installed release payloads * test(release): include installed CLI gate in npm policy cases * fix(assistant): find agent CLIs installed outside the macOS GUI PATH (oblien#1671) On macOS, a GUI app inherits launchd's minimal PATH, so the assistant probe missed CLIs installed by Homebrew, npm, Bun or the vendor installers. Append the well-known install directories to the search PATH on darwin, keeping the existing PATH first and de-duplicated. Fixes oblien#1669 * fix(security): distinguish absent runtimes from failed probes (oblien#1677) * fix(credentials): show which Cloudflare token to create (oblien#1679) Openship verifies Cloudflare tokens against /user/tokens/verify, so an account-owned token is reported as "Cloudflare rejected this token" even though it is valid. Nothing on the form said which token type to create. Point the field help at My Profile > API Tokens and show the user token prefix as the input placeholder. Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(cloud): preserve owned imported mounts and explain blocked host paths (oblien#1659) * fix(cloud): explain denied host volume mounts * fix(cloud): preserve owned imported project storage * feat: unify Plans & billing and standardize Referral (oblien#1680) * feat(billing): unify plan management and referral navigation * docs(billing): describe plan management and align summary assertions * test(billing): align named plan and accessible summary assertions * fix(dashboard): keep branch and compose-path controls visible after a failed first scan (oblien#1676) When the wizard's first repo scan failed, the page replaced everything with a full-page error, so the branch selector and compose-path field disappeared and the scan could not be steered. Show the error inline with those controls instead, and record the attempted source on a failed prepare so the controls have an owner/repo/branch to work with. Fixes oblien#1666 * fix(billing): keep overview, usage and payments inside each plan (oblien#1681) * fix(billing): keep overview usage and payments inside each plan * test(deploy): align source recovery assertion with current main * fix(billing): preserve Manage payment tab across organization switches * fix(billing): match pending plans through existing Cloud references * Show latest run status for every Actions workflow (oblien#1688) Co-authored-by: Chris Crosby <[email protected]> * fix(projects): label Compose services projects as a Compose stack, not a Static Site (oblien#1672) A Compose import resolves to the static workload (no single server, no workloadType), so Overview showed Mode: Static Site for a stack of services. Use the getInfo projectType to show "Compose stack" with the service count instead, translated in all ten locales. Fixes oblien#1670 * fix(deploy): recover orphaned build sessions through shared worker ownership (oblien#1689) * fix(deploy): recover abandoned SSH build workers under execution ownership * fix(deploy): preserve handover recovery and skip reads for live owners * fix(deploy): recover exact orphan sessions without hiding older workers * fix(audit): show one close button on event details (oblien#1691) * fix(credentials): show which Cloudflare token to create Openship verifies Cloudflare tokens against /user/tokens/verify, so an account-owned token is reported as "Cloudflare rejected this token" even though it is valid. Nothing on the form said which token type to create. Point the field help at My Profile > API Tokens and show the user token prefix as the input placeholder. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(audit): show one close button on event details The details modal drew the shared modal's X and a text Close button in the same corner, so they overlapped. Turn off the shell's button and use the icon button other dialog headers use, keeping the localized aria-label. --------- Co-authored-by: Claude Opus 5.5 <[email protected]> * Improve deployment speed, verification, and cancellation emails (oblien#1683) * perf: reuse Docker builders and parallelize independent Compose work * test: exercise declared dependency gates on the isolated Docker host * fix: preserve dependency ownership and native cache maintenance * fix: drain dependency readiness failures through the shared task barrier * test: align server recovery expectations with source scan recovery * fix: retain released dependency providers during publication recovery * Keep route verification and bound parallel deployment work safely * Send scoped cancellation confirmations through the customer email queue * Offer help without treating one canceled subscription as account churn * Invite cancellation feedback and offer direct support * Preserve native Docker dependency cache across source changes * Keep runtime dependencies ahead of changing API source * Split independent Docker regression suites across CI jobs * Use fresh connections for routing configuration probes * Show published deployments while final startup verification runs * Complete verification translations and align test types * feat(ui): unify website and Cloud plan presentation (oblien#1692) * feat(ui): unify website and Cloud plan presentation * fix(web): generate Next types before typechecking * Fix public BuildKit pulls and scoped Claude startup (oblien#1698) * Recover public image pulls after registry login rejection * Keep scoped Claude turns from advertising permission bypass * fix(backups): stop browsers autofilling destination credentials (oblien#1710) The Access key ID / Secret access key pair (and the SFTP user / password pair) in the Add destination modal rendered as a plain text input followed by a password input with no autocomplete hints. Browsers and password managers read that shape as a login form and filled in the user's saved site credentials. Mark the identifier fields autoComplete="off" and the secret fields autoComplete="new-password", matching the convention used by the other credential forms in the dashboard. * fix(backups): stop the destination menu being clipped by its card (oblien#1709) The Destinations card used overflow-hidden to round the row hover background, which also clipped the absolutely-positioned row action menu, so on the last row only the first item was visible. Drop the overflow clip and round the last row's bottom corners instead. * Recover orphaned Cloud backup activities through existing ownership gates (oblien#1711) * Support hosted Jobs on Manage-connected SSH servers (oblien#1712) * feat(plugins): add Openship plugins for Codex and Claude Code (oblien#1714) * Add platform imports and refresh dashboard and Cloud website (oblien#1713) * feat: add platform migrations and refresh the Cloud experience * fix(ci): run MongoDB 8 imports on compatible runners * docs(web): add Railway and Vercel migration pages * feat(dashboard): add shared dotenv text editing and top add action * fix(dashboard): wrap text editor actions on narrow screens * fix(backups): serialize backup execution per destination to prevent connection exhaustion (oblien#1720) Co-authored-by: chbndrhnns <[email protected]> * Fix webmail printing and refresh security dependencies (oblien#1718) * Render mail print metadata as text and isolate print documents * Update application dependencies for published security advisories * Require patched Dovecot and Pigeonhole in mail images * Protect support intake and add mailbox sender blocking (oblien#1715) * Protect support intake and add mailbox sender blocking * Regenerate support operator route reference * Wire contact widget key into the website runtime * Fix repeat contact challenges and classify private support blocks * Fix webmail message colors across light and dark themes (oblien#1716) * Propose source image updates through reviewed GitHub PRs (oblien#1717) * feat(updates): propose reviewed image changes in repository PRs * Reuse deployment image validation and publish source-update API references * Keep shared and inherited Compose image edits in the source editor * Offer reviewed source updates for pinned advisory images * fix(api): stamp PAT token id on REST audit rows and audit token reads (oblien#1708) * fix(api): stamp PAT token id on REST audit rows and audit token reads Two gaps in the audit log, both from the same root: a REST call made with a personal access token left no trace of WHICH token made it, and a successful read made with a token left no row at all — while the same read through MCP was audited with the token id attached. - resolveCallClientId now falls back to the credential the auth layer already resolved: a token principal's session id IS its canonical principal id (pat:<id> / oauth:<clientId>), minted from the hashed-token lookup, not from anything the caller supplies. The nonce-signed MCP claim still wins. Browser sessions never reach the fallback (no principalKind), so a cookie session id can never land in the column. Shared operations and the deployment create path use the same resolver, so their rows gain the token id too. No schema change: the column was documented for exactly this value. - The route emitter now audits successful reads/lists by token principals (PAT / OAuth) — a script holding a token gets the same "what did it look at" treatment MCP already gives its reads. Browser reads stay unaudited (too noisy), failed reads are still not logged, and operations that already recorded the call still skip the emitter. One exception: reads of the audit log itself are not audited — every such read would append a row to the log, so its total could never be stable and its facets would be dominated by whoever reads it most. Fixes oblien#1703 * fix(api): clear the error-boundary gate and the tokens parity expectation The error-boundary gate flagged the pre-auth catch in resolveCallClientId as unobserved. It only runs when no RequestContext exists yet, so there is no credential to derive from: mark it with the repo's diagnostics-ignore marker. The tokens SDK-parity audit test listed only the three MCP rows, but token reads are now audited by design, so the two remote token-client reads in that test add two settings:read rows. Expect them, matching the settings/webhooks parity updates. Fixes oblien#1703 * fix(api): avoid duplicate MCP read audit events * fix(api): simplify audit coverage and reject malformed nonce bytes --------- Co-authored-by: Hydra <[email protected]> * Fix custom API setup state and reuse managed agent setup (oblien#1722) * feat(dns): add DigitalOcean DNS provider (oblien#1707) * feat(dns): add DigitalOcean DNS provider support - Add DigitalOcean DNS management for custom domains and DNS-verified HTTPS - Preserve record ownership with paired TXT markers and update provider setup guidance * fix(dns): parse DigitalOcean record IDs from formatted JSON - Handle compact and pretty-printed API responses, with a fallback when Python is unavailable - Cover record cleanup and API error responses in DNS hook tests * fix(dns): harden DigitalOcean DNS provider after review - Decode TXT input before writing so quoted values compare in-sync - Treat zones not delegated to DigitalOcean nameservers as pending - Resolve zones with one paginated domain list and strip wildcard labels - Carry credential id and provider on unauthorized lookups so the reconnect modal targets the rejected credential - Clean up ownership markers when the marked record is already gone - Report read-only token verification accurately and surface missing write scope on 403 - Guard token redaction and requests against an empty token - Share DNS name helpers and the DNS-01 cleanup hook template * fix(dns): release owned records from inactive DigitalOcean zones - Allow DNS cleanup to resolve inactive zones while keeping writes restricted to active zones - Fetch DigitalOcean records and ownership markers concurrently * fix(dns): resolve provider credentials oldest first * Require strict JSON record IDs before DNS challenge cleanup --------- Co-authored-by: Hydra <[email protected]> * Fix canonical GitHub OAuth routing in same-origin proxy builds (oblien#1723) * fix(mail): drop Dovecot's stale pid file before supervisord starts (oblien#1704) After a `docker restart` (not recreate) the openship-mail container keeps the previous run's /run/dovecot/master.pid, and a fresh PID namespace hands the old PID to another daemon — usually amavisd. Dovecot then refuses to start with "Dovecot is already running", supervisord burns its retries and marks dovecot FATAL, and nothing listens on 993/995 until someone removes the pid file by hand. The entrypoint already did this for Amavis (PR oblien#885); Dovecot is the mirror image. A new prepare-dovecot-runtime.sh removes /var/run/dovecot/master.pid at boot, called from the entrypoint next to the Amavis step, and a Docker e2e test proves the refusal and the recovery against real Dovecot. Fixes oblien#1700 * Check source-update PR access and guide GitHub permission recovery (oblien#1721) * Check source PR permissions and provide connection recovery * Update assistant PR fixtures for permission preflight * fix(updates): report image services with an unknown deployed digest instead of up to date (oblien#1706) * fix(updates): report image services with an unknown deployed digest instead of up to date When the active service_deployment row has no image_digest — a carried service loses it when a per-service update upserts the row — the feed compared digests only when both were known and fell back to the equal ref strings, so the service read as up to date and `?behind=1` dropped the project entirely. The deployed side is now marked unknown, not current: evaluateDrift flags image services whose row has no digest, and the feed resolves those against the live daemon before rendering — the running container's image ID against the image ID the configured tag resolves to right now, the same test the deploy pipeline uses before carrying an unchanged service. A mismatch is behind; matching images recover the tag's RepoDigest onto the row when the registry comparison agrees; anything the daemon cannot answer stays unknown and the project is kept visible with an `unverified` flag instead of being dropped. Fixes oblien#1702 * fix(updates): narrow the live runtime to DockerRuntime before resolving unknown digests `resolveDeploymentRuntimeForRead` returns a `RuntimeAdapter`, and `prepareDeploymentImage` is Docker-only, so the Typecheck job failed with TS2345 at local-image-drift.ts:79. Guard the call with the same `instanceof DockerRuntime` check `recordDeploymentArtifacts` uses: other runtimes leave the services unknown, and the runtime is still disposed on every path. --------- Co-authored-by: Hydra <[email protected]> * fix(edge): survive SSH disconnects during upgrades (oblien#1699) * fix(edge): finish upgrades and rollback independently of SSH * Check retained edge backups before stopping traffic * Allow reviewed repository patches to delete regular files (oblien#1693) * Allow reviewed repository patches to delete regular files * Show file deletions in repository patch review --------- Co-authored-by: Chris Crosby <[email protected]> * fix(platform): match BullMQ repeatables by name so cron edits remove the old schedule (oblien#1697) getRepeatableJobs() returns repeatables whose `id` is null (BullMQ 5.70.4 stores them under an opaque hashed key and never writes an `id` into the repeat hash), so the `r.id === jobId` check in scheduleRecurring and removeRecurring never matched. Editing a job's cron added a second repeatable that kept firing, and disabling a policy left a stale repeatable in Redis. scheduleRecurring adds the job under its jobId as the name, so match on `r.name` instead. Adds a regression test with a mocked recurring queue shaped like real BullMQ 5.70.4 output: the stale repeatable is removed on reschedule and on disable, and other jobs' repeatables are left alone. Fixes oblien#1695 * Avoid duplicate webhook payloads for GitHub-owned workflows (oblien#1690) * Avoid duplicate GitHub observer webhook payloads * Let periodic reconciliation cover old observer events --------- Co-authored-by: Chris Crosby <[email protected]> * Preserve mail logs and ban history safely across engine updates (oblien#1705) * fix(mail): persist mail logs, fail2ban database and ignoreip across engine updates Mail engine updates recreate the container (docker rm -f + docker run), so anything not on a bind mount is lost: /var/log (mail.log, dovecot and fail2ban logs), fail2ban's SQLite database, and operator ignoreip customisations in /etc/fail2ban. - Bind-mount /var/log and /var/lib/fail2ban from the host mail state dir. Deliberately not /etc/fail2ban: a seed-once mount would hide later image changes (same trap as oblien#392's master.cf). - Render operator ignoreip additions (OPENSHIP_MAIL_F2B_IGNOREIP, passed through engine.env) into a jail.d override on every boot, as baked jail.local value + operator value, so image defaults are never dropped. - Run cron under supervisord so logrotate's daily job actually fires for the now-persisted logs; logrotate is installed explicitly (only a Recommends of rsyslog) and build-gated. Fixes oblien#1701 * Preserve existing mail state before replacement and repair supervised log rotation --------- Co-authored-by: Hydra <[email protected]> * fix(build): keep environment values out of Dockerfiles and logs (oblien#1674) * fix(build): keep environment values out of Dockerfiles and logs * test(build): exercise secret transport in deployment CI * test(build): align cloud fixture file and command identities * fix(build): validate secrets before allocating build resources * test(edge): verify private vhosts with unprivileged workers (oblien#1725) * fix(edge): publish vhost configurations with 0644 permissions * Keep edge route secrets private and verify unprivileged workers --------- Co-authored-by: chbndrhnns <[email protected]> Co-authored-by: Hydra <[email protected]> * Fix mail account overflow and list all signed-in mailboxes (oblien#1726) * fix(dashboard): refresh deployment state after navigation and browser resume (oblien#1673) * fix(dashboard): reconcile deployment status after navigation * Avoid opening a retry stream before its destination page loads * Preserve buffered build logs during browser resume checks * Retain a trailing status check when resume overlaps an older read * perf(edge): avoid redundant route writes and remote reads (oblien#1660) * fix(edge): stop trimming edge file content read through exec Executors resolve command output with `stdout.trim()`, which is right for command parsers and wrong for file content. Three file reads go through `exec` + `cat`: the sudo fallback when the login user cannot read a file (root-owned 0600 vhosts on a non-root SSH login), the container fallback in `readMaybeInContainer`, and `DockerEdgeExecutor` in container file mode. Each returned the file without its trailing newline. That breaks every comparison against the bytes about to be written: `writeEdgeChallenge`'s "already on disk" check never matched, so each `serveEdgeChallenge` rewrote the vhost and reloaded the edge, and a rollback that restored such a snapshot wrote the truncated text back. Frame the payload between two markers so the trim cannot reach it. The closing marker is printed only after `cat` succeeds, and unframed output is an error rather than a short file; anything a login shell prints before the opening marker is ignored. `exec` itself is unchanged. (SshExecutor still decodes each output chunk separately, so a multi-byte UTF-8 character split across chunks can decode wrongly. That predates this change, affects every command, and vhosts are ASCII; left for a separate fix.) Refs oblien#1536 Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(edge): skip route writes and reloads that would change nothing Every route registration rewrote its vhost and sidecar and reloaded the edge, even when the bytes on disk were already exactly right. On a deploy `registerResolvedRoutes` registers each hostname and then, when a verified certificate already exists, `provisionCert` re-registers it through `activateCert`: two write-and-reload cycles per hostname for no change. Over SSH on a remote server that is most of the deploy's routing phase. `updateConfig` now publishes only the files that differ: a change is skipped when the file already holds exactly that content as a regular file with the desired mode, or when it removes a path that is already gone. The mode comes from a new optional `CommandExecutor.lstat` (SFTP lstat on SSH, fs.lstat locally and through DockerEdgeExecutor's mount), which also answers the existence probe, so an unchanged file costs the same two file operations as before. Where the mode cannot be read, content is the only evidence, as in `writeEdgeChallenge` today. Skipping the reload needs more than disk matching: a process that died between write and reload leaves the edge running something else. The provider records whether it has seen the edge load what is on disk (a successful reload sets it; a failed reload or incomplete rollback clears it), and a transaction that writes nothing still reloads until then. Every write path to edge config or certificate files clears that record before it touches disk, so a writer that fails part-way, inside or outside this transaction, cannot leave it vouching for unloaded files. Writes bump a generation counter, and a reload only vouches for the generation it started with; certbot and certificate staging, which run outside the config lock, bump it again when they finish, so once they return no reload that overlapped them vouches for what they wrote. Remote servers get a new provider per deployment (the native local platform keeps one for the life of the process), so an unchanged deploy of HTTP-01 hostnames costs one confirming reload instead of two per hostname. DNS-01 and wildcard hostnames, which the platform activates directly, still reload once each. That confirming reload also syncs the container edge's trusted-proxy include, which comes from the API's environment and so changes only with a restart. `writeEdgeChallenge` drops its own content-only "already on disk" return and lets `updateConfig` decide, so it honours the mode and the record above too. Challenge tokens are served, not loaded, and do not clear the record. `activateCert` always reloads: issuance and uploads put new certificate material at the paths the vhost already names, so the vhost text cannot show the change. Only `provisionCert`'s reuse of an existing, verified certificate may skip. Rollback restores only the files this transaction attempted to write, with their original mode when known; a symlink, even a dangling one, is replaced by a regular file (and restored as a link where `readlink` can see it). Refs oblien#1536 Co-Authored-By: Claude Opus 5.5 <[email protected]> * perf(edge): stop repeating the same remote file operations per route On a non-root SSH login whose vhosts are root:root 0600, every read of a route file is a refused SFTP read plus a `sudo cat`, and every probe for a path that does not exist ends in a `sudo test -e`. With the previous two fixes an unchanged registration writes and reloads nothing, but it still paid about 25 such round trips per hostname, most of them repeats. - Remember, for one turn of the edge config lock, what was read or written under the sites directory. Slug resolution, the protection check and the transaction snapshot read the same vhost and sidecar up to seven times. Only the provider's own file helpers change those files, all under that lock; certificates stay uncached because certbot changes them. - `elevatedExecutor.exists` asks `lstat` before `sudo test -e`. SFTP's "no such file" is authoritative; a path behind a directory the login cannot search reports a refusal and still gets root's answer. - Create the sites directory once per provider; the atomic writes create missing parents anyway. - Skip removing a route's bootstrap certificate directory when it is absent: lstat says so and `exists` (which also looks inside a container edge) agrees. An unknown answer still removes. Remote operations for an unchanged redeploy of nine HTTP-01 TLS hostnames through a non-root login, counted at the provider level (registerRoute + provisionCert per host, excluding the platform's certificate pre-check) with a fake executor that refuses unelevated reads of the sites and certificate directories: remote execs (sudo) SFTP ops reloads main 459 (351) 414 18 + untrimmed reads 387 (315) 396 18 + skip unchanged 226 (226) 326 1 + this commit 56 (56) 317 1 Refs oblien#1536 Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(edge): report a refused lstat in elevatedExecutor.exists The new lstat shortcut turned a rejected probe into "unknown" without observing the error, which `errors:check` (audit-error-boundaries) flags as an unobserved rejection. Report it through observeCaughtError like the neighbouring `exists` fallback; behaviour is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Hydra <[email protected]> * Accept bounded YAML aliases in GitHub workflow imports (oblien#1661) Co-authored-by: Chris Crosby <[email protected]> * fix(deploy): let webhook and CLI deploys approve reviewed Compose changes (oblien#1675) * fix(deploy): let webhooks and CLI accept reviewed Compose changes Webhook and CLI deploys hit COMPOSE_REVIEW_REQUIRED with no way through the gate, and the refusal hid what changed. Accept the current Compose source explicitly per deploy (--accept-compose-changes, or acceptComposeChanges on the hook), and surface the added/changed/removed services in the CLI error and the webhook delivery record. * test(contracts): include acceptComposeChanges in deployment schema flags The Compose review gate added acceptComposeChanges to CreateDeploymentSchema without updating the contract test that enumerates the schema's public flags, so the contracts suite failed on CI. Add the flag to the expected list. * docs(cli): list --accept-compose-changes in the deploy reference The new deploy flag was missing from the generated CLI reference, so docs:check failed with a stale reference. Add the row in declaration order. * Retain explicit Compose approval through shared deployment admission --------- Co-authored-by: Hydra <[email protected]> * fix(db): repair missing workspace and advisory fields on upgrade (oblien#1727) * fix(migration): improve platform import setup and cancellation (oblien#1728) * fix: sync dashboard setup, instance imports, and migration pages (oblien#1729) * fix(import): restore workspace visibility and verified edge status * fix: complete dashboard setup and migration website updates * fix(mail): complete local backups and portable server restores (oblien#1734) * fix(mail): complete local backups and portable server restores * test(mail): report engine diagnostics on round-trip failure * fix(mail): stop Postfix writers before container snapshots * fix(mail): apply Postfix shutdown in the daemon action renderer * test(mail): install GNU tar on the remote fixture host * update (oblien#1737) * fix(deploy): keep token clones on https when git config rewrites to ssh (oblien#1736) Token clones allow only HTTPS (protocol.allow=never, GIT_ALLOW_PROTOCOL=https), but git still reads the user's global and system config. A common rule such as url."[email protected]:".insteadOf https://github.com/ turns the https clone URL into ssh, and git fails with "transport 'ssh' not allowed". Map the repository URL and its namespace onto themselves in the scoped clone config. Git applies the longest matching insteadOf, so these outrank a broader rewrite while the rest of the user's config (proxy, CA bundle) keeps working. Fixes oblien#1731 * fix: unify project settings, refine web navigation, and restore CI (oblien#1738) * chore: keep generated review artifacts out of git * fix(dashboard): keep single apps in the service settings flow * fix(web): refine Arabic landing and navigation * fix(core): align host channel branding with dashboard copy * docs: prepare critical v0.9.12 release notes * fix(migration): keep environment fields visible while editing * Bump to v0.9.12 + announce * chore: pause unpublished v0.9.12 release * fix(migration): preserve project services and reuse domain routing (oblien#1740) * feat: add domain virtual responses with a compact editor (oblien#1739) * feat: add domain virtual responses with a compact editor and bounded edge matching * fix: keep traffic working during rolling edge script updates * refactor: centralize edge management transport * fix(dashboard): keep destination selection consistent for one server (oblien#1741) * fix(ci): update build fixtures and finalize v0.9.12 notes * fix(test): isolate worker-local edge upgrade compatibility checks * Bump to v0.9.12 + announce * test(release): freeze v0.9.11 upgrade baseline * test(deployments): supply saved environment in inline build fixture * ci(release): split Docker journeys across four complete shards * test(scaling): retain redacted operator diagnostics after database failure * test(edge): allow realistic CLI startup when verifying replacement * fix(cli): use Node for container host-channel probe (oblien#1745) Co-authored-by: chbndrhnns <[email protected]> * feat(plugins): prepare ChatGPT/Codex directory submission (oblien#1746) - Add openWorldHint to MCP tool annotations with per-route override - Document readOnly/destructive/openWorld hints in MCP docs - Add OpenAI review test cases, publication notes, and support/privacy/terms URLs to plugin manifest - Bump plugin version to 0.1.2 - Add SUBMISSION.md guide for directory draft creation and review setup * fix(web): clarify Cloud pricing and included management * fix: align monthly and yearly pricing across web and dashboard * fix(dashboard): read runtime source GitHub metadata from API contract (oblien#1747) * fix(cli): keep the running service's ports when `openship up` runs again (oblien#1743) * fix(cli): keep the running service's ports when `openship up` runs again startService resolved ports without telling resolvePorts which ones the running service already holds, so on a re-run they looked busy. It waited out waitPortFree on each port (about 12s) and then moved the install to the next pair, rewriting ports.json (7100/7200 became 7101/7201). While the service is running, pass its stored ports as reclaimable, the same way the compose path does with composeHeldPorts. Refs oblien#1570 * fix(cli): verify service-owned ports and align dry-run --------- Co-authored-by: Hydra <[email protected]> * fix(cloud): limit the update banner to verified workload security (oblien#1748) * fix(cloud): suppress installation release notices in managed dashboards * fix(cloud): use only verified security in the update banner * Fix repeat signup recovery during Cloud linking (oblien#1750) * Explain duplicate-container deployment recovery (oblien#1751) * Fix first-admin recovery and Compose managed-edge provisioning (oblien#1766) * Target project services and ports when adding domains from the CLI (oblien#1765) * Resolve app template config placeholders consistently in service ports (oblien#1764) * Fix CLI login through public instance URLs (oblien#1762) * Discover the same-origin API when logging in through a public URL * Document optional unauthenticated API discovery fallback * Fix folder deployment naming, scan errors and streamed uploads (oblien#1761) * fix(backup): capture verified empty Docker sources (oblien#1769) Co-authored-by: chbndrhnns <[email protected]> Co-authored-by: Hydra <[email protected]> * Fix Cloud checkout handoff, purchase recovery and payment warnings (oblien#1777) * fix(billing): recover checkout without blank tabs or duplicate spaces * fix(billing): observe checkout fallbacks and update disconnect regression * fix(instance): fence late event streams during controller handoff (oblien#1779) * Migrate Cloud integration to Oblien SDK 3.0.2 and native VM API (oblien#1778) * feat(cloud): migrate Oblien integration to SDK 3 and versioned VM API * test(cloud): decode native VM catalog fixture at the provider boundary * style(cloud): format VM contract regression test * test(cli): select non-root SSH session in sudo-refusal fixture * Complete native VM credentials, alerts and SDK rollout checks * Preserve the documented hosted checkout URL across the API cutover * Fix billing access during active pending renewals (oblien#1780) --------- Co-authored-by: Hydra de lerne <[email protected]> Co-authored-by: Osaamaa <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Rudi <[email protected]> Co-authored-by: Hydra <[email protected]> Co-authored-by: Abdullah <[email protected]> Co-authored-by: Saim Shafique <[email protected]> Co-authored-by: Cem <[email protected]> Co-authored-by: chriscrosby <[email protected]> Co-authored-by: Chris Crosby <[email protected]> Co-authored-by: Mohammed Mostafa <[email protected]> Co-authored-by: Johannes Rueschel <[email protected]> Co-authored-by: chbndrhnns <[email protected]> Co-authored-by: Rohan Das <[email protected]> Co-authored-by: Michael Ogunjimi <[email protected]> Co-authored-by: Sibil Sarjam Soren <[email protected]>
liodali
added a commit
to liodali/openship
that referenced
this pull request
Nov 21, 2026
* perf(docker): speed up local image exports and scope shared image paths (#1648) * fix(logs): preserve application runtime after adding services (#1655) * feat(web): group navbar links and add a Start on Cloud button (#1653) * feat(web): add /migrate page for teams moving an existing app Adds a marketing page for visitors who want to move an app to Openship Cloud: five common situations (growing bill, runtime limits, split stack, long-running jobs, lock-in), a category-level comparison with no vendor names, an honest fit section, migration steps, a help section and FAQs. Each situation has its own hash link (#bill, #limits, #split, #jobs, #lock) for sharing. The starting price is read from the live Cloud catalog. Also adds a Migrate link to the navbar and /migrate to the pages sitemap, with FAQ and breadcrumb JSON-LD. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(web): group navbar links and add a Start on Cloud button Keeps the same navbar shape (floating pill, logo left, actions right, dark-section behavior) and groups the links so the pill stays short: - Product: Features, Apps, Email, Desktop app - Resources: Blog, Changelog, Support - Pricing, Migrate, Docs and the GitHub stars stay top level The right side now shows Log in, Download (outlined) and Start on Cloud (primary, links to Cloud plans via cloudPlanHref). Dropdowns open on hover with a mouse and on click or Enter otherwise, and close on Escape or blur. The mobile panel lists the same links in groups. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> * feat(web): add /migrate page for teams moving an existing app (#1652) Adds a marketing page for visitors who want to move an app to Openship Cloud: five common situations (growing bill, runtime limits, split stack, long-running jobs, lock-in), a category-level comparison with no vendor names, an honest fit section, migration steps, a help section and FAQs. Each situation has its own hash link (#bill, #limits, #split, #jobs, #lock) for sharing. The starting price is read from the live Cloud catalog. Also adds a Migrate link to the navbar and /migrate to the pages sitemap, with FAQ and breadcrumb JSON-LD. Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Hydra de lerne <[email protected]> * fix(build): scale the managed build-cache budget with the disk (#1644) The managed project-cache budget was min(5 GiB, 10% of the Docker filesystem). A project whose BuildKit cache outgrew 5 GiB was evicted by the post-build prune after every build, so every deploy started cold. - buildCacheKeepBytes is now 20% of the Docker filesystem, so the budget follows the disk in both directions: disks under 50 GiB also move from 10% to 20%. This also applies to managed Cloud workers, which share the collector. - Below the 20% free-space GC target the idle budget shrinks to what still fits above it (never below the old min(5 GiB, 10%)), so idle caches give space back before rollback artifacts and running apps. BuildKit's own 20% minFreeSpace still bounds a running worker. - pruneManagedBuildCaches defaults to that budget instead of 5 GiB. - The daily sweep marks its call as automaticRetention, so managed caches use the same budget; keepStorageBytes still bounds native Docker cache. Co-authored-by: Claude Opus 5.5 <[email protected]> * feat(servers): configure build-cache budgets and fix migration progress (#1645) * fix(build): scale the managed build-cache budget with the disk The managed project-cache budget was min(5 GiB, 10% of the Docker filesystem). A project whose BuildKit cache outgrew 5 GiB was evicted by the post-build prune after every build, so every deploy started cold. - buildCacheKeepBytes is now 20% of the Docker filesystem, so the budget follows the disk in both directions: disks under 50 GiB also move from 10% to 20%. This also applies to managed Cloud workers, which share the collector. - Below the 20% free-space GC target the idle budget shrinks to what still fits above it (never below the old min(5 GiB, 10%)), so idle caches give space back before rollback artifacts and running apps. BuildKit's own 20% minFreeSpace still bounds a running worker. - pruneManagedBuildCaches defaults to that budget instead of 5 GiB. - The daily sweep marks its call as automaticRetention, so managed caches use the same budget; keepStorageBytes still bounds native Docker cache. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(servers): configurable build-cache budget per server Adds an optional managed build-cache budget for remote deployment servers, edited from a Build cache card on the server Overview tab and through the existing server update API, CLI and MCP tool. Empty keeps the automatic share of the Docker filesystem. - servers.build_cache_budget_bytes (migration 0224), bounded 1 GiB to 64 TiB in the database and the API contract. - Only remote deployment servers expose and accept it: the local row builds through the host daemon's native cache and migration sources never build, so updates there are refused; managed Cloud servers keep rejecting every field except name. Changing it requires server admin, since a large budget lets caches hold most of the disk. - SSH Docker runtimes read the value through a new buildCacheBudgetBytes connection option on every collection, so a change applies to the next build without reconnecting. It sets the post-build prune budget, BuildKit's maxUsedSpace and the daily sweep's managed budget, capped at the filesystem minus the admission reserve and still reduced under storage pressure; a failed read falls back to automatic. - Updates are audited like gpuOverride and do not drop retained SSH sessions. Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs: regenerate the MCP and CLI references for the build-cache budget The server update tool description and the `server configure` help now mention the build-cache budget, so the generated references changed. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(migration): frame streamed rsync progress updates * fix(migration): preserve exact progress with rsync byte units --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Hydra <[email protected]> * fix(security): patch managed runtime versions instead of refreshing old images (#1657) * fix(security): apply reviewed patches to managed runtimes * fix(security): refuse Bun runtime patches that downgrade repository requirements * fix(migration): parse coalesced Cloud rsync progress * refactor(build): share package-manager version overrides * fix(migration): read raw rsync byte counters across versions * fix(projects): reject blank required build commands when saving settings (#1658) * fix(projects): reject blank required build commands when saving settings * fix(projects): validate commands against enabled service recipes * fix(projects): validate the incoming monorepo command ownership * fix(dashboard): offer Static Site in the folder upload stack picker (#1656) The folder upload flow asks for a stack before the folder (there is no auto-detection on this path), but filtered `static` out of the grid. A plain HTML/CSS/JS folder with no build step therefore had no correct choice. Everything downstream already handles `static` (empty build and start commands, output `.`, static file-serve), so drop the filter. Closes #1567 Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(deploy): don't offer password protection for tunnel hostnames in the wizard (#1650) The deploy wizard offered a site password for any custom hostname, even one whose TLS terminates upstream behind a Cloudflare Tunnel. Saving it staged a protection that route apply then rejected ("Password protection requires an exact hostname with HTTPS terminating on this edge"), leaving a "Domain routing needs attention" banner and an unrouted hostname until the staged password was found and removed. The project's Domains page already showed "not supported" for the same hostname; the wizard didn't. The wizard now loads the project's domains and passes the hostnames behind external ingress down to the endpoints card, which includes them in the protection button's unsupported condition, so the dialog shows the existing "not supported" notice instead of the password form. Fixes #1649 * feat(cloud): use the BytesMap SDK for unified telemetry and remove PostHog (#1642) * feat(cloud): unify telemetry through the BytesMap SDK and remove PostHog * fix(telemetry): derive HTTP span failures from final responses * fix(billing): keep expired renewal payment recovery available (#1664) * fix(cli): recover failed updates and gate installed VPS releases (#1662) * fix(cli): stream release downloads safely and gate real VPS updates * fix(cli): recover update retries and gate installed release payloads * test(release): include installed CLI gate in npm policy cases * fix(assistant): find agent CLIs installed outside the macOS GUI PATH (#1671) On macOS, a GUI app inherits launchd's minimal PATH, so the assistant probe missed CLIs installed by Homebrew, npm, Bun or the vendor installers. Append the well-known install directories to the search PATH on darwin, keeping the existing PATH first and de-duplicated. Fixes #1669 * fix(security): distinguish absent runtimes from failed probes (#1677) * fix(credentials): show which Cloudflare token to create (#1679) Openship verifies Cloudflare tokens against /user/tokens/verify, so an account-owned token is reported as "Cloudflare rejected this token" even though it is valid. Nothing on the form said which token type to create. Point the field help at My Profile > API Tokens and show the user token prefix as the input placeholder. Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(cloud): preserve owned imported mounts and explain blocked host paths (#1659) * fix(cloud): explain denied host volume mounts * fix(cloud): preserve owned imported project storage * feat: unify Plans & billing and standardize Referral (#1680) * feat(billing): unify plan management and referral navigation * docs(billing): describe plan management and align summary assertions * test(billing): align named plan and accessible summary assertions * fix(dashboard): keep branch and compose-path controls visible after a failed first scan (#1676) When the wizard's first repo scan failed, the page replaced everything with a full-page error, so the branch selector and compose-path field disappeared and the scan could not be steered. Show the error inline with those controls instead, and record the attempted source on a failed prepare so the controls have an owner/repo/branch to work with. Fixes #1666 * fix(billing): keep overview, usage and payments inside each plan (#1681) * fix(billing): keep overview usage and payments inside each plan * test(deploy): align source recovery assertion with current main * fix(billing): preserve Manage payment tab across organization switches * fix(billing): match pending plans through existing Cloud references * Show latest run status for every Actions workflow (#1688) Co-authored-by: Chris Crosby <[email protected]> * fix(projects): label Compose services projects as a Compose stack, not a Static Site (#1672) A Compose import resolves to the static workload (no single server, no workloadType), so Overview showed Mode: Static Site for a stack of services. Use the getInfo projectType to show "Compose stack" with the service count instead, translated in all ten locales. Fixes #1670 * fix(deploy): recover orphaned build sessions through shared worker ownership (#1689) * fix(deploy): recover abandoned SSH build workers under execution ownership * fix(deploy): preserve handover recovery and skip reads for live owners * fix(deploy): recover exact orphan sessions without hiding older workers * fix(audit): show one close button on event details (#1691) * fix(credentials): show which Cloudflare token to create Openship verifies Cloudflare tokens against /user/tokens/verify, so an account-owned token is reported as "Cloudflare rejected this token" even though it is valid. Nothing on the form said which token type to create. Point the field help at My Profile > API Tokens and show the user token prefix as the input placeholder. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(audit): show one close button on event details The details modal drew the shared modal's X and a text Close button in the same corner, so they overlapped. Turn off the shell's button and use the icon button other dialog headers use, keeping the localized aria-label. --------- Co-authored-by: Claude Opus 5.5 <[email protected]> * Improve deployment speed, verification, and cancellation emails (#1683) * perf: reuse Docker builders and parallelize independent Compose work * test: exercise declared dependency gates on the isolated Docker host * fix: preserve dependency ownership and native cache maintenance * fix: drain dependency readiness failures through the shared task barrier * test: align server recovery expectations with source scan recovery * fix: retain released dependency providers during publication recovery * Keep route verification and bound parallel deployment work safely * Send scoped cancellation confirmations through the customer email queue * Offer help without treating one canceled subscription as account churn * Invite cancellation feedback and offer direct support * Preserve native Docker dependency cache across source changes * Keep runtime dependencies ahead of changing API source * Split independent Docker regression suites across CI jobs * Use fresh connections for routing configuration probes * Show published deployments while final startup verification runs * Complete verification translations and align test types * feat(ui): unify website and Cloud plan presentation (#1692) * feat(ui): unify website and Cloud plan presentation * fix(web): generate Next types before typechecking * Fix public BuildKit pulls and scoped Claude startup (#1698) * Recover public image pulls after registry login rejection * Keep scoped Claude turns from advertising permission bypass * fix(backups): stop browsers autofilling destination credentials (#1710) The Access key ID / Secret access key pair (and the SFTP user / password pair) in the Add destination modal rendered as a plain text input followed by a password input with no autocomplete hints. Browsers and password managers read that shape as a login form and filled in the user's saved site credentials. Mark the identifier fields autoComplete="off" and the secret fields autoComplete="new-password", matching the convention used by the other credential forms in the dashboard. * fix(backups): stop the destination menu being clipped by its card (#1709) The Destinations card used overflow-hidden to round the row hover background, which also clipped the absolutely-positioned row action menu, so on the last row only the first item was visible. Drop the overflow clip and round the last row's bottom corners instead. * Recover orphaned Cloud backup activities through existing ownership gates (#1711) * Support hosted Jobs on Manage-connected SSH servers (#1712) * feat(plugins): add Openship plugins for Codex and Claude Code (#1714) * Add platform imports and refresh dashboard and Cloud website (#1713) * feat: add platform migrations and refresh the Cloud experience * fix(ci): run MongoDB 8 imports on compatible runners * docs(web): add Railway and Vercel migration pages * feat(dashboard): add shared dotenv text editing and top add action * fix(dashboard): wrap text editor actions on narrow screens * fix(backups): serialize backup execution per destination to prevent connection exhaustion (#1720) Co-authored-by: chbndrhnns <[email protected]> * Fix webmail printing and refresh security dependencies (#1718) * Render mail print metadata as text and isolate print documents * Update application dependencies for published security advisories * Require patched Dovecot and Pigeonhole in mail images * Protect support intake and add mailbox sender blocking (#1715) * Protect support intake and add mailbox sender blocking * Regenerate support operator route reference * Wire contact widget key into the website runtime * Fix repeat contact challenges and classify private support blocks * Fix webmail message colors across light and dark themes (#1716) * Propose source image updates through reviewed GitHub PRs (#1717) * feat(updates): propose reviewed image changes in repository PRs * Reuse deployment image validation and publish source-update API references * Keep shared and inherited Compose image edits in the source editor * Offer reviewed source updates for pinned advisory images * fix(api): stamp PAT token id on REST audit rows and audit token reads (#1708) * fix(api): stamp PAT token id on REST audit rows and audit token reads Two gaps in the audit log, both from the same root: a REST call made with a personal access token left no trace of WHICH token made it, and a successful read made with a token left no row at all — while the same read through MCP was audited with the token id attached. - resolveCallClientId now falls back to the credential the auth layer already resolved: a token principal's session id IS its canonical principal id (pat:<id> / oauth:<clientId>), minted from the hashed-token lookup, not from anything the caller supplies. The nonce-signed MCP claim still wins. Browser sessions never reach the fallback (no principalKind), so a cookie session id can never land in the column. Shared operations and the deployment create path use the same resolver, so their rows gain the token id too. No schema change: the column was documented for exactly this value. - The route emitter now audits successful reads/lists by token principals (PAT / OAuth) — a script holding a token gets the same "what did it look at" treatment MCP already gives its reads. Browser reads stay unaudited (too noisy), failed reads are still not logged, and operations that already recorded the call still skip the emitter. One exception: reads of the audit log itself are not audited — every such read would append a row to the log, so its total could never be stable and its facets would be dominated by whoever reads it most. Fixes #1703 * fix(api): clear the error-boundary gate and the tokens parity expectation The error-boundary gate flagged the pre-auth catch in resolveCallClientId as unobserved. It only runs when no RequestContext exists yet, so there is no credential to derive from: mark it with the repo's diagnostics-ignore marker. The tokens SDK-parity audit test listed only the three MCP rows, but token reads are now audited by design, so the two remote token-client reads in that test add two settings:read rows. Expect them, matching the settings/webhooks parity updates. Fixes #1703 * fix(api): avoid duplicate MCP read audit events * fix(api): simplify audit coverage and reject malformed nonce bytes --------- Co-authored-by: Hydra <[email protected]> * Fix custom API setup state and reuse managed agent setup (#1722) * feat(dns): add DigitalOcean DNS provider (#1707) * feat(dns): add DigitalOcean DNS provider support - Add DigitalOcean DNS management for custom domains and DNS-verified HTTPS - Preserve record ownership with paired TXT markers and update provider setup guidance * fix(dns): parse DigitalOcean record IDs from formatted JSON - Handle compact and pretty-printed API responses, with a fallback when Python is unavailable - Cover record cleanup and API error responses in DNS hook tests * fix(dns): harden DigitalOcean DNS provider after review - Decode TXT input before writing so quoted values compare in-sync - Treat zones not delegated to DigitalOcean nameservers as pending - Resolve zones with one paginated domain list and strip wildcard labels - Carry credential id and provider on unauthorized lookups so the reconnect modal targets the rejected credential - Clean up ownership markers when the marked record is already gone - Report read-only token verification accurately and surface missing write scope on 403 - Guard token redaction and requests against an empty token - Share DNS name helpers and the DNS-01 cleanup hook template * fix(dns): release owned records from inactive DigitalOcean zones - Allow DNS cleanup to resolve inactive zones while keeping writes restricted to active zones - Fetch DigitalOcean records and ownership markers concurrently * fix(dns): resolve provider credentials oldest first * Require strict JSON record IDs before DNS challenge cleanup --------- Co-authored-by: Hydra <[email protected]> * Fix canonical GitHub OAuth routing in same-origin proxy builds (#1723) * fix(mail): drop Dovecot's stale pid file before supervisord starts (#1704) After a `docker restart` (not recreate) the openship-mail container keeps the previous run's /run/dovecot/master.pid, and a fresh PID namespace hands the old PID to another daemon — usually amavisd. Dovecot then refuses to start with "Dovecot is already running", supervisord burns its retries and marks dovecot FATAL, and nothing listens on 993/995 until someone removes the pid file by hand. The entrypoint already did this for Amavis (PR #885); Dovecot is the mirror image. A new prepare-dovecot-runtime.sh removes /var/run/dovecot/master.pid at boot, called from the entrypoint next to the Amavis step, and a Docker e2e test proves the refusal and the recovery against real Dovecot. Fixes #1700 * Check source-update PR access and guide GitHub permission recovery (#1721) * Check source PR permissions and provide connection recovery * Update assistant PR fixtures for permission preflight * fix(updates): report image services with an unknown deployed digest instead of up to date (#1706) * fix(updates): report image services with an unknown deployed digest instead of up to date When the active service_deployment row has no image_digest — a carried service loses it when a per-service update upserts the row — the feed compared digests only when both were known and fell back to the equal ref strings, so the service read as up to date and `?behind=1` dropped the project entirely. The deployed side is now marked unknown, not current: evaluateDrift flags image services whose row has no digest, and the feed resolves those against the live daemon before rendering — the running container's image ID against the image ID the configured tag resolves to right now, the same test the deploy pipeline uses before carrying an unchanged service. A mismatch is behind; matching images recover the tag's RepoDigest onto the row when the registry comparison agrees; anything the daemon cannot answer stays unknown and the project is kept visible with an `unverified` flag instead of being dropped. Fixes #1702 * fix(updates): narrow the live runtime to DockerRuntime before resolving unknown digests `resolveDeploymentRuntimeForRead` returns a `RuntimeAdapter`, and `prepareDeploymentImage` is Docker-only, so the Typecheck job failed with TS2345 at local-image-drift.ts:79. Guard the call with the same `instanceof DockerRuntime` check `recordDeploymentArtifacts` uses: other runtimes leave the services unknown, and the runtime is still disposed on every path. --------- Co-authored-by: Hydra <[email protected]> * fix(edge): survive SSH disconnects during upgrades (#1699) * fix(edge): finish upgrades and rollback independently of SSH * Check retained edge backups before stopping traffic * Allow reviewed repository patches to delete regular files (#1693) * Allow reviewed repository patches to delete regular files * Show file deletions in repository patch review --------- Co-authored-by: Chris Crosby <[email protected]> * fix(platform): match BullMQ repeatables by name so cron edits remove the old schedule (#1697) getRepeatableJobs() returns repeatables whose `id` is null (BullMQ 5.70.4 stores them under an opaque hashed key and never writes an `id` into the repeat hash), so the `r.id === jobId` check in scheduleRecurring and removeRecurring never matched. Editing a job's cron added a second repeatable that kept firing, and disabling a policy left a stale repeatable in Redis. scheduleRecurring adds the job under its jobId as the name, so match on `r.name` instead. Adds a regression test with a mocked recurring queue shaped like real BullMQ 5.70.4 output: the stale repeatable is removed on reschedule and on disable, and other jobs' repeatables are left alone. Fixes #1695 * Avoid duplicate webhook payloads for GitHub-owned workflows (#1690) * Avoid duplicate GitHub observer webhook payloads * Let periodic reconciliation cover old observer events --------- Co-authored-by: Chris Crosby <[email protected]> * Preserve mail logs and ban history safely across engine updates (#1705) * fix(mail): persist mail logs, fail2ban database and ignoreip across engine updates Mail engine updates recreate the container (docker rm -f + docker run), so anything not on a bind mount is lost: /var/log (mail.log, dovecot and fail2ban logs), fail2ban's SQLite database, and operator ignoreip customisations in /etc/fail2ban. - Bind-mount /var/log and /var/lib/fail2ban from the host mail state dir. Deliberately not /etc/fail2ban: a seed-once mount would hide later image changes (same trap as #392's master.cf). - Render operator ignoreip additions (OPENSHIP_MAIL_F2B_IGNOREIP, passed through engine.env) into a jail.d override on every boot, as baked jail.local value + operator value, so image defaults are never dropped. - Run cron under supervisord so logrotate's daily job actually fires for the now-persisted logs; logrotate is installed explicitly (only a Recommends of rsyslog) and build-gated. Fixes #1701 * Preserve existing mail state before replacement and repair supervised log rotation --------- Co-authored-by: Hydra <[email protected]> * fix(build): keep environment values out of Dockerfiles and logs (#1674) * fix(build): keep environment values out of Dockerfiles and logs * test(build): exercise secret transport in deployment CI * test(build): align cloud fixture file and command identities * fix(build): validate secrets before allocating build resources * test(edge): verify private vhosts with unprivileged workers (#1725) * fix(edge): publish vhost configurations with 0644 permissions * Keep edge route secrets private and verify unprivileged workers --------- Co-authored-by: chbndrhnns <[email protected]> Co-authored-by: Hydra <[email protected]> * Fix mail account overflow and list all signed-in mailboxes (#1726) * fix(dashboard): refresh deployment state after navigation and browser resume (#1673) * fix(dashboard): reconcile deployment status after navigation * Avoid opening a retry stream before its destination page loads * Preserve buffered build logs during browser resume checks * Retain a trailing status check when resume overlaps an older read * perf(edge): avoid redundant route writes and remote reads (#1660) * fix(edge): stop trimming edge file content read through exec Executors resolve command output with `stdout.trim()`, which is right for command parsers and wrong for file content. Three file reads go through `exec` + `cat`: the sudo fallback when the login user cannot read a file (root-owned 0600 vhosts on a non-root SSH login), the container fallback in `readMaybeInContainer`, and `DockerEdgeExecutor` in container file mode. Each returned the file without its trailing newline. That breaks every comparison against the bytes about to be written: `writeEdgeChallenge`'s "already on disk" check never matched, so each `serveEdgeChallenge` rewrote the vhost and reloaded the edge, and a rollback that restored such a snapshot wrote the truncated text back. Frame the payload between two markers so the trim cannot reach it. The closing marker is printed only after `cat` succeeds, and unframed output is an error rather than a short file; anything a login shell prints before the opening marker is ignored. `exec` itself is unchanged. (SshExecutor still decodes each output chunk separately, so a multi-byte UTF-8 character split across chunks can decode wrongly. That predates this change, affects every command, and vhosts are ASCII; left for a separate fix.) Refs #1536 Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(edge): skip route writes and reloads that would change nothing Every route registration rewrote its vhost and sidecar and reloaded the edge, even when the bytes on disk were already exactly right. On a deploy `registerResolvedRoutes` registers each hostname and then, when a verified certificate already exists, `provisionCert` re-registers it through `activateCert`: two write-and-reload cycles per hostname for no change. Over SSH on a remote server that is most of the deploy's routing phase. `updateConfig` now publishes only the files that differ: a change is skipped when the file already holds exactly that content as a regular file with the desired mode, or when it removes a path that is already gone. The mode comes from a new optional `CommandExecutor.lstat` (SFTP lstat on SSH, fs.lstat locally and through DockerEdgeExecutor's mount), which also answers the existence probe, so an unchanged file costs the same two file operations as before. Where the mode cannot be read, content is the only evidence, as in `writeEdgeChallenge` today. Skipping the reload needs more than disk matching: a process that died between write and reload leaves the edge running something else. The provider records whether it has seen the edge load what is on disk (a successful reload sets it; a failed reload or incomplete rollback clears it), and a transaction that writes nothing still reloads until then. Every write path to edge config or certificate files clears that record before it touches disk, so a writer that fails part-way, inside or outside this transaction, cannot leave it vouching for unloaded files. Writes bump a generation counter, and a reload only vouches for the generation it started with; certbot and certificate staging, which run outside the config lock, bump it again when they finish, so once they return no reload that overlapped them vouches for what they wrote. Remote servers get a new provider per deployment (the native local platform keeps one for the life of the process), so an unchanged deploy of HTTP-01 hostnames costs one confirming reload instead of two per hostname. DNS-01 and wildcard hostnames, which the platform activates directly, still reload once each. That confirming reload also syncs the container edge's trusted-proxy include, which comes from the API's environment and so changes only with a restart. `writeEdgeChallenge` drops its own content-only "already on disk" return and lets `updateConfig` decide, so it honours the mode and the record above too. Challenge tokens are served, not loaded, and do not clear the record. `activateCert` always reloads: issuance and uploads put new certificate material at the paths the vhost already names, so the vhost text cannot show the change. Only `provisionCert`'s reuse of an existing, verified certificate may skip. Rollback restores only the files this transaction attempted to write, with their original mode when known; a symlink, even a dangling one, is replaced by a regular file (and restored as a link where `readlink` can see it). Refs #1536 Co-Authored-By: Claude Opus 5.5 <[email protected]> * perf(edge): stop repeating the same remote file operations per route On a non-root SSH login whose vhosts are root:root 0600, every read of a route file is a refused SFTP read plus a `sudo cat`, and every probe for a path that does not exist ends in a `sudo test -e`. With the previous two fixes an unchanged registration writes and reloads nothing, but it still paid about 25 such round trips per hostname, most of them repeats. - Remember, for one turn of the edge config lock, what was read or written under the sites directory. Slug resolution, the protection check and the transaction snapshot read the same vhost and sidecar up to seven times. Only the provider's own file helpers change those files, all under that lock; certificates stay uncached because certbot changes them. - `elevatedExecutor.exists` asks `lstat` before `sudo test -e`. SFTP's "no such file" is authoritative; a path behind a directory the login cannot search reports a refusal and still gets root's answer. - Create the sites directory once per provider; the atomic writes create missing parents anyway. - Skip removing a route's bootstrap certificate directory when it is absent: lstat says so and `exists` (which also looks inside a container edge) agrees. An unknown answer still removes. Remote operations for an unchanged redeploy of nine HTTP-01 TLS hostnames through a non-root login, counted at the provider level (registerRoute + provisionCert per host, excluding the platform's certificate pre-check) with a fake executor that refuses unelevated reads of the sites and certificate directories: remote execs (sudo) SFTP ops reloads main 459 (351) 414 18 + untrimmed reads 387 (315) 396 18 + skip unchanged 226 (226) 326 1 + this commit 56 (56) 317 1 Refs #1536 Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(edge): report a refused lstat in elevatedExecutor.exists The new lstat shortcut turned a rejected probe into "unknown" without observing the error, which `errors:check` (audit-error-boundaries) flags as an unobserved rejection. Report it through observeCaughtError like the neighbouring `exists` fallback; behaviour is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Hydra <[email protected]> * Accept bounded YAML aliases in GitHub workflow imports (#1661) Co-authored-by: Chris Crosby <[email protected]> * fix(deploy): let webhook and CLI deploys approve reviewed Compose changes (#1675) * fix(deploy): let webhooks and CLI accept reviewed Compose changes Webhook and CLI deploys hit COMPOSE_REVIEW_REQUIRED with no way through the gate, and the refusal hid what changed. Accept the current Compose source explicitly per deploy (--accept-compose-changes, or acceptComposeChanges on the hook), and surface the added/changed/removed services in the CLI error and the webhook delivery record. * test(contracts): include acceptComposeChanges in deployment schema flags The Compose review gate added acceptComposeChanges to CreateDeploymentSchema without updating the contract test that enumerates the schema's public flags, so the contracts suite failed on CI. Add the flag to the expected list. * docs(cli): list --accept-compose-changes in the deploy reference The new deploy flag was missing from the generated CLI reference, so docs:check failed with a stale reference. Add the row in declaration order. * Retain explicit Compose approval through shared deployment admission --------- Co-authored-by: Hydra <[email protected]> * fix(db): repair missing workspace and advisory fields on upgrade (#1727) * fix(migration): improve platform import setup and cancellation (#1728) * fix: sync dashboard setup, instance imports, and migration pages (#1729) * fix(import): restore workspace visibility and verified edge status * fix: complete dashboard setup and migration website updates * fix(mail): complete local backups and portable server restores (#1734) * fix(mail): complete local backups and portable server restores * test(mail): report engine diagnostics on round-trip failure * fix(mail): stop Postfix writers before container snapshots * fix(mail): apply Postfix shutdown in the daemon action renderer * test(mail): install GNU tar on the remote fixture host * update (#1737) * fix(deploy): keep token clones on https when git config rewrites to ssh (#1736) Token clones allow only HTTPS (protocol.allow=never, GIT_ALLOW_PROTOCOL=https), but git still reads the user's global and system config. A common rule such as url."[email protected]:".insteadOf https://github.com/ turns the https clone URL into ssh, and git fails with "transport 'ssh' not allowed". Map the repository URL and its namespace onto themselves in the scoped clone config. Git applies the longest matching insteadOf, so these outrank a broader rewrite while the rest of the user's config (proxy, CA bundle) keeps working. Fixes #1731 * fix: unify project settings, refine web navigation, and restore CI (#1738) * chore: keep generated review artifacts out of git * fix(dashboard): keep single apps in the service settings flow * fix(web): refine Arabic landing and navigation * fix(core): align host channel branding with dashboard copy * docs: prepare critical v0.9.12 release notes * fix(migration): keep environment fields visible while editing * Bump to v0.9.12 + announce * chore: pause unpublished v0.9.12 release * fix(migration): preserve project services and reuse domain routing (#1740) * feat: add domain virtual responses with a compact editor (#1739) * feat: add domain virtual responses with a compact editor and bounded edge matching * fix: keep traffic working during rolling edge script updates * refactor: centralize edge management transport * fix(dashboard): keep destination selection consistent for one server (#1741) * fix(ci): update build fixtures and finalize v0.9.12 notes * fix(test): isolate worker-local edge upgrade compatibility checks * Bump to v0.9.12 + announce * test(release): freeze v0.9.11 upgrade baseline * test(deployments): supply saved environment in inline build fixture * ci(release): split Docker journeys across four complete shards * test(scaling): retain redacted operator diagnostics after database failure * test(edge): allow realistic CLI startup when verifying replacement * fix(cli): use Node for container host-channel probe (#1745) Co-authored-by: chbndrhnns <[email protected]> * feat(plugins): prepare ChatGPT/Codex directory submission (#1746) - Add openWorldHint to MCP tool annotations with per-route override - Document readOnly/destructive/openWorld hints in MCP docs - Add OpenAI review test cases, publication notes, and support/privacy/terms URLs to plugin manifest - Bump plugin version to 0.1.2 - Add SUBMISSION.md guide for directory draft creation and review setup * fix(web): clarify Cloud pricing and included management * fix: align monthly and yearly pricing across web and dashboard * fix(dashboard): read runtime source GitHub metadata from API contract (#1747) * fix(cli): keep the running service's ports when `openship up` runs again (#1743) * fix(cli): keep the running service's ports when `openship up` runs again startService resolved ports without telling resolvePorts which ones the running service already holds, so on a re-run they looked busy. It waited out waitPortFree on each port (about 12s) and then moved the install to the next pair, rewriting ports.json (7100/7200 became 7101/7201). While the service is running, pass its stored ports as reclaimable, the same way the compose path does with composeHeldPorts. Refs #1570 * fix(cli): verify service-owned ports and align dry-run --------- Co-authored-by: Hydra <[email protected]> * fix(cloud): limit the update banner to verified workload security (#1748) * fix(cloud): suppress installation release notices in managed dashboards * fix(cloud): use only verified security in the update banner * Fix repeat signup recovery during Cloud linking (#1750) * Explain duplicate-container deployment recovery (#1751) * Fix first-admin recovery and Compose managed-edge provisioning (#1766) * Target project services and ports when adding domains from the CLI (#1765) * Resolve app template config placeholders consistently in service ports (#1764) * Fix CLI login through public instance URLs (#1762) * Discover the same-origin API when logging in through a public URL * Document optional unauthenticated API discovery fallback * Fix folder deployment naming, scan errors and streamed uploads (#1761) * fix(backup): capture verified empty Docker sources (#1769) Co-authored-by: chbndrhnns <[email protected]> Co-authored-by: Hydra <[email protected]> * Fix Cloud checkout handoff, purchase recovery and payment warnings (#1777) * fix(billing): recover checkout without blank tabs or duplicate spaces * fix(billing): observe checkout fallbacks and update disconnect regression * fix(instance): fence late event streams during controller handoff (#1779) * Migrate Cloud integration to Oblien SDK 3.0.2 and native VM API (#1778) * feat(cloud): migrate Oblien integration to SDK 3 and versioned VM API * test(cloud): decode native VM catalog fixture at the provider boundary * style(cloud): format VM contract regression test * test(cli): select non-root SSH session in sudo-refusal fixture * Complete native VM credentials, alerts and SDK rollout checks * Preserve the documented hosted checkout URL across the API cutover * Fix billing access during active pending renewals (#1780) * fix: skip absent workflow revisions (#1782) * Fix member escalation into administrative operations (#1784) * fix(security): enforce administrative role ceilings across transports * test: cover member denial across Cloud relays and native credentials * fix: preserve cross-workspace MCP discovery with shared role checks * chore(catalog): bump umami to 3.4.1 (#1785) * fix(mail): carry the host ignore-ip list across an engine update (#1770) * fix(mail): carry the host ignore-ip list across an engine update OPENSHIP_MAIL_F2B_IGNOREIP is host config: the API reads it from its own environment and only ever wrote it while creating the engine. The update branch leaves engine.env alone, so bumping the engine tag brings up a container with the previous install's list and the operator's exemption silently reverts. The update path now refreshes that one record before the swap: it is set when the API has a value and removed when it doesn't, and the other records are written back exactly as they were. Nothing is written when the file already agrees, so an image swap still never rewrites the secret env-files. Fixes #1768 * fix(mail): preserve per-server exclusions unless explicitly overridden --------- Co-authored-by: Hydra <[email protected]> * Add avatar and project icon URL settings (#1787) * feat: add avatar and project icon URL settings * test: account for project icon overrides in migration upgrades * refactor: use one project icon URL across storage and UI * test: type legacy project group migration rows * Fix multi-repository Railway imports with native project connections (#1789) * Add localized platform comparisons and Cloud SLA pages (#1790) * Restore the original homepage comparison table (#1791) * fix(build): retain warm caches and reduce remote cleanup overhead (#1788) * Add edge controls, deploy links, and mail workflows with dashboard refresh (#1792) * feat: unify dashboard, edge controls and mail workflows * fix: complete edge page validation and reproducible installs * docs: verify edge page examples and server defaults * Fix release build inputs and recover interrupted snooze jobs * Keep Docker cache fixtures aligned with vendored dependencies * Verify the production webmail image in pull request CI * Strengthen product comparisons, feature coverage and search discovery (#1793) * feat(web): strengthen product comparisons and search discovery * fix(web): persist immutable release dates within the catalog cache * fix(web): translate shared marketing headings in every language * fix project icon update * Match docs to the landing theme and simplify navigation (#1797) * Redesign docs navigation, theme, and operating guides * Remove unused docs theme rule * Match docs to the landing theme and refine sidebar navigation * fix(import): show a compose service's exposed ports in the import wizard (#1795) * fix(import): show a compose service's exposed ports in the import wizard A compose service that declares only `expose:` has container ports but nothing published, so the import wizard gave it the "Internal service — no public ports detected" card and stopped there. The operator could not tell which port the service serves, so the card read as "this service cannot have a public domain" (#1733). The parser now reads `expose:` and carries the declared container ports on the service, and `expose` is no longer reported as a dropped compose key — it is no longer dropped. The wizard names those ports and says which one to publish (for example 127.0.0.1:<port>:<port>). `expose` still publishes nothing to the host: Compose only advertises the port to the other services on the same network, so a public domain still needs a `ports:` entry. The card says exactly that. Verification: - apps/api/test/lib/compose-parser.test.ts: `expose` is parsed and is no longer reported as unsupported (the new test fails without this change). - apps/dashboard/src/components/import-project/ComposeServices.test.tsx: the card names the exposed ports and the publish hint, and keeps the previous copy when the file declares none. - `bun run --cwd apps/api lint` and `bun run --cwd apps/dashboard lint` pass. - `bun run --cwd apps/dashboard i18n:check` reports 0 missing / 0 extra keys. * fix(import): suggest valid TCP ports for public domain hints --------- Co-authored-by: Hydra <[email protected]> * docs: add OpenShip 1.0.0 release notes * fix(web): include build generator and verify the production image * build(web): carry generator types into the image build * test(billing): isolate session polling in deployment pricing fixtures * Wire secret reveal into shared Compose environment (#1735) (#1771) * docs: include final reviewed fixes in 1.0.0 notes * Fix managed edge 502 errors on large authentication headers (#1763) * Use bounded edge header buffers for multi-cookie auth responses * Cover managed header defaults in edge configuration readback * test(edge): gate upstream header handling on every pull request * docs: include registry access recovery in 1.0.0 notes * Review Compose diffs and apply changes directly from redeploy (#1796) * Review Compose diffs and apply changes from the redeploy dialog * fix(deploy): redact reviewed argv and repair Compose review checks * fix(deploy): mask all authored Compose interpolation values * fix(deploy): explain private registry access failures (#1798) * fix(actions): update OpenTelemetry attribute limit handling * Bump to v1.0.0 + announce * ci(release): pin Linux installer packaging to Ubuntu 24.04 * test(assistant): verify the native VM proxy contract before release * fix(cloud): validate integration against Oblien SDK 3.2 * fix(ci): stabilize native test runtime and retry release history reads * test(upgrade): retain the published 0.9.12 Compose baseline * test(scaling): capture Redis election diagnostics on failure * fix(redis): verify failover candidates on every Sentinel before readiness * fix: carry referral codes through deploy links (#1806) * fix(cli): stop the API when the supervisor is signalled during startup (#1809) `up --foreground`, which the service runs, registered its SIGINT and SIGTERM handlers only after the API was healthy and the dashboard had started. The API runs in its own process group, so a signal in that window killed the supervisor and left the API running, holding the port and the PGlite lock. The next instance moved to another port and its API waited on that lock. Register the handlers as soon as the API is spawned, and end the health wait once a stop has begun so stopAll owns the exit. * test(api): run the api tests in UTC (#1815) domain-diagnostics.test.ts expects UTC run times for a */13 cron, but cron-parser reads the cron in the process's local time. On a machine whose UTC offset isn't a whole number of hours (India, Nepal, Newfoundland), 4 of its tests fail. Set TZ=UTC in the shared vitest env, which is what CI already runs in. * fix(api): distinguish optional bodies from malformed JSON (#1817) * fix(api): accept empty bodies for optional JSON actions * test(api): keep empty actions independent of JSON bodies * fix(api): unify optional JSON handling across HTTP adapters * fix: report registry rejection and preserve local images on refresh (#1816) * fix(github): retain server PAT fallback with workspace Apps (#1821) * fix(cli): keep the service running when `openship up` runs again on macOS (#1808) * fix(cli): keep the service running when `openship up` runs again on macOS `launchctl bootout` returns before launchd has removed the job, so the `bootstrap` right after it failed with `5: Input/output error` whenever `openship up` ran while the service was up. The `load -w` fallback prints "Load failed" but exits 0, so `up` reported success with nothing loaded. Wait until `launchctl list` no longer knows the label before bootstrapping, and, as restart() already does, only report success once the agent has a live PID. Refs #1570 * fix(cli): require launchd unload before reinstalling --------- Co-authored-by: Hydra <[email protected]> * fix(php): switch to root in builder and runtime stages for non-root base images (#1810) * fix(php): switch to root user in builder and runtime stages When using custom or hardened PHP base images (such as serversideup/php) whose final directive is not root (e.g. USER www-data), docker builds fail because install-php-extensions requires root for apt-get, the composer cleanup in /tmp cannot delete root-owned files as non-root, and caddy directory permissions cannot be created or chowned. Add \USER root\ immediately following the \FROM\ directives of the builder and runtime stages. The final container safely concludes with \USER www-data\ before expose/run, preserving non-root runtime container execution. Fixes #1775 Signed-off-by: Yash Kaushik <[email protected]> * test(php): cover non-root base images in the existing recipe suite --------- Signed-off-by: Yash Kaushik <[email protected]> Co-authored-by: Hydra <[email protected]> * fix: honor image refresh and verify registry logins accurately (#1819) * fix(docker): honor forced refresh of mutable image tags * fix(credentials): persist definitive registry checks only * fix(credentials): handle malformed registry token responses in the shared parser * ci(web): authenticate changelog requests during the Docker build * fix(github): probe the local server's credential before making it the default read target (#1822) * fix(github): probe the local server's credential before making it the default read target resolveDefaultServerTarget returned the org's local server on row existence alone, so a boot-registered "This Server" row with no GitHub auth shadowed a connected server holding the org's token and repository scans still ended in GITHUB_TOKEN_REQUIRED. Probe canResolveServerGitCredential (tokenOnly, matching the read the identity is borrowed for) and fall through to the connected-server candidates when the local row cannot serve the request. Refs #1814. * fix(github): use the same eligibility check for local and connected servers --------- Co-authored-by: Hydra <[email protected]> * fix(mail): record the postmaster password rotation time (#1825) * Redesign OpenShip share images across the website and docs (#1824) * Redesign website share cards and verify docs previews * Give share previews page-specific illustrations and layouts * docs: prepare v1.0.1 release notes and format v1.0.0 * Bump to v1.0.1 + announce * test(upgrade): retain the published 1.0.0 Compose baseline * fix(swarm): wait for overlay driver allocation * Fix defaulting deployments to an unpaid Cloud space (#1826) * fix(dashboard): prefer paid Cloud space over unfinished checkout * Confirm the destination for first deployments with multiple targets * Use Git settings for repository setup and retire the server GitHub tab (#1829) * Use Git settings for SSH servers on OpenShip Cloud * Retire the GitHub server tab while preserving server credentials * Ask for the deployment destination after clicking Deploy (#1828) * Open the deployment destination picker on Deploy * Prefer a connected VPS over an unpaid Cloud destination * perf(compose): pull registry images alongside source builds (#1827) * perf(compose): overlap registry pulls with source builds * fix(docker): cancel local registry pulls through stream teardown * fix(compose): preserve failed image receipts during prefetch * test(compose): await the shared prefetch receipt in Docker E2E * fix(dashboard): expose workspace rename in Team settings (#1830) * fix(updates): recover missing source files and streamline image reviews (#1831) * Update Cloud uptime commitments and pricing cards (#1834) * Keep server setup usable during Manage plan checks (#1832) * Keep server setup usable during Manage plan checks * Polish Manage status and fence server setup by account * Adopt Oblien SDK 4 for cloud VMs and aggregate Edge analytics * Scope Cloud traffic counters to their managed server * Verify managed Cloud domains with namespace DNS proof * Require DNS authority for shared domain proofs and recover tunnel retries * Accept the renamed Oblien referral product * Decode the SDK v4 product in the shared referral schema * Use the SDK v4 referral product contract end to end * Explain why a referral code may be rejected at checkout --------- Signed-off-by: Yash Kaushik <[email protected]> Co-authored-by: Hydra de lerne <[email protected]> Co-authored-by: Osaamaa <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Rudi <[email protected]> Co-authored-by: Hydra <[email protected]> Co-authored-by: Abdullah <[email protected]> Co-authored-by: Saim Shafique <[email protected]> Co-authored-by: Cem <[email protected]> Co-authored-by: chriscrosby <[email protected]> Co-authored-by: Chris Crosby <[email protected]> Co-authored-by: Mohammed Mostafa <[email protected]> Co-authored-by: Johannes Rueschel <[email protected]> Co-authored-by: chbndrhnns <[email protected]> Co-authored-by: Rohan Das <[email protected]> Co-authored-by: Michael Ogunjimi <[email protected]> Co-authored-by: Sibil Sarjam Soren <[email protected]> Co-authored-by: fatih akyon <[email protected]> Co-authored-by: Mikel Granero <[email protected]> Co-authored-by: Eapp1e <[email protected]> Co-authored-by: Santhi Prakash <[email protected]> Co-authored-by: Yash Kaushik <[email protected]>
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.
Adding Redis (or another companion service) to an already deployed Dockerfile app attaches a service record to the active application deployment. Project runtime then incorrectly selects that service as the primary container, hiding the application's logs behind Redis output. The same resolver bug is present in v0.9.10 and v0.9.11.
Preserve the deployment's independent application container when its frozen snapshot does not identify a service deployment and no service row owns that container. Compose releases retain primary-service selection and live container recovery. The shared resolver also keeps deployment log fallback, container info, and usage on the same runtime.
Regression coverage exercises application history and streaming after adding a companion service, historical releases, stale Compose container recovery, existing ownership checks, and switching between Project runtime and Redis in the dashboard. Five new backend cases fail against the original implementation.
Validation: