feat(agent): opencode v2 local compression kernel — no proxy, mode parity with bili pi #198
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: e2e-fake-codex | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: e2e-fake-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| e2e-fake: | |
| name: real codex vs deterministic fake upstream (zero tokens) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - name: Install codex CLI | |
| run: npm i -g @openai/codex@latest | |
| - name: Install deps | |
| run: npm ci | |
| - name: Build | |
| run: npm run build | |
| - name: Run deterministic real-codex compression E2E | |
| run: ACP_TEST_E2E_FAKE=1 node --import tsx --test tests/e2e/e2e-codex-fake.test.ts | |
| - name: Collect E2E artifacts | |
| if: failure() | |
| run: | | |
| mkdir -p tmp/e2e-artifacts | |
| for d in tmp/e2e-codex-fake-*; do [ -d "$d" ] && cp -r "$d" tmp/e2e-artifacts/ || true; done | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: e2e-fake-artifacts | |
| path: tmp/e2e-artifacts | |
| if-no-files-found: ignore |