limbo/simulator-docker-runner
Jussi Saurio d682f85584 sim/aws: comment on existing issues instead of skipping duplicates
Currently the simulator running on AWS will skip posting issues that
are too similar to existing ones, to avoid spamming the issue tracker.
However, this loses some information about how frequent a given failure
is, so a better solution is to comment on the existing issue whenever
a similar failure occurs.

Changes:

- Track issue numbers alongside titles in openIssues
- Add commentOnIssue() to post comments on duplicate issues
- Extract shared createFaultDetails() from issue/comment body creation

Whole PR written using Opus 4.5
2025-12-09 10:14:01 +02:00
..
bun.lock Add simulator-docker-runner for running limbo-sim in a loop on AWS 2025-06-02 15:51:29 +03:00
docker-entrypoint.simulator.ts sim/aws: memory IO 100% of the time, differential 50% of the time 2025-11-24 21:56:16 +02:00
Dockerfile.simulator Add sdk-kit-macros to Antithesis and simulator Dockerfiles 2025-12-03 10:46:49 +02:00
github.ts sim/aws: comment on existing issues instead of skipping duplicates 2025-12-09 10:14:01 +02:00
levenshtein.test.ts Add simulator-docker-runner for running limbo-sim in a loop on AWS 2025-06-02 15:51:29 +03:00
levenshtein.ts Add simulator-docker-runner for running limbo-sim in a loop on AWS 2025-06-02 15:51:29 +03:00
logParse.ts sim/aws: fix vibecoding errors in logic 2025-06-11 08:40:04 +03:00
package.json Add simulator-docker-runner for running limbo-sim in a loop on AWS 2025-06-02 15:51:29 +03:00
random.ts Add simulator-docker-runner for running limbo-sim in a loop on AWS 2025-06-02 15:51:29 +03:00
README.MD Fix URLs to point to github.com/tursodatabase/turso 2025-06-30 11:23:53 +03:00
slack.ts sim/aws: ignore child process exits with code 137 2025-07-24 14:57:52 +03:00
tsconfig.json Add simulator-docker-runner for running limbo-sim in a loop on AWS 2025-06-02 15:51:29 +03:00

Limbo Simulator Docker Runner

This directory contains the script that runs inside the limbo-sim Docker image. The script continuously runs the limbo-sim program in a loop until it encounters a panic, at which point it automatically creates a GitHub issue in the limbo repository.

What it does

  1. The limbo-sim image is built and pushed to ECR by .github/workflows/build-sim.yaml on every main commit
  2. When the container starts, this script:
    • Runs the limbo-sim program with a random seed
    • If a panic occurs:
      • Captures the seed value and commit hash
      • Creates a GitHub issue with reproduction steps
      • Includes panic output and relevant metadata
    • Continues running with a new seed until a panic occurs or TIME_LIMIT_MINUTES is reached

The script acts as the entrypoint for the Docker container, automatically starting the simulation loop when the container launches.

How do I see the open issues created by the simulator?

GitHub issues