Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
49 changes: 0 additions & 49 deletions .github/workflows/agents-executor.yml

This file was deleted.

11 changes: 0 additions & 11 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ jobs:
--health-interval 5s
--health-timeout 5s
--health-retries 10
env:
CARGO_HOME: /home/runner/.oac/cache/executor-cargo
CARGO_TARGET_DIR: /home/runner/.oac/cache/executor-target
CARGO_BUILD_JOBS: 4
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
Expand All @@ -47,13 +43,6 @@ jobs:
npm install --global pnpm@10.30.3
sudo apt-get update
sudo apt-get install -y build-essential pkg-config libssl-dev
rustup toolchain install 1.95.0 --profile minimal --component rustfmt --component clippy
- uses: actions/cache@v6
with:
path: |
~/.oac/cache/executor-cargo
~/.oac/cache/executor-target
key: core-executor-${{ runner.os }}-${{ hashFiles('packages/codex-executor/Cargo.lock') }}
- name: Install Web acceptance browser
run: |
pnpm install --frozen-lockfile
Expand Down
79 changes: 79 additions & 0 deletions .github/workflows/native-daemon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: native-daemon

on:
pull_request:
workflow_dispatch:

permissions:
contents: read

jobs:
native:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-14, windows-2022]
runs-on: ${{ matrix.os }}
timeout-minutes: 30
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version-file: go.mod
- name: Build the native daemon
run: go build -o "$RUNNER_TEMP/oac-daemon${{ runner.os == 'Windows' && '.exe' || '' }}" ./apps/parsar-daemon/cmd/parsar-daemon
- name: Native filesystem, authentication and process lifecycle
run: >-
go test -race -count=1
./internal/runtimefs
./apps/parsar-daemon/internal/auth
./apps/parsar-daemon/internal/paths
./apps/parsar-daemon/internal/daemonize
./apps/parsar-daemon/internal/agent/clirunner
- name: Native Harness ownership and environment identity
run: >-
go test -race -count=1
./apps/parsar-daemon/internal/agent/codex
./apps/parsar-daemon/internal/agent/claudesdk
./apps/parsar-daemon/internal/agent/mcode
-run 'TestJSONRPCClientOwnsToolDescendants|TestSelfHostedToolEnvironment'
- name: Native capability snapshots, files and installation
run: >-
go test -race -count=1
./apps/parsar-daemon/internal/localworkspace
./apps/parsar-daemon/internal/cli
-run 'TestNative|TestRuntimeInit|TestRuntimePreparationRejects|TestPreparationFreezesLocalContentsAcrossReconnect|TestSnapshotMarker'
- uses: actions/setup-node@v6
with:
node-version: '22'
- name: Windows npm and npx stdio launchers without network
if: runner.os == 'Windows'
run: >-
go test -race -count=1 -timeout=2m
./apps/parsar-daemon/internal/localworkspace
./apps/parsar-daemon/internal/cli
-run 'TestWindowsPackageManager|TestWindowsRuntimeMCP'
- name: Install pinned native Harness dependencies
run: |
npm install --global pnpm@10.30.3
pnpm install --frozen-lockfile --filter @parsar/claude-sdk-adapter...
pnpm --filter @parsar/claude-sdk-adapter build
npm install --prefix "$RUNNER_TEMP/native-tools" --no-save @openai/codex@0.153.4
mkdir -p "$RUNNER_TEMP/claude-runtime"
cp packages/claude-sdk-adapter/package.json "$RUNNER_TEMP/claude-runtime/"
cp -R packages/claude-sdk-adapter/dist "$RUNNER_TEMP/claude-runtime/"
npm install --prefix "$RUNNER_TEMP/claude-runtime" --omit=dev --ignore-scripts --package-lock=false
- name: Verify native Harness startup without model requests
run: |
if [[ "$RUNNER_OS" == Windows ]]; then
export CLAUDE_CODE_GIT_BASH_PATH='C:\Program Files\Git\bin\bash.exe'
fi
node scripts/native-harness-smoke.mjs --codex-package "$RUNNER_TEMP/native-tools/node_modules/@openai/codex" --claude-runtime "$RUNNER_TEMP/claude-runtime"
- uses: actions/upload-artifact@v6
with:
name: oac-daemon-${{ runner.os }}-${{ runner.arch }}
path: ${{ runner.temp }}/oac-daemon*
if-no-files-found: error
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,12 @@ jobs:
npm install --global pnpm@10.30.3
sudo apt-get update
sudo apt-get install -y build-essential pkg-config libssl-dev
rustup toolchain install 1.95.0 --profile minimal
- uses: actions/cache@v6
with:
path: |
~/.oac/cache/go-build
~/.oac/cache/go-mod
~/.oac/cache/executor-cargo
~/.oac/cache/executor-target
key: core-release-${{ runner.os }}-${{ hashFiles('go.sum', 'packages/codex-executor/Cargo.lock') }}
key: core-release-${{ runner.os }}-${{ hashFiles('go.sum') }}
- name: Check release metadata and prepare pinned harnesses
run: |
PYTHONDONTWRITEBYTECODE=1 python3 scripts/core-distribution-manifest.test.py
Expand Down
Loading
Loading