Skip to content

impl(011): rustev-serve gains the optional local-embed feature (3.17.3) - #534

Merged
bartekus merged 1 commit into
mainfrom
impl/011-serve-features
Nov 6, 2026
Merged

bartekus merged 1 commit into
mainfrom
impl/011-serve-features

Conversation

@bartekus

@bartekus bartekus commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Spec 011 3.17.3, manifest half. rustev-serve declares the Cargo feature local-embed, off by default: an optional dependency on rustev-backend-embed-linear with its synthetic feature, as the Node binding does (011 3.17.1).

  • The backend gets a root [workspace.dependencies] entry with its exact version (=0.5.0), so rustev-serve names it through the workspace like its other family dependencies (release(060): rustev-serve names its family dependencies through the workspace, with exact versions (031 3.9.2) #530). It stays outside the release family (011 3.17.4); nothing in tools/rustev-release changes.
  • Without the feature, cargo tree -p rustev-serve -e normal,build holds no crate of the 3.18 local inference family (011 3.20.2). With it, ort, ort-sys, tokenizers and the backend appear, through the optional edge only (001 3.4.6).
  • The image build (cargo build -p rustev-serve --bin rustev-serve --locked --release) does not enable the feature and is unchanged.
  • Cargo.lock gains one dependency line on rustev-serve; no new package.

Alone because a manifest is a policy file (044 3.3). The code, tests, conformance wiring and the spec 011 record are in the stacked pull request.

Spec-Drift-Waiver: owner-approved 0.5.0 completion of spec 011 3.17.3 (2026-11-06); the spec text and code land in the stacked PR

Checks

  • cargo build -p rustev-serve --locked --all-targets with and without --features local-embed: pass.
  • cargo tree with and without the feature, as above.
  • make gate: pass.

rustev-serve declares the Cargo feature `local-embed`, off by default, an
optional dependency on rustev-backend-embed-linear with its `synthetic`
feature, as the Node binding does (011 3.17.1). The backend gets a
workspace entry with its exact version, so the service names it through
the workspace like its other family dependencies; it stays outside the
release family (011 3.17.4). Without the feature the service's resolved
graph has no crate of the local inference family (011 3.20.2); the image
build is unchanged and stays without it. Alone because a manifest is a
policy file; the code, tests, conformance wiring and spec record are in
the stacked pull request.

Spec-Drift-Waiver: owner-approved 0.5.0 completion of spec 011 3.17.3 (2026-11-06); the spec text and code land in the stacked PR
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

AI review (no-findings)

The diff adds rustev-backend-embed-linear as an optional, feature-gated dependency (local-embed) to integrations/rustev-serve, plus a workspace-level declaration in Cargo.toml for version pinning.

Boundary rules: AGENTS.md restricts only Aicortex, Rahi, statecraft-cli, or an HTTP stack to integrations/*. rustev-backend-embed-linear is a backend crate, not in that list. rustev-serve is under integrations/, so the placement is consistent with governance.

Lock file: The Cargo.lock hunk shows rustev-backend-embed-linear added to rustev-serve's dependency block, consistent with the optional dep declaration.

Version pinning: The workspace entry uses version = "=0.5.0" with exact pinning, matching the convention used for all other workspace members in Cargo.toml.

Feature declaration: local-embed defaults to off, synthetic feature forwarded as described. The comment rationale cites spec 011 and spec 060 for the off-by-default and service-image exclusion claims. I cannot verify those spec texts from the supplied diff, but no contradiction is visible in the supplied evidence.

No concrete defects found.

{"head": "230fa181103530a2cd360964f86de7c89651b759", "verdict": "no-findings", "findings": []}

Subject: a9eeb9f...230fa18, diff digest 84af27265bafc8bd64ec259a830e44ad97e65051474db5c380aa5e706d941287, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus added this pull request to the merge queue Nov 6, 2026
Merged via the queue into main with commit 101bbd8 Nov 6, 2026
26 checks passed
@bartekus
bartekus deleted the impl/011-serve-features branch November 6, 2026 19:52
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