Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
77100aa
Checkpoint work tasks and save unfinished work as commits (#333)
n0rpan Nov 15, 2026
7332ae1
docs: portability probe step 1 on a second ARM machine (Apple M2), is…
n0rpan Nov 15, 2026
179e0e0
oxa-interactive: HUD keeps location at 60 columns (fix drop loop) (#371)
n0rpan Nov 15, 2026
263dde7
ui: TERM=linux/dumb implies the ASCII glyph set even with a UTF-8 loc…
n0rpan Nov 15, 2026
f6321b0
Keep task ownership throughout saving and detect interrupted status
n0rpan Nov 15, 2026
8c512ea
oxa-config: match suggestions on the id after the provider prefix (#390)
n0rpan Nov 15, 2026
ad778ee
oxa-sandbox: skip git binds whose source vanished mid-session (bwrap …
n0rpan Nov 15, 2026
52deff8
oxa-interactive: write result shows a size summary and + lines (#391)
n0rpan Nov 15, 2026
dbe291b
sandbox: expose the running oxa binary read-only and as OXA_BIN (#360)
n0rpan Nov 15, 2026
eba3dfa
Add opt-in Rust Anthropic stream translation (#338)
n0rpan Nov 15, 2026
274b471
Add opt-in in-process gateway Engine adapter (#401)
n0rpan Nov 15, 2026
8f1e2c0
Merge branch 'agent/333-work-continue' into agent/333-work-state
n0rpan Nov 15, 2026
7bec3a9
Merge main into agent/333-work-state
n0rpan Nov 15, 2026
94fb542
Merge remote-tracking branch 'origin/agent/333-work-state' into agent…
n0rpan Nov 15, 2026
a192176
ci: pull-request runs use their own low-priority runner pool (label o…
n0rpan Nov 15, 2026
7516723
ci: path-aware merge queue (classify the group diff, skip untouched c…
n0rpan Nov 15, 2026
1797b97
release: attach the combined aarch64 and x86_64 archives and SBOMs wi…
n0rpan Nov 15, 2026
592c7ca
ci: component tests on PRs, one required gate, full run on main, cach…
n0rpan Nov 15, 2026
53d17a7
Exercise real core tool loops through the embedded gateway (#419)
n0rpan Nov 15, 2026
d16120f
TUI: reject unknown slash commands locally; add /help, /usage, /cost …
n0rpan Nov 15, 2026
a2383f8
Merge remote-tracking branch 'origin/main' into agent/333-work-state
n0rpan Nov 15, 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
73 changes: 59 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ on:
description: Run the oxa build (disabled only for draft PR checks)
type: boolean
default: true
engine:
description: The engine component changed (false only for a merge group that leaves engine/ alone)
type: boolean
default: true
oxa:
description: The oxa component changed (false only for a merge group that leaves oxa/ alone)
type: boolean
default: true

permissions:
contents: read
Expand All @@ -41,14 +49,15 @@ defaults:
run:
shell: bash # bash -eo pipefail

# Runner choice for the x86_64 jobs (the expression in each `runs-on`): the project's own runner (label `oxci`, a rented
# Runner choice for the x86_64 jobs (the expression in each `runs-on`): the project's own runners (label `oxci` for the merge queue,
# main and manual runs; label `oxci-pr`, a separate low-priority pool, for pull requests; a rented
# throwaway server with no secrets) when the repository variable OXCI is 'on'. Pull-request runs use it only when
# OXCI_PR is also 'on' AND the pull request comes from a branch of this repository; a pull request from a fork always
# runs on the hosted image, so outside code never reaches the runner. Any other value of OXCI sends every job back
# to the hosted images (kill switch). The ARM jobs are always hosted.
jobs:
engine:
if: inputs.heavy
if: inputs.heavy && inputs.engine
name: oxe-server (MoE) + oxi
runs-on: ubuntu-24.04-arm
container:
Expand All @@ -69,7 +78,7 @@ jobs:
id: rust-key
working-directory: ${{ github.workspace }}
run: python3 -I tools/ci/rust_cache_key.py --variant fedora44-moe engine
- uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5
- uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5
id: rust-cache
with:
path: |
Expand Down Expand Up @@ -102,6 +111,15 @@ jobs:
run: |
ulimit -c 0 # no core dumps from the deliberate-abort tests (tests::panic_child)
cargo test --release --locked --no-fail-fast --workspace --exclude qwen4exp
- uses: actions/cache/save@caa296126883cff596d87d8935842f9db880ef25 # v5
# Only main seeds caches: queue and PR refs cannot share theirs (see the header).
if: github.ref == 'refs/heads/main' && github.event_name != 'merge_group' && steps.rust-cache.outputs.cache-matched-key != format('{0}main', steps.rust-key.outputs.prefix)
with:
path: |
~/.cargo/registry
~/.cargo/git
engine/target
key: ${{ steps.rust-key.outputs.prefix }}main
- name: Package
if: inputs.package
env:
Expand All @@ -119,7 +137,7 @@ jobs:
retention-days: 7

flash:
if: inputs.heavy
if: inputs.heavy && inputs.engine
name: oxe-server --features flash
runs-on: ubuntu-24.04-arm
container:
Expand All @@ -143,7 +161,7 @@ jobs:
id: rust-key
working-directory: ${{ github.workspace }}
run: python3 -I tools/ci/rust_cache_key.py --variant fedora44-flash engine
- uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5
- uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5
id: rust-cache
with:
path: |
Expand Down Expand Up @@ -178,6 +196,15 @@ jobs:
cargo test --release --locked --no-fail-fast -p qwen4exp
./target/release/flash-m3 selftest | tee selftest.txt
! grep -q FAIL selftest.txt
- uses: actions/cache/save@caa296126883cff596d87d8935842f9db880ef25 # v5
# Only main seeds caches: queue and PR refs cannot share theirs (see the header).
if: github.ref == 'refs/heads/main' && github.event_name != 'merge_group' && steps.rust-cache.outputs.cache-matched-key != format('{0}main', steps.rust-key.outputs.prefix)
with:
path: |
~/.cargo/registry
~/.cargo/git
engine/target
key: ${{ steps.rust-key.outputs.prefix }}main
- name: Package
if: inputs.package
env:
Expand All @@ -193,9 +220,9 @@ jobs:
retention-days: 7

oxa-test-build:
if: inputs.heavy
if: inputs.heavy && inputs.oxa
name: oxa test archive (x86_64)
runs-on: ${{ vars.OXCI == 'on' && (github.event_name != 'pull_request' || (vars.OXCI_PR == 'on' && github.event.pull_request.head.repo.full_name == github.repository)) && 'oxci' || 'ubuntu-24.04' }}
runs-on: ${{ vars.OXCI == 'on' && (github.event_name != 'pull_request' && 'oxci' || (vars.OXCI_PR == 'on' && github.event.pull_request.head.repo.full_name == github.repository) && 'oxci-pr') || 'ubuntu-24.04' }}
timeout-minutes: 30
env:
RUSTUP_TOOLCHAIN: "1.99.1"
Expand All @@ -209,7 +236,7 @@ jobs:
id: rust-key
working-directory: ${{ github.workspace }}
run: python3 -I tools/ci/rust_cache_key.py --variant ubuntu24-x86-oxa-ci oxa
- uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5
- uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5
id: rust-cache
with:
path: |
Expand Down Expand Up @@ -249,6 +276,15 @@ jobs:
--archive-file "$RUNNER_TEMP/oxa-tests.tar.zst"
cargo nextest list --archive-file "$RUNNER_TEMP/oxa-tests.tar.zst" \
--message-format json > "$RUNNER_TEMP/oxa-test-list.json"
- uses: actions/cache/save@caa296126883cff596d87d8935842f9db880ef25 # v5
# Only main seeds caches: queue and PR refs cannot share theirs (see the header).
if: github.ref == 'refs/heads/main' && github.event_name != 'merge_group' && steps.rust-cache.outputs.cache-matched-key != format('{0}main', steps.rust-key.outputs.prefix)
with:
path: |
~/.cargo/registry
~/.cargo/git
oxa/target
key: ${{ steps.rust-key.outputs.prefix }}main
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: oxa-test-archive-x86
Expand All @@ -264,10 +300,10 @@ jobs:
retention-days: 1

oxa-test-shards:
if: inputs.heavy
if: inputs.heavy && inputs.oxa
needs: oxa-test-build
name: oxa tests shard ${{ matrix.shard }} (x86_64)
runs-on: ${{ vars.OXCI == 'on' && (github.event_name != 'pull_request' || (vars.OXCI_PR == 'on' && github.event.pull_request.head.repo.full_name == github.repository)) && 'oxci' || 'ubuntu-24.04' }}
runs-on: ${{ vars.OXCI == 'on' && (github.event_name != 'pull_request' && 'oxci' || (vars.OXCI_PR == 'on' && github.event.pull_request.head.repo.full_name == github.repository) && 'oxci-pr') || 'ubuntu-24.04' }}
timeout-minutes: 20
strategy:
fail-fast: false
Expand Down Expand Up @@ -322,10 +358,10 @@ jobs:

oxa-tests:
# Preserve the required check name. A missing/failed build or shard cannot turn green.
if: always() && inputs.heavy
if: always() && inputs.heavy && inputs.oxa
needs: [oxa-test-build, oxa-test-shards]
name: oxa tests (bwrap sandbox required)
runs-on: ${{ vars.OXCI == 'on' && (github.event_name != 'pull_request' || (vars.OXCI_PR == 'on' && github.event.pull_request.head.repo.full_name == github.repository)) && 'oxci' || 'ubuntu-24.04' }}
runs-on: ubuntu-24.04-arm
timeout-minutes: 5
steps:
- name: Every archive and partition must pass
Expand All @@ -350,7 +386,7 @@ jobs:
"$RUNNER_TEMP/oxa-reports/junit-1.xml" "$RUNNER_TEMP/oxa-reports/junit-2.xml"

oxa:
if: inputs.build_oxa
if: inputs.build_oxa && inputs.oxa
# oxa (the coding agent) is its own cargo workspace at oxa/. No model, no engine build: oxa
# talks to the engine over HTTP only. Generic aarch64 code (no target-cpu flag).
name: oxa
Expand All @@ -368,7 +404,7 @@ jobs:
id: rust-key
working-directory: ${{ github.workspace }}
run: python3 -I tools/ci/rust_cache_key.py --variant fedora44-oxa-release oxa
- uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5
- uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5
id: rust-cache
with:
path: |
Expand All @@ -388,6 +424,15 @@ jobs:
- name: Build oxa
working-directory: oxa
run: cargo build --release --locked --bin oxa
- uses: actions/cache/save@caa296126883cff596d87d8935842f9db880ef25 # v5
# Only main seeds caches: queue and PR refs cannot share theirs (see the header).
if: github.ref == 'refs/heads/main' && github.event_name != 'merge_group' && steps.rust-cache.outputs.cache-matched-key != format('{0}main', steps.rust-key.outputs.prefix)
with:
path: |
~/.cargo/registry
~/.cargo/git
oxa/target
key: ${{ steps.rust-key.outputs.prefix }}main
- name: Package
if: inputs.package
working-directory: oxa
Expand Down
Loading