0
Fork 0
mirror of https://github.com/oblien/openship.git synced 2026-11-18 06:55:56 +00:00
Commit graph

41 commits

Author SHA1 Message Date
Saim Shafique
057d65de7a
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 <abdelhamedmo59@gmail.com>
2026-11-11 18:57:58 +02:00
Rudi
3d8ff5bbc7
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 <noreply@anthropic.com>

* 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 <noreply@anthropic.com>

* 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 <noreply@anthropic.com>

* fix(migration): frame streamed rsync progress updates

* fix(migration): preserve exact progress with rsync byte units

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Hydra <abdelhamedmo59@gmail.com>
2026-11-07 20:23:30 +02:00
Hydra de lerne
9ab270c95c
feat(updates): add scoped host patches and observable advisory scans (#1566)
* feat(updates): allow workspace admins to pause runtime advisory checks

* fix(updates): repair upgrade fixture and reuse shared policy guards

* feat(updates): add scoped host patches and observable advisory scans

* fix(updates): report handled host maintenance failures

* fix(updates): load host advisory operations on demand

* refactor(updates): share server patch run lifecycle and logs

* test(cli): align compose sync with namespace isolation

* test(mail): exercise support delivery over verified TLS
2026-11-03 19:37:18 +02:00
Hydra
c13195e099 release: finalize 0.9.7 with scoped agents and chat integrations 2026-11-01 21:16:13 +02:00
Hydra
52dc66b6b0 fix(edge): refresh route protection integration and private rollback 2026-10-22 18:54:00 +03:00
Hydra
7753ed94cd Merge remote-tracking branch 'refs/remotes/origin/swarm-combined-main-20261022' into feat/swarm-combined-20261022
# Conflicts:
#	apps/api/src/modules/system/server-management.routes.ts
#	packages/adapters/src/index.ts
#	packages/db/drizzle/meta/_journal.json
2026-10-22 17:12:15 +03:00
Hydra
edcaa8cd1f fix(tokens): enforce capability scope across deployment operations 2026-10-22 13:57:13 +03:00
Hydra
b4499b90d9 fix(billing): integrate current main and tenant isolation guards 2026-10-22 07:42:32 +03:00
Hydra
22eefc7d25 feat(deployments): retry completed Docker builds without rebuilding 2026-10-21 21:46:37 +03:00
Hydra
bc796d0d4f fix(manage): enforce tenant isolation across hosted server operations 2026-10-21 20:52:31 +03:00
Hydra
c2ed05c20e feat(billing): complete Manage clients and hosted certificate checks 2026-10-21 16:56:06 +03:00
Hydra
1a6ebef7af chore(edge): stack route protection on Swarm inspection 2026-10-21 03:50:53 +03:00
Hydra
0d63b536c7 fix(swarm): preserve config delivery and verify lifecycle boundaries 2026-10-21 03:33:20 +03:00
Hydra
b752089aee feat(swarm): inspect existing clusters and protect scheduler-owned workloads 2026-10-21 01:34:28 +03:00
Hydra
f245093011 feat(edge): add password-protected self-hosted routes 2026-10-20 15:03:41 +03:00
DrMxrcy
4c3de97298
docs: token capabilities for domains and deployments 2026-10-17 03:41:45 -04:00
ChanakyaG2004
916b18c5a1 docs: clarify self-hosted and Cloud edge capabilities 2026-10-17 00:39:48 -04:00
Hydra
12800905ad feat(roles): apply runtime role configuration without rebuilding web 2026-10-17 02:22:31 +03:00
Hydra
979e83b9ca fix(projects): expose active runtime roles and replica logs 2026-10-16 23:58:10 +03:00
Hydra
b6281f99ae feat(ingress): manage server Cloudflare tunnels, DNS and Access 2026-10-15 14:25:00 +03:00
Hydra
9b3b70d212 feat(settings): add portable personal appearance editor 2026-10-15 11:33:15 +03:00
Hydra
f023085e1e docs(cli): sync domain help reference after main update 2026-10-15 07:07:49 +03:00
Hydra
f68fc50579 fix(billing): continue pricing selections directly to checkout 2026-10-14 03:19:58 +03:00
Hydra
56387559b5 feat(monitoring): clear resolved history with scoped confirmation 2026-10-13 21:11:02 +03:00
Hydra
f26ef755a2 Merge current main into release integration 2026-10-12 16:20:30 +03:00
Hydra de lerne
eddcb203f6
Merge pull request #1130 from Metehan-Bicer/fix/cli-api-path-and-env-set
fix(cli): accept /api paths, positional env pairs, and hint at login on 401
2026-10-11 18:12:41 +03:00
Hydra
36e0190d64 Merge main and regenerate the combined MCP reference 2026-10-11 16:26:11 +03:00
Hydra
87774503b9 feat(servers): add managed outbound controls and prioritize access 2026-10-11 16:06:12 +03:00
Metehan Biçer
e2a7273024 fix(cli): accept /api paths, positional env pairs, and hint at login on 401
`openship api /api/projects/<id>` requested /api/api/... because the
client always prefixes /api; a leading /api segment is now stripped.
`project env set <id> KEY=VALUE` failed with "too many arguments"; the
pairs are now accepted next to --set. A 401 from a project command now
adds "Run `openship login` first.", as server and service commands do.

Fixes #1023
2026-10-10 21:27:25 +03:00
Hydra
154a719de6 feat(actions): add editable workflow canvas and repository review controls 2026-10-10 03:52:13 +03:00
Hydra
a2e6a602cd merge: reconcile instance handoff with current main 2026-10-08 05:07:40 +03:00
Hydra
25a73a811a fix(cli): authenticate local administrators and guide remote login 2026-10-07 21:12:58 +03:00
Hydra
8c0d381787 feat(cli): cover Cloud and remote platform operations through the SDK 2026-10-07 17:33:10 +03:00
Hydra
cf00006fb9 feat: align Cloud billing and expand SDK-backed CLI operations 2026-10-04 21:49:27 +03:00
Hydra
ecbaad3994 update icon system, enhance backup 2026-09-25 13:53:12 +03:00
Hydra
b52691e742 Merge current main and harden Jobs CLI integration for PR #895 2026-09-23 09:48:26 +03:00
Fatih Akyon
e5bdce118a fix: merge latest main into jobs CLI branch 2026-09-16 12:56:19 +03:00
Hydra
144ac58b6f docs: refresh CLI references for the verified bug fixes 2026-09-16 09:47:27 +03:00
Hydra
0a1a91e095 docs: sync integrated fixes, PR outcomes and generated references 2026-09-15 21:05:49 +03:00
Fatih Akyon
3ff2a93c5e fix: merge main and adapt jobs to SDK 2026-09-15 21:00:23 +03:00
Hydra
e75eedbcc0 fix docs 2026-09-14 03:47:37 +03:00