feat(learning): condition rag context with graph answer plans #383
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: Migration Gates | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| jobs: | |
| migration-gates: | |
| name: ${{ matrix.suite }} | |
| runs-on: windows-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - suite: desktop-migration-suite | |
| command: npm run test:migration | |
| - suite: foundation-rollout-boundary-suite | |
| command: npm run test:foundation:rollout-boundary | |
| - suite: wasm-parity-strict-suite | |
| command: npm run test:wasm:parity:gates | |
| - suite: tauri-rust-suite | |
| command: npm run test:tauri | |
| - suite: mobile-pipeline-contract-suite | |
| command: npm run test:mobile:contracts | |
| - suite: pathbridge-strict-schema-suite | |
| command: npm run verify:pathbridge:strict | |
| - suite: sbom-policy-contract-suite | |
| command: npm run verify:sbom -- --contract-only | |
| - suite: sbom-attestation-policy-contract-suite | |
| command: npm run verify:sbom:attestation -- --contract-only | |
| - suite: sidecar-signature-policy-contract-suite | |
| command: npm run verify:sidecar:signatures -- --contract-only | |
| - suite: license-policy-contract-suite | |
| command: npm run test:license:contract | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| lfs: false | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "24" | |
| cache: "npm" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Setup Java 21 | |
| if: matrix.suite == 'tauri-rust-suite' | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: '21' | |
| - name: Setup Rust toolchain | |
| if: matrix.suite == 'tauri-rust-suite' | |
| shell: pwsh | |
| run: | | |
| if (-not (Get-Command rustup -ErrorAction SilentlyContinue)) { | |
| Write-Host "rustup not found on runner, bootstrapping rustup-init..." | |
| Invoke-WebRequest -Uri "https://win.rustup.rs/x86_64" -OutFile "rustup-init.exe" | |
| .\rustup-init.exe -y --profile minimal --default-toolchain stable | |
| "$env:USERPROFILE\.cargo\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | |
| $env:Path += ";$env:USERPROFILE\.cargo\bin" | |
| } | |
| rustup set profile minimal | |
| rustup toolchain install stable --profile minimal --no-self-update | |
| rustup default stable | |
| rustc --version | |
| cargo --version | |
| - name: Run gate | |
| run: ${{ matrix.command }} | |
| route-registry-contract-gates: | |
| name: route-registry-contract-gates | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| lfs: false | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "24" | |
| cache: "npm" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run route registry contract tests | |
| run: npx jest src/routes/registry.contract.test.ts --no-coverage --runInBand | |
| agent-workspace-contract-gates: | |
| name: agent-workspace-contract-gates | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| lfs: false | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "24" | |
| cache: "npm" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run agent-workspace contract suites | |
| run: | | |
| npm run test:agent-workspace:contracts | |
| npm run test:conversation-turn-cache:durability |