Repository navigation
Still trying to fix Turso - it's unbelievably slow - #3600
Merged
Merged
Conversation
`run-benchmark.sh` takes the time limit from `<system>/timeout-seconds`
when `timeout` is empty, but the launch action always called it with
`timeout="${timeout:-36000}"`, so for every workflow launch the variable
was already set and the file was never read. The Turso run of
#1009 on 2026-11-25 was
therefore killed by `timeout 36000` after 32 of 43 queries, although
`turso/timeout-seconds` says 72000.
Pass the empty `timeout` through; `run-benchmark.sh` already falls back
to 36000 if the system has no such file. An explicit `timeout` input
still wins.
Dry run of the action's shell step with a stubbed `aws`, time limit in
the rendered `cloud-init.sh`:
before: turso, no timeout input -> timeout 36000 ./benchmark.sh
after: turso, no timeout input -> timeout 72000 ./benchmark.sh
after: clickhouse, no timeout input -> timeout 36000 ./benchmark.sh
after: turso, timeout input 86400 -> timeout 86400 ./benchmark.sh
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
timeout-seconds file
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
run-benchmark.shtakes the time limit from<system>/timeout-secondswhentimeoutis empty (added in #1159 for Turso), but the launch action always called it withtimeout="${timeout:-36000}". For every workflow launch the variable was therefore already set, and the file was never read.That is why the Turso run of #1009 on 2026-11-25 was killed by
timeout 36000after 32 of 43 queries, althoughturso/timeout-secondssays 72000 (cloud-init log, benchmark log).The action now passes the empty
timeoutthrough.run-benchmark.shalready falls back to 36000 if the system has no such file, and an explicittimeoutinput still wins. The JSONBench launcher is not affected.Dry run of the action's shell step with a stubbed
aws, the time limit in the renderedcloud-init.sh:timeoutinputtursotimeout 36000 ./benchmark.shtursotimeout 72000 ./benchmark.shclickhousetimeout 36000 ./benchmark.shtursotimeout 86400 ./benchmark.shclickhousetimeout 7200 ./benchmark.shRelated: #1159
Related: #1009
🤖 Generated with Claude Code