Repository navigation
Conversation
This was referenced Nov 14, 2026
…icks-lean-worker-prototype
…icks-lean-worker-prototype
…icks-lean-worker-prototype
…icks-lean-worker-prototype
…icks-lean-worker-prototype
…icks-lean-worker-prototype
…icks-lean-worker-prototype
…icks-lean-worker-prototype
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Simple chat workers import a broad management and model-logging dependency graph. This draft separates
databricks-agentkit-runtime, owningdatabricks_agentkit, fromdatabricks-agentbricks, owning CLI/templates and depending on the exact paired SDK version. Ordinary CLI installs retain management/template capabilities; workers can choose tracing and framework extras directly. Wheel file sets are disjoint.The shared lifecycle imports with CLI, server, SQL, transport and framework imports blocked. It is suitable for native async MAR adapters without importing the Apps entry point. Includes the prior deferred imports, bytecode compilation, bounded import read-ahead and demo builder. Stacked on #915, retaining manual warm spares, session UI, canonical invocation API and Apps-owned dispatch/reconciliation. Sandbox-side polling/claiming and the Omnigent callback/history-commit bridge are follow-ups, not implemented here.
Paired artifacts now flow through release stamping and the suite harness. Stamping updates SDK/CLI versions and their exact dependency together; suites build/vendor both wheels and validate matching versions. Published CLI installs stage the exact SDK
[sandbox]requirement from the configured package index, without requiring a checkout. Editable development installs retain content-versioned paired wheel builds. CLI help/reference and bundled deployment guidance reflect this distinction. Publishing remains disabled; nothing is released by this PR.No additional deploy flags or existing Runtime Store schema changes. The SDK suite harness adds
--runtime-wheelfor prebuilt test artifacts, with automatic sibling discovery.Validation: 363 sandbox tests and 425 existing CLI/server/runtime tests passed at the composed head; focused CLI/packaging/lifecycle checks also passed. Two private gRPC checks skipped. Release-stamping tests passed. Automated publishing remains disabled. Built both ordinary and content-versioned wheel pairs; verified matching versions, exact SDK pins and disjoint files. Installed the paired wheels with dependencies in a fresh venv, checked CLI help, blocked-import lifecycle loading, and source-free staging with the sandbox extra.
Live validation: deployed
a0bd7d8on e2-dogfood and compared withb87f2f0using the same frozen LangGraph agent, model and App. Three cold sessions per build: median readiness 17.9 → 18.6 s, warm first text 4.0 → 4.1 s and confirmed stop 23.0 → 22.7 s. One prepared-pool allocation per build: 3.0 → 3.2 s. Memory, tools, persistent worker reuse, stop/resume, progressive SSE, canonical invocation replay and the browser chat/stop flow passed. Shutdown outliers reached 75 s; this small sample does not establish tail-latency equivalence. Raw captures stay outside the PR.Full upgrade validation from the legacy monolithic distribution, the minimum-version/integration matrix, native MAR adapter/runner wiring, paired release-workflow wiring, trusted-publisher setup for the SDK remain release prerequisites. The old monolithic App upgrade deleted overlapping SDK files during the baseline rollout and required a one-time reinstall; that upgrade path is not release-qualified. The tested workflow patch is retained locally: GitHub rejected workflow updates because the current OAuth login lacks workflow scope. Keep as a demonstration draft.
Local editable installation · Investigation · Latest deployed App, running the composed head with two warm spares.