Run chaos tests workflow (odigos-io/odigos)
The Run chaos tests workflow from odigos-io/odigos, explained and optimized by Latchkey.
A
CI health: A - excellent
Run this on Latchkey for self-healing, caching, and up to 58% lower cost.
Grade your own workflow free or run it on Latchkey →What it does
This is the Run chaos tests workflow from the odigos-io/odigos repository, a real project running GitHub Actions. It is shown here with attribution under its Apache-2.0 license.
Below, Latchkey shows a faster, safer version produced by its optimization engine.
The workflow
workflow (.yml)
# This pipeline was created in order to allow manual triggering of the job (Build images + run)
name: Run chaos tests
on:
workflow_dispatch: # Manual trigger
permissions:
id-token: write
contents: read
jobs:
build-images:
uses: ./.github/workflows/build-dev-images.yml
chaos-tests:
needs: build-images
runs-on: depot-ubuntu-24.04-8
steps:
- name: Run chaos-tests
uses: ./.github/actions/chaos-tests
env:
GITHUB_SHA: ${{ github.sha }}The same workflow, on Latchkey
Removes redundant runs and caps runaway jobs. Added and changed lines are highlighted.
# This pipeline was created in order to allow manual triggering of the job (Build images + run) name: Run chaos tests on: workflow_dispatch: # Manual trigger permissions: id-token: write contents: read jobs: build-images: timeout-minutes: 30 uses: ./.github/workflows/build-dev-images.yml chaos-tests: timeout-minutes: 30 needs: build-images runs-on: depot-ubuntu-24.04-8 steps: - name: Run chaos-tests uses: ./.github/actions/chaos-tests env: GITHUB_SHA: ${{ github.sha }}
What changed
- Add a job timeout so a hung step cannot burn hours of runner time.
This workflow runs 2 jobs per trigger. On Latchkey the same minutes cost up to 58% less than GitHub-hosted, with zero queue time.