Repository navigation
fix(test): pin postgres to 16 so the compose stack survives image drift - #265
Merged
Merged
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
The change is minimal and aligns the test compose stack with the already-pinned Postgres major used elsewhere, reducing CI/local test flakiness from image drift.
Pull request overview
Pins the Postgres Docker image used by the test docker-compose stack to a fixed major version to prevent yarn test from failing due to upstream postgres tag drift (e.g., postgres now resolving to 18 and refusing to start on older data dirs).
Changes:
- Update
docker-compose.test.ymlto usepostgres:16instead of the floatingpostgrestag.
File summaries
| File | Description |
|---|---|
| docker-compose.test.yml | Pin Postgres image to v16 for stable test environment startup. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| - ./data/ipfs:/data/ipfs | ||
| postgres: | ||
| image: postgres | ||
| image: postgres:16 |
|
🚀 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-265-c8f0fda-34217089405 |
This was referenced Sep 8, 2026
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.
The test compose file used the floating
postgrestag, which now resolves to 18. That image refuses to start on a data directory written by an older major, soyarn testaborts before the tests run and the test container fails withENOTFOUND geth. Pins the image topostgres:16, matchingdocker-compose.ymlanddocker-compose.arbitrum.yml.Anyone with a stale
data/postgresfrom a different major still needs to remove it once.