From eb1a4567f4854f573fdb0e95156f871696ba8b19 Mon Sep 17 00:00:00 2001 From: Guillaume Simonneau Date: Mon, 14 Sep 2026 21:24:25 +0200 Subject: [PATCH] connectivity --- CHANGELOG.md | 7 +++++++ action.yml | 2 +- pyproject.toml | 2 +- src/codespy/__init__.py | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 226f988..a202b43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ ## [Unreleased] +## [1.2.1] - 2026-09-14 + +### Fixed +- GitHub Action: Added `--network host` to Docker run arguments to fix connectivity to external PostgreSQL (AWS RDS) hosts + - Resolves `PoolTimeout` errors when connecting to RDS from GitHub Actions runners + - The Docker container now shares the host's network stack, avoiding bridge network NAT/DNS issues + ## [1.2.0] - 2026-09-11 ### Changed diff --git a/action.yml b/action.yml index 1d684a8..94a608d 100644 --- a/action.yml +++ b/action.yml @@ -574,7 +574,7 @@ runs: set -eo pipefail # Build docker run arguments - add all env vars that are set - DOCKER_ARGS="--rm" + DOCKER_ARGS="--rm --network host" # Core settings DOCKER_ARGS="$DOCKER_ARGS -e GITHUB_TOKEN -e DEFAULT_MODEL -e OUTPUT_FORMAT" diff --git a/pyproject.toml b/pyproject.toml index ed9cc99..a2038a4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "codespy-ai" -version = "1.2.0" +version = "1.2.1" description = "Code review agent powered by DSPy" readme = "README.md" license = "MIT" diff --git a/src/codespy/__init__.py b/src/codespy/__init__.py index 0b230e1..855842b 100644 --- a/src/codespy/__init__.py +++ b/src/codespy/__init__.py @@ -1,3 +1,3 @@ """codespy - Code review agent powered by DSPy.""" -__version__ = "1.2.0" +__version__ = "1.2.1"