fix(quickstart): add -p flag to avoid error from missing PostgreSQL#1006
Open
brunoguerios wants to merge 3 commits into
Open
fix(quickstart): add -p flag to avoid error from missing PostgreSQL#1006brunoguerios wants to merge 3 commits into
brunoguerios wants to merge 3 commits into
Conversation
zizou0x
approved these changes
May 12, 2026
zizou0x
left a comment
Collaborator
There was a problem hiding this comment.
Nice catch! LGTM, thanks!
Contributor
Author
|
Hey @zizou0x - thanks for reviewing it! |
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
cargo run --release --example quickstartfrom the workspace root fails withld: library 'pq' not foundon machines without PostgreSQL installedpq-sys→diesel→tycho-storage/tycho-indexerinto the link step even though the quickstart has no database dependency-p tycho-simulationto all documented commands so the build is scoped to that crate's dependency tree, which does not includepq-sysAlternative considered
brew install postgresql/apt install postgresqlas a prerequisite. Rejected because the quickstart targets simulation consumers (solver/routing developers) who will never run the indexer and have no reason to install a PostgreSQL client. The-pflag is also the semantically correct Cargo idiom for building a single workspace member.Also includes
TYCHO_API_KEYto all code blocks — it was previously undocumented, causing a confusingInvalid authenticationkey error on first run