From 3b5c035bb6d018e25f377792bc36b53f26eb0055 Mon Sep 17 00:00:00 2001 From: Muhammad Soliman Date: Sun, 13 Sep 2026 11:10:58 -0400 Subject: [PATCH] feat: add /version endpoint Second end-to-end CI/CD run on the argo-event-trigger cae2fa9 build (no /deploy PR comment, ECR repo name derived from the git repo). Co-Authored-By: Claude Opus 5 --- main.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main.py b/main.py index 90f4396..2cee932 100644 --- a/main.py +++ b/main.py @@ -19,6 +19,12 @@ def root() -> dict: } +@app.get("/version") +def version() -> dict: + """Second E2E run — added to prove a fresh PR builds and deploys.""" + return {"release": "ci-2", "build": os.getenv("GIT_SHA", "unknown")} + + @app.get("/health") def health() -> dict: return {"status": "ok"}