Fix and document the Tinybird benchmark runner - #952
Closed
fallintoplace wants to merge 4 commits into
Closed
Conversation
rschu1ze
requested changes
Jun 30, 2026
| # Querying the data | ||
|
|
||
| Once the data is inserted you can create the endpoints needed to run the benchmark using pipes. `run.sh` will iterate through each endpoint. | ||
| Set `TINYBIRD_TOKEN` to a Tinybird token with read access before running the script. |
Member
There was a problem hiding this comment.
I created a Tinybird account but the UI is rather complex and this README covers it only rudimentary.
@fallintoplace Since you seem familiar with Tinybird, maybe I could ask you to add
- the steps to install the Tinybird CLI in section "Creating an account" above,
- the steps to create and retrieve a "Tinybird Token" (l. 35),
- the steps to run the INSERT (l. 24),
- the exact invocation of
run.sh(the PR message has an example)
fallintoplace
force-pushed
the
fix-tinybird-runner-auth
branch
from
July 30, 2026 17:35
60ec13d to
56fae7b
Compare
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.
Summary
TINYBIRD_TOKENandTINYBIRD_HOSTenvironment variablestb auth -i, preserve runner failures when logging withtee, and ignore local credentials and virtual environmentsWhy
AUTH_HEADER=<TOKEN>is parsed as shell redirection, so the runner exits before sending any benchmark requests. The previous instructions also did not cover the setup needed to create the 43 pipe endpoints and run the benchmark.Validation
bash -n tinybird/run.shgit diff --check