Commit graph

29 commits

Author SHA1 Message Date
Jussi Saurio
83a278c371 aws/sim: disable io-uring
ECS fargate uses seccomp to block io_uring so we can't use it with
our current simulation infra, which means whenever the sim tries to
start an io_uring backed test run it fails with PermissionDenied.

We can move to EC2-backed ECS later to resolve this.
2025-12-19 11:52:59 +02:00
Jussi Saurio
4318e0b7d4 sim/aws: increase single run timeout to 20 minutes
some write heavy profiles may take long so let's not necessarily
fail them if they do
2025-12-18 09:54:56 +02:00
Jussi Saurio
36dae9ddd1 sim/aws: don't loop - reproductions are easier typically this way 2025-12-18 09:54:49 +02:00
Jussi Saurio
ad06fa8ee4 sim/aws: select random sim profile 50% of the time 2025-12-18 09:54:18 +02:00
Jussi Saurio
22b77aa381 sim/aws: select random io backend 2025-12-18 09:53:54 +02:00
Jussi Saurio
6f43fdcbff sim/aws: add bun and node TS types to suppress red squigglies 2025-12-18 09:53:29 +02:00
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
Pekka Enberg
aa0be12932 Add sdk-kit-macros to Antithesis and simulator Dockerfiles 2025-12-03 10:46:49 +02:00
Pekka Enberg
7ac25f55bf Add sdk-kit to Antithesis and simulator Dockerfiles 2025-12-03 10:04:38 +02:00
Jussi Saurio
bf97fe5296 sim/aws: memory IO 100% of the time, differential 50% of the time
- memory IO is faster and is async IO as well, which we aren't testing atm really
- differential testing might also uncover bugs
2025-11-24 21:56:16 +02:00
PThorpe92
76b25a3beb
Remove references to vendored parser in Cargo.toml and dockerfiles 2025-09-29 09:46:29 -04:00
Pekka Enberg
751261566e Fix Antithesis and simulator Dockerfiles 2025-09-22 10:02:01 +03:00
Pekka Enberg
709b6d9579 Fix simulator and Antithesis Dockerfiles 2025-09-16 17:09:49 +03:00
Pekka Enberg
246799c603 Fix simulator and Antithesis Docker images 2025-09-15 08:16:38 +03:00
PThorpe92
02743253ee
Fix simulator docker build chef by adding whopper directory 2025-09-12 13:35:02 -04:00
Jussi Saurio
f5a15bfb3d run 50% of AWS sims with faultless profile 2025-09-10 00:38:37 +03:00
PThorpe92
be2807b61f
Upgrade rust version in simulator build dockerfile 2025-09-01 14:56:05 -04:00
pedrocarlo
aa025c9798 fix missing functions after revert 2025-08-26 10:13:45 -03:00
PThorpe92
ef389db64b
Fix simulator docker build by adding new sync directory 2025-08-18 15:32:22 -04:00
Jussi Saurio
e4fb02b6e6 Add parser to Dockerfiles for cargo chef 2025-08-15 23:53:02 +03:00
Jussi Saurio
f934bdb39e fix: add packages to sim/antithesis dockerfiles for cargo-chef 2025-07-30 18:57:21 +03:00
Jussi Saurio
60f64aed77 sim/aws: ignore child process exits with code 137
i suspect the child process is being killed due to memory consumption
or something, but hard to be sure. either way, let's not stop the sim-loop
parent process when this happens.
2025-07-24 14:57:52 +03:00
Jussi Saurio
85ef8dd2e6 sim: post summary to slack 2025-07-09 13:30:42 +03:00
Pekka Enberg
9c1b7897ac Fix URLs to point to github.com/tursodatabase/turso 2025-06-30 11:23:53 +03:00
Piotr Rzysko
0f3efe2fbb Copy sqlite_test_ext to Dockerfile.simulator 2025-06-21 19:51:11 +02:00
Jussi Saurio
f276ff0b72 sim/aws: fix vibecoding errors in logic
- Entire stdout+stderr was passed to both title and body for the github
  issue, resulting in a failure due to github's validation

Fixes:

- Pass only the line containing "simulation failed:" as title
- Pass max 50 lines following title as body
- Truncate title and body to 255 and 65536 chars respectively
  before posting github issue, just to be sure
2025-06-11 08:40:04 +03:00
Jussi Saurio
4fc04c8db3 sim/aws: fix sim timeout handling
code was trying to consume the same readablestream twice: once in
the timeouter's catch block, and a second time in the body of the
try block before postGithubIssue() could run.
2025-06-04 09:08:59 +03:00
Jussi Saurio
3caf10d42f Set maximum open simulator-created issues 2025-06-03 15:39:00 +03:00
Jussi Saurio
d06bb70514 Add simulator-docker-runner for running limbo-sim in a loop on AWS 2025-06-02 15:51:29 +03:00