Repository navigation
fix(test): pin graph-node and init postgres with a C locale - #266
Merged
Merged
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
The change is minimal, correct, and directly addresses test-stack image drift without introducing behavioral risk elsewhere.
Pull request overview
Pins the graph-node Docker image used by the test compose stack to prevent CI/local tests from breaking due to upstream latest drift, aligning the test stack with the already-pinned versions used elsewhere in the repo.
Changes:
- Pin
graphprotocol/graph-nodetov0.35.1indocker-compose.test.ymlto avoid pulling a newerlatestthat fails on empty DB startup.
File summaries
| File | Description |
|---|---|
| docker-compose.test.yml | Pins graph-node image tag to stabilize the test docker-compose stack. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
🚀 Subgraph Studio preview deployed
curl -H 'Content-Type: application/json' \
-d '{"query":"{ protocol(id: \"0\") { inflation } }"}' \
https://api.studio.thegraph.com/query/31909/livepeer-ci/pr-266-e42c5f0-34218346793 |
There was a problem hiding this comment.
🟢 Approval recommended
The changes are minimal, consistent with docker-compose.yml, and directly address the described test stack failures without introducing additional complexity.
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0 new
- Review effort level: Lite
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.
Two fixes that make
yarn testrunnable again, both indocker-compose.test.yml:graphprotocol/graph-nodewas pulled with no tag and now resolves to v0.45.0, which panics on an empty database during startup. Pinned to v0.35.1, the versiondocker-compose.ymlalready uses with the same go-ipfs and postgres images. All images in the test stack are now pinned.en_US.utf8collation, and graph-node refuses to start on anything butC. Added the samePOSTGRES_INITDB_ARGSthe dev compose uses.Same class of fix as #265. Anyone with an existing
data/postgresneeds to remove it once so initdb reruns with the new locale.