docs(fault_manager): correct the near-miss eviction rationale #1031
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: Pixi (experimental) | |
| # Push-to-main plus a nightly safety net, not per-PR. This workflow is | |
| # continue-on-error (see the job below), so it never gated a PR in the first | |
| # place, and it cost 35.3 min p50 per PR - 30.8 of that a build that could not | |
| # warm its own cache, because cache-write is push-to-main only. Moving it off | |
| # PRs loses no gate; a RoboStack packaging break is now caught on merge, or by | |
| # the nightly at the latest. Same shape opcua-plugin.yml uses for its filtered | |
| # suite: a narrowed trigger with a cron as the backstop. | |
| on: | |
| push: | |
| branches: [main] | |
| schedule: | |
| # Daily at 05:00 UTC. One hour after the OPC-UA nightly so the two do not | |
| # contend for runners. | |
| - cron: '0 5 * * *' | |
| # On demand. The workflow does not run on pull requests, so a branch that | |
| # touches the RoboStack build or the packages it compiles has no other way | |
| # to exercise this suite before it reaches main. | |
| workflow_dispatch: | |
| jobs: | |
| pixi-build: | |
| name: "Pixi (${{ matrix.environment }})" | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| environment: [jazzy, humble] | |
| runs-on: ubuntu-latest | |
| # Experimental - don't block development while RoboStack support matures | |
| continue-on-error: true | |
| # The build step alone is ~32 min of this, and the job has been landing at 37-40 min for | |
| # weeks with about 3 min of run-to-run variance, so 45 left no room for a package growing. | |
| timeout-minutes: 60 | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Pixi | |
| uses: prefix-dev/setup-pixi@v0.9.4 | |
| with: | |
| pixi-version: v0.65.0 | |
| environments: ${{ matrix.environment }} | |
| cache: true | |
| cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }} | |
| - name: Build | |
| run: pixi run -e ${{ matrix.environment }} build | |
| - name: Unit tests | |
| run: pixi run -e ${{ matrix.environment }} test | |
| - name: Smoke test | |
| run: pixi run -e ${{ matrix.environment }} smoke | |
| - name: Test results | |
| if: always() | |
| run: pixi run -e ${{ matrix.environment }} test-results | |
| - name: Upload test results | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-results-pixi-${{ matrix.environment }} | |
| path: | | |
| log/ | |
| build/*/test_results/ |