Skip to content

test(rds): force postgres image rebuild for aws_s3 e2e#807

Merged
vieiralucas merged 1 commit intomainfrom
worktree-rds-aws-s3-test-rebuild-fix
Apr 28, 2026
Merged

test(rds): force postgres image rebuild for aws_s3 e2e#807
vieiralucas merged 1 commit intomainfrom
worktree-rds-aws-s3-test-rebuild-fix

Conversation

@vieiralucas
Copy link
Copy Markdown
Member

@vieiralucas vieiralucas commented Apr 28, 2026

Summary

PR #806 merged the aws_s3 extension but the e2e test fails on CI because the runtime's pull-first path returns fakecloud-postgres:16-0.13.1 (last published image) which lacks the new aws_s3 extension files.

Set FAKECLOUD_REBUILD_POSTGRES_IMAGE=1 for the new test so it always builds locally from the embedded assets at HEAD. Goes away naturally once v0.13.2 publishes the image with aws_s3 baked in.

Test plan

  • cargo check -p fakecloud-e2e --tests
  • cargo test -p fakecloud-e2e --test rds_aws_s3 (Docker required — runs in CI)

Summary by cubic

Force a local rebuild of the Postgres image in the rds_aws_s3 e2e test so the aws_s3 extension is available and the test passes in CI. Sets FAKECLOUD_REBUILD_POSTGRES_IMAGE=1 to bypass the pull-first path that currently returns fakecloud-postgres:16-0.13.1; this can be removed once v0.13.2 publishes the updated image.

Written for commit b1a4f1a. Summary will update on new commits. Review in cubic

The published `fakecloud-postgres:16-0.13.1` image lacks the aws_s3
extension files (they ship with the next release), so the runtime's
pull-first path returned an image without the new extension and
`CREATE EXTENSION aws_s3` failed in CI. Set
`FAKECLOUD_REBUILD_POSTGRES_IMAGE=1` for this test so it always builds
locally from the embedded assets in this commit. Goes away naturally
once v0.13.2 publishes the image with aws_s3 baked in.
@vieiralucas vieiralucas merged commit 1b4a3b7 into main Apr 28, 2026
22 checks passed
@vieiralucas vieiralucas deleted the worktree-rds-aws-s3-test-rebuild-fix branch April 28, 2026 01:15
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant