Skip to content

release(v0.13.2): supply-chain hardening for prebuilt RDS images#826

Merged
vieiralucas merged 1 commit intomainfrom
worktree-release-v0.13.2
Apr 28, 2026
Merged

release(v0.13.2): supply-chain hardening for prebuilt RDS images#826
vieiralucas merged 1 commit intomainfrom
worktree-release-v0.13.2

Conversation

@vieiralucas
Copy link
Copy Markdown
Member

@vieiralucas vieiralucas commented Apr 28, 2026

Summary

  • Workspace + SDK version bump 0.13.1 -> 0.13.2 (Cargo, npm, PyPI, Maven, Go via tag).
  • Validates Trivy + cosign supply-chain pipeline shipped in ci(rds): trivy scanning + cosign signing on prebuilt images #814: gosu rebuilt from source, mysqlsh stripped, apt-get upgrade baked in.
  • Validation workflow_dispatch against main published 8 dev-tagged images (postgres 13/14/15/16, mysql 8.0, mariadb 10.6/10.11/11.4) × linux/amd64 + linux/arm64. Trivy: 0 CRITICAL/HIGH on all 8. cosign verify against GitHub OIDC issuer succeeds.
  • Bundles the v0.13.2 train: aws_s3 PG extension, async CreateDBInstance, MySQL/MariaDB Aurora lambda bridge + prebuilt mysql/mariadb images on ghcr.io, mariadb 11.4 wired through engine validator.

Test plan

  • CI green on PR
  • Cubic clean
  • After merge: tag v0.13.2 against the merge commit; release workflow publishes to crates.io / npm / PyPI / Maven / ghcr / GitHub Releases
  • First post-tag RDS support images run on v0.13.2 ref publishes pinned <engine>:<major>-0.13.2 tags + rolling <major> tags + cosign signs each; Trivy gates on CRITICAL/HIGH

Note on current main CI state

  • E2E general-1 red on a pre-existing regression: ecs_task_resolves_secretsmanager_secret returns empty captured logs (not introduced by this bump; passes locally). To be tracked in a follow-up.
  • Conformance went red on a runner disk-full flake on the latest main commit (rerun-able).
  • Release workflow (release.yml) excludes E2E + conformance + tfacc + parity, so the publish path is unaffected.

Summary by cubic

Release v0.13.2 hardens prebuilt Postgres/MySQL/MariaDB RDS images with Trivy scans and cosign signing, and bumps workspace/SDK versions. It also adds faster async DB instance creation and new engine/extension support.

  • New Features

    • Supply-chain hardened prebuilt images: rebuilt gosu, removed mysqlsh, and baked in apt-get upgrade. Trivy finds 0 CRITICAL/HIGH; cosign verify passes. Validated on Postgres 13–16, MySQL 8.0, and MariaDB 10.6/10.11/11.4 for linux/amd64 and linux/arm64.
    • CreateDBInstance is now async for faster returns.
    • Added Postgres aws_s3 extension; added MySQL/MariaDB Aurora lambda bridge; wired in MariaDB 11.4.
  • Dependencies

    • Bumped all workspace and SDK versions to 0.13.2 (Cargo, npm, PyPI, Maven).
    • Updated GitHub trivy-action to v0.36.0.

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

Workspace + SDK version bump 0.13.1 -> 0.13.2 (Cargo, npm, PyPI, Maven,
Go via tag).

This is a follow-up release on the v0.13.x train shipping Trivy
scanning + cosign keyless signing on prebuilt fakecloud-postgres /
fakecloud-mysql / fakecloud-mariadb images, plus the Dockerfile
hardening that was needed to make the scan policy (CRITICAL/HIGH,
hard-fail) actually pass on a real publish:

- Rebuild `gosu` from source with current Go (golang:1.25-bookworm
  builder stage). Eliminates 8 HIGH + 1 CRITICAL Go-stdlib CVEs that
  Trivy flagged on the upstream postgres/mysql/mariadb base images'
  bundled `/usr/local/bin/gosu` (statically linked against go1.24.6).
- Strip `mysql-shell` + `/usr/lib/mysqlsh` from the mysql:8.0 image —
  its vendored Python ships pyOpenSSL 25.3.0 (CVE-2026-27459). The
  runtime drives the server over the wire from `mysql_async`, mysqlsh
  is never invoked.
- `apt-get upgrade -y` during image build. Pulls patched debian
  packages (openssl, glibc, dirmngr, ...) when the upstream
  `<engine>:<major>` tag lags the security DB by a refresh cycle.
- Bump trivy-action to v0.36.0 — older v0.30.0 referenced
  `setup-trivy@v0.2.2` which upstream deleted.

Validation: workflow_dispatch run on main published 8 dev-tagged
images (postgres 13/14/15/16, mysql 8.0, mariadb 10.6/10.11/11.4)
across linux/amd64 + linux/arm64. Trivy scan exits 0 on all. Cosign
verify against the GitHub OIDC issuer succeeds (workflow `RDS support
images`, repo `faiscadev/fakecloud`).

Other changes that piggyback on the bump:
- `aws_s3` postgres extension (`table_import_from_s3` /
  `query_export_to_s3` + `aws_commons.create_s3_uri`) — Aurora-PG
  parity, mirrors the `aws_lambda` extension shipped in v0.13.1.
- Async `CreateDBInstance` — returns `creating` in <1s, container
  start runs as a tokio task. Drops the 180s SDK e2e timeout.
- MySQL/MariaDB Aurora `mysql.lambda_async`/`mysql.lambda_sync`
  bridge (libcurl-backed UDF + bootstrap procedures), prebuilt images
  on ghcr.io for mysql 8.0 + mariadb 10.6/10.11/11.4.
- mariadb 11.4 wired through the engine validator + parameter group
  routing.
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 6 files

@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!

@vieiralucas vieiralucas merged commit 6d23edc into main Apr 28, 2026
85 of 90 checks passed
@vieiralucas vieiralucas deleted the worktree-release-v0.13.2 branch April 28, 2026 20:14
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