From ce245d663c75ec752462d96e84b62c30d9ed6b6e Mon Sep 17 00:00:00 2001 From: Gowtham Rao MD PhD Date: Fri, 15 May 2026 23:44:33 -0400 Subject: [PATCH 1/3] chore(ci): fix docker build versioning and install temporal cli --- .dockerignore | 1 - .github/workflows/ci.yml | 5 +++++ .github/workflows/publish.yml | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 8f630506..5f571455 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,3 @@ -.git .venv .uv_cache .ruff_cache diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 835cba95..49a98676 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,6 +48,11 @@ jobs: with: enable-cache: true cache-dependency-glob: "uv.lock" + - name: Install Temporal CLI + run: | + curl -sSf https://temporal.download/cli.sh | sh + echo "$HOME/.temporalio/bin" >> $GITHUB_PATH + shell: bash - name: Install dependencies run: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cde51b49..9b79783a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -122,6 +122,9 @@ jobs: sudo rm -rf "$AGENT_TOOLSDIRECTORY" - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + fetch-depth: 0 + fetch-tags: true - name: Set up QEMU uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0 From 7e48c3b90dafa51e3c20ab6230d197b88141401c Mon Sep 17 00:00:00 2001 From: Gowtham Rao MD PhD Date: Sat, 16 May 2026 00:00:00 -0400 Subject: [PATCH 2/3] fix(ci): improve Dockerfile resilience with build-essential and optional .git copy --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 89cea237..c83c7eb8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,8 +6,10 @@ COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ # Install build dependencies # hadolint ignore=DL3008 -RUN apt-get update && apt-get install -y --no-install-recommends git && \ - rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y --no-install-recommends \ + git \ + build-essential \ + && rm -rf /var/lib/apt/lists/* WORKDIR /app @@ -18,7 +20,8 @@ ENV UV_CACHE_DIR=/root/.cache/uv COPY pyproject.toml uv.lock ./ COPY shims/ ./shims/ # .dockerignore handles excluding .git if it exists, but we copy it if needed for hatch-vcs -COPY .git/ ./.git/ +# Use a wildcard to make the copy optional if .git doesn't exist in some contexts +COPY .gi[t] ./.git/ # Install dependencies into a local .venv # Use --extra to conditionally install heavy ML dependencies (inference group) From bc3e53693a501c23d0a450b05185ffaf3cac9ca8 Mon Sep 17 00:00:00 2001 From: Gowtham Rao MD PhD Date: Sat, 16 May 2026 06:52:07 -0400 Subject: [PATCH 3/3] fix(ci): remediate PyPI metadata for PyPI compliance --- pyproject.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9d1e9eca..29be8f92 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "coreason_runtime" dynamic = ["version"] description = "The official zero-trust, high-throughput kinetic execution engine for the coreason-manifest ontology." readme = "README.md" -requires-python = "==3.14.*" +requires-python = ">=3.14" authors = [{ name = "Gowtham A Rao", email = "gowtham.rao@coreason.ai" }] dependencies = [ "aiohttp>=3.13.4", @@ -139,9 +139,9 @@ required-environments = [ coreason = "coreason_runtime.cli:app" [project.urls] -Homepage = "https://github.com/CoReason-AI/coreason_runtime" -Repository = "https://github.com/CoReason-AI/coreason_runtime" -Documentation = "https://github.com/CoReason-AI/coreason_runtime" +Homepage = "https://github.com/CoReason-AI/coreason-runtime" +Repository = "https://github.com/CoReason-AI/coreason-runtime" +Documentation = "https://github.com/CoReason-AI/coreason-runtime" [tool.ruff] line-length = 120