Documentation · Try Xila · Community
This repository is the multi-repository development and integration workspace for Xila. It replaces the legacy Docker-based development image with native mise tasks, Git submodules and shared GitHub Actions.
Each constituent repository remains independently buildable, releasable and
responsible for its own unit tests. Workspace CI validates specific pinned
combinations of repositories, not floating main branches.
git clone --recurse-submodules https://github.com/xila-project/workspace.git
cd workspace
mise run workspace:validate
# On Debian/Ubuntu, install required native development libraries first:
mise run ci:packages-integration
mise run ci:node-dependencies
mise run integration:metadata
mise run integration:checkFor a smaller checkout, clone normally and initialize only integration dependencies:
mise run repositories:initialize-runtimeThe repositories/ directory contains Git submodules of all currently active
public Xila organization repositories, including Core, Platforms,
Applications, the package manager, the package registry, the package action, the developer tools (the xila command line: image building and packaging), website, brand, media and other tooling.
Private repositories (for example business plans) and archived repositories
are deliberately excluded. A normal clone does not automatically download
submodule content.
All submodules are pinned by their tracked gitlink SHAs.
mise run repositories:status prints the current revisions.
mise run repositories:update explicitly checks out the latest configured
main revisions: review the diff and commit the new gitlinks after
validating compatibility. Updating a submodule does not push to that repository.
.github/actions/setup-rust/: reusable composite action for mise, pinned Rust toolchain and opt-in mr-boxington cache; the caller decides its cache generation/mode and retains its ownmise.ci.tomltasks. It exportsCARGO_INCREMENTAL=0for the rest of the job (inputincremental-compilation: "true"keeps Cargo's profile defaults instead)..github/workflows/quality.yml: reusable formatting/actionlint workflow for Xila repositories, to be adopted as consumers are migrated..github/workflows/ci.yml: workspace-only integration gate using pinned submodules. Native dependencies are owned by Platforms'mise.ci.tomland applied through itsci:packages-hosttask frommise run ci:packages-integration; Workspace keeps no duplicate package list. Node tools and locked npm dependencies are installed throughmise run ci:node-dependencies. Integration usesplatforms/tools/dev/local_overrides.pyto patch Cargo dependencies to locally checked-out sources.
The integration job enables the mr-boxington cache (its own cache generation,
v1-workspace-integration, object mode). scripts/integration/check.sh runs Cargo from a
shell script, so it selects mbx when XILA_MBX=1 (set by the shared action)
and plain cargo otherwise, like the mise Cargo wrapper. Caches are saved from
pushes to main and only restored by pull requests, merge-queue and manual runs.
Default issue and PR templates are stored in the separate organization-wide
xila-project/.github repository. Do not duplicate them here.
The workspace provides a reusable workflow (.github/workflows/nanobom.yml) that product
repositories call to upload source SBOMs to https://vulnerabilities.xila.dev/.
Each product repository runs its own caller workflow on push to main, a weekly schedule,
and manual workflow_dispatch. This per-repository model ensures evaluations appear
directly in each repository's Actions runs and associate findings with the commit that
introduced them.
Set the repository Actions secret NANOBOM_TOKEN in each caller repository to its project's
Nanobom upload token. The workflow defaults to the instance URL https://vulnerabilities.xila.dev
and the organization slug xila. Organization or repository Actions variables can override
these settings:
NANOBOM_URL: overrides the Nanobom instance URL.NANOBOM_ORGANIZATION: overrides the organization slug.NANOBOM_FAIL_ON: optional finding severity threshold (exploited,high, etc.) supported by nanobom-action to fail the job; defaults to empty (tracking only). Callers can also supply thefail-oninput.
Product repositories add a caller workflow such as .github/workflows/nanobom.yml:
name: Nanobom
on:
push:
branches: [main]
schedule:
- cron: "<pick per repo>"
workflow_dispatch:
permissions:
contents: read
jobs:
inventory:
uses: xila-project/workspace/.github/workflows/nanobom.yml@<full workspace main SHA>
secrets:
NANOBOM_TOKEN: ${{ secrets.NANOBOM_TOKEN }}Callers must pin the reusable workflow to a full commit SHA on workspace main and must
never trigger it on pull_request (forks cannot access secrets, and source inventories describe
accepted branch commits).
Repositories without dependency lockfiles (registry, .github, and the workspace orchestrator
itself) do not need to call the workflow. The source inventory captures dependencies visible to
the SBOM generator (such as Cargo.lock or package-lock.json). It is not a built
firmware/container SBOM or a complete inventory of manually vendored C libraries and downloaded
assets; product repositories remain responsible for artifact-specific SBOMs.
The workspace owns orchestration, shared CI tooling and integration checks. Platform firmware, filesystem images, Wasm demos, package content and app sources remain owned by their individual repositories. This repository does not build or publish a Docker development image.
The integration task delegates native Linux package installation to the pinned
Platforms submodule (mise -E ci run ci:packages-host). The native package
list remains owned exclusively by Platforms. This workspace revision is paired
with Platforms' proposed mise bootstrap migration (platforms PR #37). Do not
merge this workspace PR while its repositories/platforms gitlink points to
an unmerged PR commit; after Platforms #37 merges, repin that gitlink to the
final platforms/main SHA and rerun the workspace integration gate.
Open reviewable pull requests for the shared version and changelog changes.
Once the selected commits are on their respective main branches, open a
workspace pull request for the matching gitlinks. Keep the exact revisions in
the Cargo lockfiles. The first release already has version 0.1.0.
After the workspace pull request merges, run Xila release from
workspace main with the proposed vX.Y.Z tag and the preceding Xila tag.
Leave the preceding tag empty for the first release. The workflow checks
versions and lockfiles, runs integration checks and assembles downloads from
successful Core and Platforms CI runs for the pinned commits. It uploads one
Actions artifact containing the downloads, checksums, revisions and notes. If
cross-repository Actions artifact access requires a separate token, configure
XILA_ARTIFACTS_READ_TOKEN with read access to Actions in Core and Platforms.
Download the candidate promptly, while the underlying CI artifacts are still
available. The workflow defaults to candidate validation. Select Publish
to publish after validation. Configure XILA_RELEASE_TOKEN in the
xila-release environment with Contents write access to workspace, Core,
Platforms and Tools. Protect that environment with a required reviewer and
restrict its deployment branches to main. The release job uploads and
verifies every asset on a Platforms draft before creating tags. It then
publishes the draft and includes
GitHub-generated notes for all four repositories. If tagging is interrupted,
rerun the failed publish job so the same candidate can be verified
before it finishes.
Part of Xila · Repositories · Community
Special thanks to Martin Legand for generously designing the Xila logo.