0
Fork 0
mirror of https://github.com/oblien/openship.git synced 2026-11-16 06:57:12 +00:00
Commit graph

127 commits

Author SHA1 Message Date
Hydra de lerne
e19711e1c5
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
2026-11-12 21:20:24 +02:00
Hydra de lerne
99904af0f8
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
2026-11-11 11:58:09 +02:00
Hydra de lerne
7b25257f22
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
2026-11-07 23:11:29 +02:00
fatih akyon
3e42fc6614
fix(routing): make static 404 responses opt-in (#1626)
* fix(edge): serve a static site's 404.html for missing paths

* fix(routing): make static SPA fallback explicit and preserve defaults

* test(routing): update static fallback checks and run HTTP coverage

* fix(i18n): complete inbound alias guidance across locales

* test(monitoring): isolate the session in stream fixtures

---------

Co-authored-by: Hydra <abdelhamedmo59@gmail.com>
2026-11-06 10:36:34 +02:00
Saim Shafique
3fb7bb68fe
fix(deploy): read loopback port inventory through the edge connection (#1627)
* fix(deploy): keep loopback-port deploys working without a host channel

On a raw compose install with no host channel, every deploy failed after
the image build with "Cannot read Openship edge routes: neither Docker nor
bare OpenResty inventory is available", even though the deploy log says
host-side edge/routing steps are skipped. The loopback-port preflights read
the strict edge inventory through the demoted host executor, which refuses
every call.

Fixes #1625

When the host executor is one we demoted for having no usable channel, the
preflights now get an inventory they can read — an empty one — so
allocation rests on durable claims alone, exactly like the unscanned
live-port pick. A real conflict still fails loudly at the Docker bind.
Covers both the compose deploy preflight and the single-container
preflight (plus its port-conflict alternative path). The route-apply
safety gate is untouched: refusing a loopback route on an unreadable edge
stays deliberate there.

Test: new case in compose-host-channel-notice drives a loopback-port
compose deploy with the real demoted executor and asserts the edge proxy
handed to the preflight resolves to an empty inventory; it failed with
the reported error before this change and passes after.

* fix(deploy): inventory socket edge routes before allocating ports

* test(deploy): share edge inventory fixtures across allocation paths

* test(routing): resolve inventory from the simulated edge config

---------

Co-authored-by: Hydra <abdelhamedmo59@gmail.com>
2026-11-06 09:46:58 +02:00
Hydra
a5c15f8901 test(security): align local source fixtures with instance authority 2026-11-03 20:30:12 +02:00
Hydra de lerne
a35f609dc0
fix(security): upgrade Better Auth to 1.7.15 and patch Hono (#1568)
* fix(security): patch Better Auth and Hono advisories

* fix(auth): preserve HTTP setup during OAuth migration

* fix(auth): align MCP integration with Better Auth 1.7.15

* test(cli): align namespace fixture with current policy
2026-11-03 14:23:26 +02:00
Hydra de lerne
ec58db6123
Merge commit from fork 2026-11-03 13:57:44 +02:00
Hydra de lerne
77e086dca5
fix(projects): keep runtime role configuration available and consistent (#1493)
* fix(deployments): keep primary app roles after service removal

* fix(projects): preserve config revisions during capacity measurements
2026-10-27 03:04:30 +03:00
Hydra de lerne
39641e0d37
fix(docker): wait for in-progress container removal (#1380)
* fix(deploy): retain Compose containers until replacement activation

* fix(deploy): wait for exact Docker removal before replacement

* test(deploy): model confirmed removal in legacy daemon fixtures

* fix(deploy): finish Compose health gates before retiring predecessors

* test(docker): model completed removal in GPU adoption fixture

* test(backups): identify the mail size-history fixture correctly
2026-10-24 14:41:48 +03:00
Hydra de lerne
94d4ba3842
Merge pull request #1424 from oblien/feat/monorepo-app-selection-20261023
feat(wizard): choose monorepo apps and browse repository folders
2026-10-23 04:52:14 +03:00
Hydra de lerne
050b4cbfc2
Merge pull request #1365 from oblien/feat/topology-quick-scaling-20261019
feat(topology): review scaling and manage database replicas
2026-10-23 04:20:30 +03:00
Hydra
a0a3beddb9 feat(wizard): choose monorepo apps and browse repository folders 2026-10-23 04:02:18 +03:00
Hydra
bd6e7ad1ca fix(previews): keep disabled service copies isolated 2026-10-23 03:00:28 +03:00
Hydra
d0b748b5a6 fix(scaling): preserve ordinary Swarm database placement 2026-10-23 00:43:10 +03:00
Hydra
232185e3ba fix(topology): integrate database replication with current cluster runtimes 2026-10-23 00:35:54 +03:00
Hydra
2cd519e8ce fix(deploy): reconcile attached infrastructure with completed-build retries 2026-10-23 00:32:24 +03:00
Hydra
4c75eefccc fix(edge): serialize route policy publication with lifecycle changes 2026-10-22 23:51:57 +03:00
Hydra
52dc66b6b0 fix(edge): refresh route protection integration and private rollback 2026-10-22 18:54:00 +03:00
Hydra
bb34267da2 fix(swarm): require migration for projects with failed release history 2026-10-22 17:57:25 +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
05125d334c Merge remote-tracking branch 'refs/remotes/origin/swarm-combined-discovery-20261022' into feat/swarm-combined-20261022
# Conflicts:
#	apps/api/src/modules/deployments/build-pipeline.prebuilt-image.test.ts
#	apps/web/content/docs/api/mcp-tools.mdx
#	packages/platform/src/engine/modules/deployments/build-pipeline.ts
2026-10-22 17:11:35 +03:00
Hydra de lerne
e5ed3886fc
Merge pull request #1198 from ljluestc/feat/672-background-restart-loop-watch
fix(monitoring): show active workload incidents on project status
2026-10-22 16:37:30 +03:00
Hydra
bf60ba48ea Merge remote-tracking branch 'origin/main' into fix/1198-current-workload-incidents-20261022 2026-10-22 15:58:49 +03:00
Hydra
8e95307699 fix: preserve service swap guarantees across configuration writes 2026-10-22 15:52:58 +03:00
Hydra
d2b34f4fbd fix(routing): align wizard protection with controller support
Merge the updated Swarm discovery parent and regenerate MCP references. Match the wizard to the existing self-hosted controller gate so hosted BYOC cannot stage unsupported route passwords. Cover hosted BYOC, self-hosted servers, cloud targets, and cluster targets with the real editor.
2026-10-22 01:58:07 +03:00
Hydra
492c3362f6 Merge project route registration cleanup into preview protection 2026-10-21 15:44:09 +03:00
Hydra
0b24e0f631 fix(roles): exclude resolved Cloud targets from configuration 2026-10-21 12:56:44 +03:00
Asad Khan
7fd57d7427 fix(roles): resolve legacy runtime mode for role configuration
Releases recorded before runtimeMode was persisted have no meta.runtimeMode.
The deploy runtime already falls back to the target's default runtime for
them, but the role configuration check required an explicit "docker", so
projects created before v0.9.3 could never configure roles. The dashboard
hid the control for the same reason.

Extract the runtime's fallback into resolveSnapshotRuntimeMode and use it in
both runtime resolvers and the role configuration check. The dashboard now
offers the control unless the project is known to be bare, Cloud or cluster;
the API's answer stays authoritative.

Closes #1307
2026-10-21 06:19:13 +05:00
Hydra
9b451d8499 fix(swarm): apply and report Compose replica changes through shared releases 2026-10-21 03:48:02 +03:00
Hydra
0d63b536c7 fix(swarm): preserve config delivery and verify lifecycle boundaries 2026-10-21 03:33:20 +03:00
Hydra
f7ffc9bb05 fix(monitoring): derive project attention from current health incidents 2026-10-21 01:50:46 +03:00
Hydra
ee3aad1285 Merge remote-tracking branch 'origin/main' into review/1198-incident-runtime-health-20261021 2026-10-21 01:36:46 +03:00
Cem Özer
015005b2b1 feat(previews): inherit native route password protection 2026-10-20 21:25:54 +02:00
Hydra
f245093011 feat(edge): add password-protected self-hosted routes 2026-10-20 15:03:41 +03:00
Hydra
0b43472d18 fix(scaling): preserve completed recovery during database updates 2026-10-19 21:19:35 +03:00
Hydra
77e0c2bee3 feat(topology): review scaling and manage database replicas 2026-10-19 18:42:49 +03:00
Hydra
30690bd63f feat(deploy): retain releases and roles with attached infrastructure 2026-10-18 14:17:55 +03:00
Victor I
d38d3a8007
fix: ignore disabled services in the PR preview isolation check
A disabled service is never deployed, but the preview isolation check still rejected it for host networking, host PID mode, un-namespaced volumes or host bind mounts, so one disabled helper service could block previews for the whole project.

Skip the isolation guards for services with enabled === false, and drop their host bind mounts from the copied preview row instead of throwing. Enabled services (including enabled: undefined) are still refused, and the check runs again on every preview deployment, so enabling a copied row later is still guarded.
2026-10-17 14:41:50 -05:00
Hydra
ad1a378686 fix: detect chained environment assignments before preview cloning 2026-10-17 03:52:49 +03:00
Hydra
35c98388bc fix: preserve deployment compatibility and preview ownership 2026-10-17 03:45:02 +03:00
Hydra
109c1d34e8 fix: normalize preview mounts before checking isolation 2026-10-17 03:45:02 +03:00
Hydra
a138cb7f25 feat: automate cross-stack deployment environments and output 2026-10-17 03:44:57 +03:00
Hydra
b5c71d5560 fix(roles): preserve app URL across configuration revisions 2026-10-17 02:55:25 +03:00
Hydra
4de9eff666 fix(roles): validate configuration through shared public operations 2026-10-17 02:38:35 +03:00
Hydra
6d6e33ee6d test(roles): cover workload and topology eligibility 2026-10-17 02:31:01 +03:00
Hydra
831c9483b8 fix(roles): use shared workload classification for configuration 2026-10-17 02:27:59 +03:00
Hydra
12800905ad feat(roles): apply runtime role configuration without rebuilding web 2026-10-17 02:22:31 +03:00
Hydra
d066175a89 fix(roles): recover interrupted container handovers durably 2026-10-17 01:48:28 +03:00
Hydra
c2a0c53824 fix(routing): route verified custom domains on first deploy 2026-10-16 23:44:08 +03:00