Skip to content

chore(fork): sync upstream v0.9.12 (0.9.12-fork.1) - #7

Merged
liodali merged 99 commits into
mainfrom
sync-0.9.12
Nov 15, 2026
Merged

liodali merged 99 commits into
mainfrom
sync-0.9.12

Conversation

@liodali

@liodali liodali commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

Automated-style upstream sync, done locally: merges oblien/openship@5d85711a0 (98 commits, through v0.9.12) into fork main, versioned as 0.9.12-fork.1.

Merging this is what ships it — fork-images and fork-cli run on the resulting push to main.

Conflict resolutions (37 files)

  • Versions (package.json ×8 + bun.lock): upstream's dependency graph taken wholesale, workspace versions re-stamped to 0.9.12-fork.1 (fork-cli.yml re-appends -fork.<run> at build time; the base must match upstream's release for the fork-channel comparison).
  • adapters/docker — buildViaDockerode: upstream's generated-build secrets (requiresSecrets) merged with the fork's Podman BuildKit→classic fallback loop. Builder selection (incl. the secure-build/CPU-memory-limits 422) now happens before each attempt packs its context; engineApiExtraHosts JSON encoding (Podman 400 fix) kept.
  • Drizzle migrations: upstream claimed 0224–0230, so the fork's server_discovery migration renumbers to 0231 with IF NOT EXISTS statements — an instance that already applied it under 0224 re-applies as a no-op. Journal carries both ranges in order.
  • i18n ×20: fork's servers.discovery namespace kept alongside upstream's buildCache + OpenShip renames; dispatchAttempt kept alongside upstream's spelling fixes.
  • platform/native-host: upstream's affiliates → referralProgram rename taken, fork's discovery operations kept.
  • adapters/cloud: upstream's vm-keyed proxy targets + fork's unavailable-vhost retention guard.
  • release-advisories.json: fork 0.9.12-fork.1 critical entry ahead of upstream's 0.9.12 entry.
  • .gitignore, contracts/index: both sides.

Fixed a pre-existing breakage (was already broken on main)

A previous upstream merge had silently dropped two repo methods, leaving platform's tsc broken on main and 2 github-runners tests failing there:

  • restored appendRunnerSessionEvents + runnerSessionCounts in packages/db/src/repos/action-github.repo.ts
  • re-applied the bounded runner-session retry (max 3 attempts, 5-min backoff) onto the current admittedJobId-aware reserveRunnerSession — spare sessions whose demand was taken elsewhere still never block

Validation

Check Result
scripts/fork/patch-guard.mjs 9/9 patches intact
adapters tsc + patch tests clean · 339 passed
db full suite (validates journal + 0231 renumber via migrate) 1022 passed
platform tsc + github-runners tests clean · 28 passed (2 failing on main before)
contracts + dashboard tsc clean
dashboard discovery/i18n tests 127 passed
bun install --frozen-lockfile green

git rerere memorized all 37 resolutions — future weekly fork-sync runs should replay them automatically.

Hydralerne and others added 30 commits November 7, 2026 10:10
…#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]>
…#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]>
…n#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]>
…ss (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]>
…ld 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
…ngs (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
…blien#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]>
…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
…stHog (oblien#1642)

* feat(cloud): unify telemetry through the BytesMap SDK and remove PostHog

* fix(telemetry): derive HTTP span failures from final responses
…ien#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
…blien#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
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]>
…aths (oblien#1659)

* fix(cloud): explain denied host volume mounts

* fix(cloud): preserve owned imported project storage
* 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
… 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
…ien#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
…t 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
…nership (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(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]>
…en#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

* fix(web): generate Next types before typechecking
* Recover public image pulls after registry login rejection

* Keep scoped Claude turns from advertising permission bypass
…en#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.
…lien#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.
Hydralerne and others added 29 commits November 12, 2026 21:20
- 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
…ain (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]>
…lien#1748)

* fix(cloud): suppress installation release notices in managed dashboards

* fix(cloud): use only verified security in the update banner
* Discover the same-origin API when logging in through a public URL

* Document optional unauthenticated API discovery fallback
…blien#1777)

* fix(billing): recover checkout without blank tabs or duplicate spaces

* fix(billing): observe checkout fallbacks and update disconnect regression
…en#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
Merge oblien/openship@5d85711a0 into the fork, keeping the thin Podman
patch layer intact and re-applying the fork suffix to every workspace
manifest (0.9.12-fork.1) so `openship update` stays on the fork channel.

Conflict resolutions:
- package.json x8 + bun.lock: take upstream's dependency graph wholesale,
  re-stamp workspace versions to 0.9.12-fork.1 (fork-cli.yml re-suffixes
  anyway; base must match upstream's release)
- .gitignore, contracts/index, platform/native-host: keep both sides
  (fork entries + upstream's new ones; affiliates -> referralProgram
  rename taken, discovery operations kept)
- adapters/cloud: upstream's vm-keyed proxy targets + our
  unavailable-vhost retention guard
- adapters/docker buildViaDockerode: merge upstream's generated-build
  secrets (requiresSecrets) with the Podman BuildKit->classic fallback
  loop — builder (and the secret/limit 422) is now selected BEFORE the
  context is packed per attempt, engineApiExtraHosts JSON kept
- drizzle: upstream claimed 0224-0230, so our server_discovery migration
  renumbers to 0231 with IF NOT EXISTS statements (an instance that
  already applied it under 0224 re-applies as a no-op); journal gets
  both ranges in order
- i18n servers.json x10: keep our discovery namespace + upstream's
  buildCache; actions.json x10: upstream's OpenShip spelling + our
  dispatchAttempt
- release-advisories: fork advisory (0.9.12-fork.1, critical) ahead of
  upstream's 0.9.12 entry

Restores two repo methods a previous upstream merge had silently
dropped, which left platform's tsc broken on main: appendRunnerSessionEvents
and runnerSessionCounts (action-github.repo), and re-applies the bounded
runner-session retry (cap 3, 5 min backoff) onto the current
admittedJobId-aware reserveRunnerSession — spare sessions whose demand
was taken elsewhere still never block.

Tests: patch guard 9/9; adapters tsc + 339 patch tests; db tsc + full
suite 1022 passed (journal + 0231 renumber validated by migrate);
platform tsc + github-runners 28 passed (2 were failing on main already);
contracts + dashboard tsc clean; dashboard discovery/i18n 127 passed;
bun install --frozen-lockfile green.
@liodali
liodali merged commit d4b80fb into main Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.