Fix Tinybird benchmark runner auth#952
Open
fallintoplace wants to merge 2 commits into
Open
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)
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.
What changed
TINYBIRD_TOKENenvironment variable.Authorization: Bearer ...and madecurlfail on HTTP errors.statistics.elapsedvalues.Why
AUTH_HEADER=<TOKEN>is parsed by the shell as redirection syntax, sotinybird/run.shfails before it can run any benchmark query.Validation
bash -n tinybird/run.shenv -u TINYBIRD_TOKEN ./tinybird/run.shstatistics.elapsedresponse and confirmed the runner exits non-zero