Skip to content

Sync CE runtime, database threading, execution status, and Docker layout - #209

Merged
Luhaozhu merged 5 commits into
mainfrom
sync/ce-20261023-mcp-runtime
Oct 24, 2026
Merged

Luhaozhu merged 5 commits into
mainfrom
sync/ce-20261023-mcp-runtime

Conversation

@Luhaozhu

@Luhaozhu Luhaozhu commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Update the deterministic Community Edition tree with the current runtime, UI, and build changes. Requests continue through the native MCP session layer, blocking database operations run in worker threads, and conversation and automation views show current execution state.

  • Carry native MCP 2.3 sessions, HTTP readiness checks, durable automation ownership and delivery, and model reasoning event handling into CE.
  • Move blocking database work out of async request handlers and derive connection pools and worker limits from a shared thread budget.
  • Refresh tool activity, elapsed time, compaction, streaming state, and automation run polling.
  • Reorganize Docker build inputs under feature directories and remove the retired customer-example dependency from the full frontend build.
  • Align release regressions with the current self-service MCP interface and a single application lifespan.
  • Preserve CE route, model, licensing, and branding boundaries.

Compared with public main, this contains 2,758 changed files (98,013 insertions and 89,713 deletions), largely backend module/test moves. Enterprise implementations, internal documents, evaluation datasets, credentials, and build artifacts are excluded.

Validation

  • Deterministic CE required-file, forbidden-artifact, binary allowlist, branding, and license gates passed.
  • CE import, OpenAPI, ORM, and foreign-key boundary contract passed.
  • CE release/runtime/sandbox regression selection: 72 passed.
  • CE frontend production build passed with Node 22.
  • Full-edition integration validation: 207 backend tests passed.
  • Public index whitespace check passed.
  • Full-tree lint remains at its existing baseline: 245 errors and 22 warnings on both development and product branches; it is not reported as passing.
  • Existing CI results belong to the previous PR head; this update triggers fresh checks.

Upgrade notes

This includes CE migrations ce_0031 through ce_0033 for automation ownership, queued runs, and normalized delivery targets. Back up the database before upgrading. Update references to moved Docker Compose overlays when upgrading an existing installation. Desktop users need a rebuilt package to receive bundled frontend and runtime changes.

@Luhaozhu
Luhaozhu marked this pull request as ready for review October 23, 2026 01:05
@Luhaozhu Luhaozhu changed the title Sync CE native MCP runtime, durable automation, and backend module boundaries Sync CE runtime, database threading, execution status, and Docker layout Oct 23, 2026
Reconcile the CE runtime snapshot already included in both sync branches. Preserve the CLI import-governance bootstrap fix and its regression test, and carry forward main sandbox formatting without changing the PR runtime behavior.

Validation: 81 CE release, CLI cold-bootstrap, and sandbox regressions passed. All four resulting Python changes have identical ASTs to the previous PR head; git diff --check passed.
@Luhaozhu
Luhaozhu merged commit 120d695 into main Oct 24, 2026
5 checks passed
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.

1 participant