Skip to content

chore(fork): sync upstream v1.0.1 (1.0.1-fork.1) - #21

Merged
liodali merged 171 commits into
mainfrom
fork-sync/upstream-83f818bb8
Nov 21, 2026
Merged

liodali merged 171 commits into
mainfrom
fork-sync/upstream-83f818bb8

Conversation

@liodali

@liodali liodali commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Manual merge of oblien/openship@83f818bb8 (v1.0.1 + 19 commits) into fork main — brings the 1.0.0/1.0.1 releases (dashboard refresh, edge maintenance & custom pages, deploy links, admin-authorization fix, Oblien SDK v4, image-refresh and GitHub-credential fixes) while keeping all eleven fork patches and the discovery/TLS feature set.

The previous v0.9.12 sync was a squash, so a temporary local graft restored v0.9.12 as the merge base: 42 real conflicts instead of ~220 re-merge replays. All resolutions recorded in rerere.

Notable resolutions

  • VHOST_GENERATION 5 → 6 — upstream's maintenance/error-pages shape and the fork's retained-unavailable 503 page both claimed generation 5. The merged writer carries both; the sweep re-stamps either gen-5 variant on the VPS.
  • Drizzle journal collision — the fork's discovery migrations occupy idx 231–237 (already applied on live boxes). Upstream's project-icon migrations renumbered 0231/0232 → 0238/0239 with fresh when stamps so drizzle actually applies them after the fork's (older stamps would silently never run). Convention documented in docs/fork-maintenance.md.
  • Oblien SDK v4 adopted (upstream migration); the fork's API-base-URL normalization survives in openship-cloud.ts.
  • ci.yml — kept the fork's deliberate actions-e2e removal (a26156a), adopted the new website-image job, SHA-pinned the new action refs.
  • MCP catalog regenerated from the merged routes: 585 tools (fork discovery + upstream additions).
  • release-advisories — kept the fork's critical nginx2root advisory, adopted upstream's 1.0.1 entry.
  • nginx no-store test — asserts the server-scope header line rather than a trailing blank line: upstream 1.0.0's default proxy-buffer directives (Fix managed edge 502 errors on large authentication headers oblien/openship#1763) now follow it.

Verification (all green)

  • patch-guard.mjs: all 11 patches intact
  • Typechecks: adapters, platform, sdk, api, dashboard, web
  • Patch tests 355 · db suite 1112 (incl. populated-DB migration chain) · discovery 247 · preflight/billing 194 · folder-upload 17 · oblien SDK 41 · sidebar/source-editor 39
  • Edge Dockerfile unchanged — fork.4's nginx 1.31.9 (nginx2root CVE fixes) preserved

Merge, then release — push a fork-v1.0.1-fork.1 tag to the merged commit to run fork-images and fork-cli.

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 28 commits November 18, 2026 02:28
…n#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
… default read target (oblien#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 oblien#1814.

* fix(github): use the same eligibility check for local and connected servers

---------

Co-authored-by: Hydra <[email protected]>
* Redesign website share cards and verify docs previews

* Give share previews page-specific illustrations and layouts
* fix(dashboard): prefer paid Cloud space over unfinished checkout

* Confirm the destination for first deployments with multiple targets
oblien#1829)

* Use Git settings for SSH servers on OpenShip Cloud

* Retire the GitHub server tab while preserving server credentials
* Open the deployment destination picker on Deploy

* Prefer a connected VPS over an unpaid Cloud destination
)

* 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
* Keep server setup usable during Manage plan checks

* Polish Manage status and fence server setup by account
…-proof

Fix managed Cloud domain verification with Oblien SDK v4
Adopt Oblien SDK 4 for cloud VMs and aggregate Edge analytics
…uct-alias

Align referrals with Oblien SDK v4 and clarify checkout errors
Merge oblien/openship@83f818bb8 (v1.0.1 + 19 commits) into the fork.
The previous v0.9.12 sync was a squash, so a local graft restored
v0.9.12 as the merge base: 42 real conflicts instead of ~220 replays.

Resolutions (docs/fork-maintenance.md):
- VHOST_GENERATION 5 -> 6: upstream's maintenance/error-pages shape and
  the fork's retained-unavailable page both claimed 5; the merged writer
  carries both and the sweep re-stamps either gen-5 variant.
- Drizzle journal: upstream's project-icon migrations renumbered
  0231/0232 -> 0238/0239 with fresh when stamps — the fork's discovery
  migrations 231-237 are already applied on live boxes, and drizzle only
  applies entries newer than the last applied when. Convention recorded
  in docs/fork-maintenance.md.
- Oblien SDK v4 adopted (upstream migration); the fork's API-base-URL
  normalization survives in openship-cloud.ts.
- ci.yml: keep the fork's actions-e2e removal (a26156a), adopt the new
  website-image job, SHA-pin the new action refs.
- MCP catalog regenerated from the merged routes: 585 tools.
- release-advisories: keep the fork advisories, adopt upstream's 1.0.1.
- nginx no-store test: assert the server-scope line, not a trailing blank
  line — upstream 1.0.0's default proxy-buffer directives (oblien#1763) now
  follow the header.

Verified: patch-guard (11 patches intact); adapters/platform/sdk/api/
dashboard/web typechecks; patch tests 355, db suite 1112, discovery 247,
preflight/billing 194, folder-upload 17, oblien SDK 41, dashboard 39.
@liodali
liodali merged commit 7a41b8d into main Nov 21, 2026
@liodali
liodali deleted the fork-sync/upstream-83f818bb8 branch November 21, 2026 15:10
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.