Open-source inference server and production cluster for all the models your agent needs.
Releases
SIE uses one release-please train with vX.Y.Z tags. The last released version
at setup is 0.7.3. Changes after that release determine the next version;
the setup does not create or republish 0.7.3.
Versioning
.release-please-manifest.json records the current released version, and
release-please-config.json fixes the public history boundary at the actual
v0.7.3 commit 60996d9c30168e0f8e85b680295f147fdee87f61. The workflow
also verifies that the public v0.7.3 stable release and tag exist and that the
tag belongs to the release branch. Release-please discovers the matching
release natively; the checked-in bootstrap SHA remains the fail-closed fallback
for that same historical boundary.
The current pre-1.0 policy is retained: ordinary features and fixes advance the
patch version; breaking changes advance the minor version. Public conventional
commits generate CHANGELOG.md. No old changelog sections are rewritten.
The release PR updates the coordinated Python/npm package versions, gateway, sidecar and audio release fields, TypeScript runtime version, and Helm metadata. It also refreshes the coupled public locks and stamps the new version into the committed server and gateway OpenAPI documents. CI regenerates those documents and requires identical bytes, so they are not release-please extra files: its JSON rewrite changes number formatting and precision, string escapes, and key order. Config and MCP join this train for their first PyPI publication. The refresh also formats the SDK package metadata rewritten by release-please with the lockfile-pinned Biome version and the SDK's formatter configuration. Only that manifest is formatted; its release version and metadata are preserved. Independently versioned implementation crates are not silently renumbered: a Rust worker image follows the release image tag even where its crate has an independent version.
Release PRs receive the same mandatory CI checks as other PRs. Release-please and its lock refresh use a repository-scoped GitHub App so their PR updates trigger normal CI. No PR build is a publication job.
Published outputs
The Python train contains 14 distributions:
sie-sdk,sie-server,sie-config, andsie-mcp;sie-langchain,sie-llamaindex,sie-haystack,sie-dspy,sie-crewai,sie-chroma,sie-lancedb,sie-qdrant,sie-weaviate, andsie-cognee.
sie-cognee first ships in the release containing its integration. Its initial
source version follows the train; it is not an additional artifact of an
earlier published release.
The npm train contains six packages under @superlinked: sie-sdk,
sie-chroma, sie-cognee, sie-langchain, sie-llamaindex, and sie-lancedb.
@superlinked/sie-cognee first ships in the release containing its integration.
It follows the same version, packed-consumer checks and publication gates as
the other npm integrations. Its first upload also requires the
new npm package bootstrap.
The GHCR image names are sie-server, sie-gateway, sie-config, sie-mcp,
sie-server-sidecar, and sie-server-rust, under ghcr.io/superlinked.
.github/release-matrix.json defines the supported server platform/bundle
combinations. Missing bundle source or build recipes are errors, not an
instruction to skip a release target. The Rust worker retains its explicit
CUDA/architecture image suffix.
The CUDA 12 targets include sglang-embedding, the isolated worker bundle for
Qwen3 text embeddings and the catalog's other SGLang embedding models. Its
versioned image is ghcr.io/superlinked/sie-server:vX.Y.Z-cuda12-sglang-embedding.
It participates in the same build, verification and publication gates as the
other release images. This target first ships in the release containing this
matrix entry; it does not add an image to earlier releases.
Qwen3-Embedding-0.6B and 8B now join 4B in that CUDA bundle. Their :flash
profiles retain the previous implementation in the default bundle, including
its CPU/MPS fallback. For example, CPU and Mac users select
Qwen/Qwen3-Embedding-0.6B:flash; a cpu-default image serves that explicit
profile, not the bare SGLang model ID. Model revisions, query instructions and
vector dimensions are unchanged, but changing inference backends can change
floating-point results. Rebuild vectors consistently when migrating an index.
The Helm chart is published at
oci://ghcr.io/superlinked/charts/sie-cluster after its versioned images verify.
Native audio is distributed as a GitHub Release asset, not a PyPI project:
sie_audio_prep-<version>-cp312-abi3-manylinux_2_28_x86_64.whl
A Linux amd64 sidecar executable and checksum are also provided for consumers that embed the binary rather than run its container:
sie-server-sidecar-v<version>-linux-amd64
sie-server-sidecar-v<version>-linux-amd64.sha256
The executable is extracted from the already-verified sidecar image, not rebuilt. Its attached provenance records the source revision, architecture, and ABI; the compatibility check uses Debian 12. Rust library dependencies can still be consumed using Cargo's Git support; no crates.io publication is implied by an image or binary release.
Build, verify, publish
The top-level release.yml has two automatic entrypoints:
- A push to
mainruns the App-authored release-please and release-PR lock refresh steps only whenPUBLIC_RELEASE_AUTOMATION_ENABLEDis exactlytrue. An absent variable leaves authoring cleanly skipped. - The App-created stable
release: publishedevent runs preparation, builds, verification, and direct publisher fanout at the tagged commit.
This separates the commit that triggers release-please from the commit it
releases. A later main push cannot cause packages from an earlier release to
be published with the later run's provenance. The App credential is required
because its events trigger workflows; a release created with GITHUB_TOKEN
does not provide that handoff. Publication does not depend on a tag-push event.
Publication and manual recovery runs are serialized in the public-release-main
group with GitHub's queue: max concurrency mode and no in-progress cancellation,
so newer events do not replace pending releases. The queue has GitHub's documented
bound of 100 pending runs. The current actionlint schema does not recognize
queue; CI exempts only that diagnostic and separately checks the required queue
setting. See workflow
concurrency.
Push runs stay out of that queue, because each one needs release-automation
approval and would hold the queue while it waits. A push run has a group of its
own, and its release-please job joins the separate public-release-authoring
group, where a newer push cancels the older job. GitHub does not allow queue: max
with in-progress cancellation, so that group uses the default single queue. No
release is lost when a job is replaced: the next approved job reads the repository
state, finds any merged release PR still awaiting its release, and rebuilds the open
release PR.
Authoring is therefore not serialized against publication. A release PR merged while an earlier release is publishing can create the newer release before that run ends. The newer release's run waits in the queue, and the earlier run leaves the floating image aliases for it to move.
PR and candidate builds produce archives without publishing. They use the actual package versions in that source tree. Release builds additionally require the complete package set to match the release version.
The Release candidate workflow rehearses all six artifact families without
registry credentials or release-writing permissions. It runs on release
pipeline changes and release version updates, and can be dispatched manually
against a reviewed branch. It builds the full image matrix and extracts the
native sidecar from its tested image, as well as building Python, npm, audio,
and the packaged Helm chart. Require its final Release candidate / Complete
check on the final release PR head before merging that PR.
Non-release build artifacts, including CI package archives and PR or manually dispatched rehearsals, expire after five days. This includes Docker archives and verification evidence; the native sidecar still consumes its tested image within the same run. After expiry, start a new rehearsal instead of relying on its old artifacts. Published-release builds and their original-run retries retain artifacts for 30 days for recovery.
On a stable release, every builder must pass the artifacts-ready gate before
any publisher can start. Publishers consume the retained archives. This keeps
a failed image or chart build from leaving packages partially published.
Registry failures can still interrupt publication; recovery resumes the
original failed publisher with its same version, source and retained bytes.
Build outputs are tested before upload. Publisher jobs consume those same archives or images; they do not independently rebuild them. Before a release upload, the run commit, release output commit, checked-out source, and stable tag must identify the same revision. Versioned outputs are immutable: an existing matching upload may be accepted, but different bytes at the same version are a failure.
The Candle CUDA image is checked on driverless runners using its source-bound
image configuration, extracted ELF executable, and image-local shared-library
resolution. Only the host-provided libcuda.so.1 may be unresolved; all other
missing libraries and loader diagnostics fail validation. The same check runs
in Rust CUDA image PR CI. These checks do not exercise GPU inference. CPU Rust
and the other service images retain their executable --help smoke checks.
Package Helm charts with mise run helm -- package --destination DIR. This
stages the checked-in model and bundle catalogs, checks their exact bytes in
the archive, and lints and renders that archive after staging is removed,
including the embedded-config mode. CI and publication use this same path.
Floating image aliases move only after the full versioned image set verifies. An older release recovery keeps those aliases unchanged when a newer stable release exists; it repairs only the requested versioned outputs. The dependent chart waits for that verification. A GitHub Release can exist while a publisher fails; the release-completion check, not the release page alone, indicates that all expected outputs are available.
Ordinary PR checks include lint, typechecking, unit tests, public integration, packed-distribution checks and CPU/container verification. Full release image builds include the declared CUDA variants. Building a CUDA image is not a claim that GPU inference was exercised.
Every GPU image build also checks its engine launch contract before the image
is exported: each routed profile's launch arguments must parse with the
installed engine's own parser, and the engine's flag set must match its
snapshot under conformance/engine-flags/. Which profiles a GPU run actually
backs, per release and image lane, is recorded in the
compatibility matrix, together with NVIDIA's minimum
driver for each lane's CUDA runtime. Engine and CUDA base upgrades follow the
engine upgrade playbook.
Terraform module follow-up
Terraform modules provision infrastructure and have release lifecycles independent of SIE, its Helm chart, and its runtime images. A new SIE version alone does not require a Terraform repository update or module release. SIE's release workflow does not publish Terraform modules.
| Cloud | Repository |
|---|---|
| AWS | terraform-aws-sie |
| Google Cloud | terraform-google-sie |
| Azure | terraform-azure-sie |
| Alibaba Cloud | terraform-alicloud-sie |
Keep runtime installation instructions simple and evergreen: use
helm upgrade --install with the OCI chart reference and omit --version
for the latest stable chart. Pass cloud values with a public values URL;
do not require pulling, unpacking, or staging the chart first. A latest chart
and values from main are rolling inputs. For controlled upgrades, optionally
set a reviewed chart version and the matching values tag/ref, read the relevant
SIE release notes, and preserve existing values and credentials. Multi-step
image mirroring should keep the selected chart, values and image versions
consistent, but does not require chart extraction. Terraform module and
provider version constraints remain independent and reproducible.
Terraform Registry documentation is served from a published module version,
not from the repository's current main. Ordinary documentation-only changes
appear there with the next module release. A maintainer can explicitly
authorize a one-time documentation refresh release when needed; publish a new
immutable patch version and verify its Registry documentation and download
source. Never move or overwrite an existing tag to refresh its documentation.
This exception does not restore automatic module releases for each SIE version.
The release owner checks whether the new SIE release changes a requirement on the infrastructure module: for example, a required output, workload identity binding, storage integration, or supported cluster capability. If no module change is needed, record that conclusion; do not open version-bump PRs merely to refresh chart numbers, image examples, or release-note summaries.
When an actual compatibility issue requires a change:
- Inspect current
main, open PRs, and contributor instructions in the affected module repository. Keep the fix scoped to that module. - Run its relevant Terraform checks and, where applicable, render the published chart with the module's output formats. Preserve workload identity, payload-store wiring, GPU selectors, and image-tag consistency. Validation does not authorize applying infrastructure.
- Use
docs:orchore:for documentation-only updates. They do not warrant a module version. Use the appropriate releasing commit type only for an actual module implementation, behavior, or interface change; retain applicable historical upgrade and security guidance. - Follow normal PR review and exact-head CI. For actual module changes, follow the module's release process and verify its immutable tag and Terraform Registry version/download source within the authorized publication scope. Do not bypass missing reviews or checks, manufacture approvals, or treat a merged source PR as proof that a module version was published.
Report SIE publication separately from any necessary Terraform compatibility work. Distinguish documentation-only updates, actual module releases, and outstanding review, CI, or publication gates. Module release numbers need not match SIE's version.
Publisher setup
Finalize these identities before enabling uploads:
| Publisher | Repository | Workflow identity | Environment | Authority |
|---|---|---|---|---|
| PyPI distributions | superlinked/sie |
release.yml |
pypi |
Trusted Publishing, upload-job id-token: write |
| npm packages | superlinked/sie |
release.yml |
npm |
Trusted Publishing, upload-job id-token: write |
| Images | superlinked/sie |
Release image workflow | ghcr |
GITHUB_TOKEN, packages: write |
| Helm chart | superlinked/sie |
Release chart workflow | helm |
GITHUB_TOKEN, packages: write |
| Release assets | superlinked/sie |
Native asset workflows | github-release |
GITHUB_TOKEN, contents: write |
PyPI/npm upload jobs live in the top-level workflow so the configured OIDC
identity is unambiguous. Existing package names use their existing registry
settings; only new PyPI projects need pending publishers. PyPI allows only one
pending project per publisher identity, so bootstrap config and MCP sequentially
with the same repository, release.yml workflow, and pypi environment. Register
sie-config first. Its next OIDC token exchange creates the project and converts
the pending publisher into an ordinary publisher. Then register sie-mcp and
request another original-run publisher retry so a new token exchange creates it.
One upload attempt mints its token only once; adding the second pending publisher
does not extend a token already issued to the first attempt. Recovery verifies
and skips byte-identical files already uploaded and consumes the same retained
archives. Audio assets do not need another PyPI registration.
npm trusted publishers are configured per package. The upload job uses a GitHub-hosted runner and a pinned supported npm version. Ordinary builds and tests use Blacksmith. Do not carry a long-lived npm token into the OIDC upload job. See npm trusted publishing.
For GHCR, explicitly grant this repository's Actions jobs access to each existing package and confirm public visibility. A source label or successful anonymous pull does not prove write permission. GHCR uses the repository token, not an external OIDC registration.
Protect main and the v* tag namespace before enabling publication. Restrict
stable tag creation to the release App, and forbid tag updates/deletions. A tag
pattern allowed by an environment is not a substitute for those repository
rules. Keep creation bypass and tag immutability in separate rulesets so the
App's permission to create does not also permit replacing or deleting tags.
The App does not need a bypass of main-branch review or CI requirements.
Preparation and every publisher verify the protected tag, exact source,
and ancestry in protected main.
The App and manual recovery use the main-only release-automation environment.
The pypi, npm, ghcr, helm, and github-release environments allow only
the protected release tags, not pull-request branches. release-automation supplies
PUBLIC_RELEASE_APP_ID and PUBLIC_RELEASE_APP_PRIVATE_KEY. Install that App
only on this repository with Contents and Pull requests read/write permission.
These App credentials are not distribution-registry credentials.
Keep the repository variable PUBLIC_RELEASE_AUTOMATION_ENABLED absent while
setting up the App and release-automation environment. After the App is
installed, its ID/private key are configured, protected main and stable-tag
rules are in force, and the release workflow has passed review, set the variable
to exactly true to enable release-PR authoring. This authoring gate is separate
from artifact publication and must not be enabled as a substitute for publisher
configuration.
Actual publication additionally requires
PUBLIC_RELEASE_PUBLISHING_ENABLED=true. Keep it absent until the release
baseline, required checks, publisher identities, package access and build
capacity have been checked. Build-only paths need neither this setting nor
registry credentials. Do not enable two competing publishers for the same
artifact destination.
New npm package bootstrap
npm requires a package to exist before its trusted publisher can be configured
(see npm trust prerequisites).
A new name such as @superlinked/sie-cognee therefore needs a separately
approved first upload. Merging its source or passing package checks does not
approve that upload. Before enabling publication, verify that the GitHub npm
environment has a required-reviewer protection rule; an environment name alone
does not pause its jobs. Keep that approval pending until the registry owner
has completed this bootstrap.
- Obtain the release owner's explicit approval for the one-time authenticated
upload, including its authentication and provenance implications. This is
an exception for creating a new package name, not a token fallback in
release.yml. RequirePUBLIC_RELEASE_PUBLISHING_ENABLED=trueand the same protected-tag and exact-source conditions asnpm-publish. Without that approval and those conditions, first publication remains blocked. - Use the
npm-distributionsartifact from the original stable release run afterartifacts-readysucceeds. From that release's exact source revision, run the sametools.ci.release_artifact checkandtools/ci/distributions.py verify npmcommands asnpm-publish, with its version, protected tag, source revision and original run ID. Retain the complete tested archive set. Never upload a PR archive, placeholder version, locally rebuilt package or archive from another run. - The registry owner signs in with interactive npm authentication and 2FA,
then publishes only the new package's verified archive with
npm publish PATH_TO_ARCHIVE --access public --ignore-scripts --tag release-vX.Y.Z --registry=https://registry.npmjs.org, substituting the coordinated release version. Record the artifact integrity and the approved bootstrap action. This upload uses owner authentication; do not claim npm-generated OIDC provenance for a manual upload. - Configure the package's trusted publisher for GitHub organization
superlinked, repositorysie, workflowrelease.yml, environmentnpm, allowing direct publication. Compare the registry'sdist.integritywith the retained archive's SHA-512 integrity, then approve the original run'snpmjob. Its publisher verifies and skips the identical existing version while publishing the remaining packages normally. A mismatch is a stop. - After the full release completes, coordinate promotion with the release
owner so no later publisher can change
latestconcurrently. Read the new package's current tag withnpm dist-tag ls @superlinked/sie-cognee --registry=https://registry.npmjs.org. Iflatestalready equals this version, leave it unchanged. If it is a newer semantic version, skip promotion; never move it backwards. Only when the tag is absent or older, set it to the verified version withnpm dist-tag add @superlinked/[email protected] latest --registry=https://registry.npmjs.org. Stop if the registry state cannot be verified. Check a fresh install. Skipping an identical bootstrap archive does not test the new OIDC connection. npm expires an unused trusted-publisher connection after two days; recheck or recreate it immediately before the first later OIDC publication if necessary (see configuration expiry). Verify that first actual OIDC upload and its provenance before treating the connection as proven. Later versions use the ordinary publisher.
The bootstrap is an account-side prerequisite, not something a source change or a successful candidate build can establish. Do not approve the npm publisher while the new package's first upload or trusted-publisher setup is incomplete.
Recovery
Release-PR authoring
To refresh an open release PR, use the push-to-main authoring workflow. Merge
any automation repair through normal review and CI, then approve that commit's
release-automation job. The manual entrypoint below only recovers failed
publication; it does not refresh release PRs.
Each push replaces the previous authoring job, so earlier push runs show as cancelled and normally only the newest push is waiting for approval. Approve that one. If another push lands while the approved job is running, that job is cancelled too; approve the newer run. A job cancelled between creating a release and updating the release PR's label can leave the next run failing once on the duplicate release. That run corrects the label, and the run after it proceeds normally.
release-please reads current main, but a run executes the workflow from its
original push, so an old run could generate current release files using outdated
refresh steps. GitHub does not guarantee that jobs enter the group in push order,
and its documentation does not say how in-progress cancellation treats a job
waiting on an environment. An older job can therefore occasionally replace a newer
one or stay waiting ahead of it. To keep that harmless, the job's first step fails
before it uses any credentials unless its commit is the newest on main.
If an older job is waiting, cancel it rather than approving it. If the newest push
run was cancelled, rerun that exact push run while GitHub still permits the rerun;
do not replay older runs. If main moved without starting a run, the next push
starts a current one. Do not cancel publication or recovery runs as part of this
cleanup. Keep the environment protections and approve the retained run normally.
Verify the generated PR's source ancestry after refresh, too: the approved run's
revision does not freeze release-please's reads of main.
An unapproved push run does not delay publication. A publication or recovery run
waiting on an environment approval does hold public-release-main, including a
dispatched recovery run nobody has approved, so resolve those first if publication
appears stuck. If 100 runs were ever pending there, the queue would be full and
GitHub would not admit further publication or recovery runs. Each one appears as a
failed run with zero jobs, and GitHub reports that it likely failed because of a
workflow file issue. Before debugging the workflow file, look for a Release run
in the waiting state.
Artifact publication
Retain release build artifacts for at least 30 days. Normal recovery reruns failed publication jobs from the original release workflow run. This preserves the original commit/ref and reuses the original outputs.
The manual recovery entrypoint validates an existing version and its original run before requesting those reruns. It is not an alternate uploader from newer source. npm's automatic provenance uses the run's commit; checking out an older tag inside a newer run would not change that identity.
Docker recovery reads the server image matrix from the original release's validated source SHA. Adding a bundle to a later release therefore neither omits its archive from new-release recovery nor requires it for older releases. An unavailable or malformed original matrix stops recovery.
In Actions → Release → Run workflow, select main and provide version
(without v), the numeric original_run ID, and an optional family selection.
The tag is derived from the version. Select the original release-event
publication run, not the main-push authoring run. Its prepare job must have
succeeded, a selected publisher family must have failed, and its original
archives must still exist. A skipped-only family or a failure only in the
completion check is not treated as a successful retry request. Diagnose those
conditions explicitly instead of rerunning release-please and losing its
original release outputs. Failed builds can be rerun from the original run
before retrying publication.
If the original run or artifacts are unavailable, or an existing version has conflicting bytes, stop and resolve that release explicitly. Do not move a tag, overwrite a package, or attach a newly rebuilt conflicting native asset.
When filling a missing older npm version after a newer version is already
latest, recovery uses the version-scoped release-vX.Y.Z dist-tag. It does not
move latest backwards. Normal new releases use latest; identical existing
versions are verified and left untouched.
Candidate compatibility checks
An unmerged public commit can be built without creating a stable release. Consumers may select its exact archives/image digests for an isolated test run while their stable dependency pins stay unchanged. Candidate artifacts are code: approve the exact source before executing them in an environment with private access. Candidate builds do not receive production or publishing credentials.
Local build, pack, and smoke checks cannot prove account-side OIDC trust, registry permissions, or hosted-runner capacity. Those remain checks for the first authorized publication from the final release source.