Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
4fa7407
feat(lib-rt-core): report handler attachment in the health check
fr3shw3b Aug 18, 2026
37e7040
feat(runtime-core): add the core runtime application
fr3shw3b Aug 18, 2026
590b5e2
docs(runtime-nodejs): describe the layer system in the architecture o…
fr3shw3b Aug 18, 2026
3b8a52c
docs(lib-rt-core): name the layer system in the readme
fr3shw3b Aug 18, 2026
259671d
chore: ignore language server log files
fr3shw3b Aug 18, 2026
10fca09
chore(runtime-core): lint the core runtime app before a commit
fr3shw3b Aug 18, 2026
48b8d36
chore: add dependabot groups for project docker images
fr3shw3b Aug 18, 2026
5aa1bd5
chore(runtime-core): make core runtime a gated component for explicit…
fr3shw3b Aug 18, 2026
101f442
ci: check the core runtime app dependencies with cargo-deny
fr3shw3b Aug 18, 2026
9cf6997
ci: let dependabot read the hardened base image registry
fr3shw3b Aug 18, 2026
aaf5e38
docs(runtime-core): describe the core runtime as it now works
fr3shw3b Aug 18, 2026
d9f6de1
fix(lib-rt-core): report a lost dispatcher as not ready
fr3shw3b Aug 18, 2026
ac85263
docs(lib-rt-core): note the cold start budget for the health check
fr3shw3b Aug 18, 2026
5f807d9
fix(runtime-core): stop waiting when there is no readiness to wait on
fr3shw3b Aug 18, 2026
3753d76
ci(runtime-core): harden the core runtime release workflow
fr3shw3b Aug 18, 2026
7c5e6a2
ci(runtime-core): drop the redundant lock file check
fr3shw3b Aug 18, 2026
fc5d1d3
docs(runtime-core): correct the core runtime documentation
fr3shw3b Aug 18, 2026
880f13b
deps(runtime-core): pin the app dependencies exactly
fr3shw3b Aug 18, 2026
9fb2d2c
chore(runtime-core): fail on formatting drift rather than rewriting
fr3shw3b Aug 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ lint_project apps/dev-auth

# lint_project apps/runtime/nodejs
# lint_project apps/runtime/python
lint_project apps/runtime/core
82 changes: 82 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
version: 2

# The base images for every runtime and sidecar come from Docker Hardened
# Images, so Dependabot needs credentials of its own to see
# what tags exist. These are Dependabot secrets rather than Actions secrets,
# which are a separate store that Dependabot cannot read.
registries:
dhi:
type: docker-registry
url: dhi.io
username: ${{secrets.DOCKERHUB_USERNAME}}
password: ${{secrets.DOCKERHUB_TOKEN}}

updates:
# GitHub Actions
- package-ecosystem: "github-actions"
Expand Down Expand Up @@ -79,3 +91,73 @@ updates:
python-deps:
patterns: ["*"]
update-types: ["minor", "patch"]

# Docker - Core runtime base images
- package-ecosystem: "docker"
directory: "/apps/runtime/core"
registries:
- dhi
schedule:
interval: "weekly"
commit-message:
prefix: "deps(runtime-core)"
groups:
docker-deps:
patterns: ["*"]
update-types: ["minor", "patch"]

# Docker - Node.js runtime base images
- package-ecosystem: "docker"
directory: "/apps/runtime/nodejs"
registries:
- dhi
schedule:
interval: "weekly"
commit-message:
prefix: "deps(runtime-nodejs)"
groups:
docker-deps:
patterns: ["*"]
update-types: ["minor", "patch"]

# Docker - Python runtime base images
- package-ecosystem: "docker"
directory: "/apps/runtime/python"
registries:
- dhi
schedule:
interval: "weekly"
commit-message:
prefix: "deps(runtime-python)"
groups:
docker-deps:
patterns: ["*"]
update-types: ["minor", "patch"]

# Docker - Local events sidecar base images
- package-ecosystem: "docker"
directory: "/apps/local-events"
registries:
- dhi
schedule:
interval: "weekly"
commit-message:
prefix: "deps(local-events)"
groups:
docker-deps:
patterns: ["*"]
update-types: ["minor", "patch"]

# Docker - Dev auth base images
- package-ecosystem: "docker"
directory: "/apps/dev-auth"
registries:
- dhi
schedule:
interval: "weekly"
commit-message:
prefix: "deps(dev-auth)"
groups:
docker-deps:
patterns: ["*"]
update-types: ["minor", "patch"]
81 changes: 81 additions & 0 deletions .github/workflows/app-runtime-core-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: Core Runtime CI

on:
push:
branches: [main]
paths:
- 'apps/runtime/core/**'
# The app is built from the runtime crates by path, so a change to them
# can break this build without touching anything under apps/.
- 'libs/runtime/**'
- '.github/workflows/app-runtime-core-ci.yml'
- '!**/*.md'
pull_request:
paths:
- 'apps/runtime/core/**'
- 'libs/runtime/**'
- '.github/workflows/app-runtime-core-ci.yml'
- '!**/*.md'
workflow_dispatch: {}

permissions:
contents: read

env:
CARGO_TERM_COLOR: always

jobs:
validate:
name: Validate
runs-on: ubuntu-latest
defaults:
run:
working-directory: apps/runtime/core
steps:
- uses: actions/checkout@v4

- name: Install Rust
run: rustup update stable && rustup component add rustfmt clippy

- uses: Swatinem/rust-cache@v2
with:
workspaces: apps/runtime/core

- name: Check formatting
run: cargo fmt --check

- name: Lint
run: cargo clippy --all-targets --locked -- -D warnings

- name: Test
run: cargo test --locked

docker-build:
name: Docker Build (${{ matrix.target }})
runs-on: ubuntu-latest
strategy:
matrix:
target: [runtime, dev]
steps:
- uses: actions/checkout@v4

- uses: docker/login-action@v3
with:
registry: dhi.io
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- uses: docker/setup-buildx-action@v3

- uses: docker/build-push-action@v6
with:
# The repository root, because the build needs both apps/runtime/core
# and the runtime crates it depends on under libs/runtime.
context: .
file: apps/runtime/core/Dockerfile
target: ${{ matrix.target }}
push: false
load: true
tags: celerity-runtime-core:${{ matrix.target }}-test
cache-from: type=gha,scope=ci-core-${{ matrix.target }}
cache-to: type=gha,mode=max,scope=ci-core-${{ matrix.target }}
Loading
Loading