graphiti/.github/workflows
Daniel Chalef 56694a6dea
Add automated FastAPI server container release workflow (#1031)
* conductor-checkpoint-start

* conductor-checkpoint-msg_01VhH9TifDw4FVprrPE6tss4

* conductor-checkpoint-msg_018cUkkzZNp3RFrut99UPoAJ

* conductor-checkpoint-msg_01S8GCTw5bowCWq4G2jATJ5s

* conductor-checkpoint-msg_01NoAtvCjfekKvenbTgGZtzt

* Fix critical issues in server container release workflow

Address all issues identified by code review:

1. **Dockerfile now installs from PyPI** - Changed from building local source to installing graphiti-core from PyPI, ensuring container matches published package
2. **Fixed version extraction** - Handle workflow_run context where tags aren't available, with pyproject.toml fallback
3. **Added BUILD_DATE and VCS_REF** - Pass all required build arguments to populate OCI labels
4. **Improved pre-release detection** - Enhanced regex to catch all Python patterns (a1, b2, dev0, etc.)
5. **Fixed checkout configuration** - Added fetch-depth: 0 and proper ref for workflow_run trigger

The container now truly uses the PyPI package, making the PyPI availability check meaningful.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* conductor-checkpoint-msg_01AuTTSKLm6XPqV4C5C2GL28

* Fix dependency installation order and optimize FalkorDB install

Address additional review concerns:

1. **Fix dependency installation order** - Install server deps first with uv sync, then upgrade graphiti-core to desired PyPI version using --upgrade flag. This prevents stale uv.lock (pinned to 0.13.2) from downgrading our target version.

2. **Optimize FalkorDB installation** - Combine graphiti-core installation with FalkorDB extra in single command, avoiding redundant package reinstall.

3. **Add --upgrade flag** - Ensures the specific PyPI version takes precedence over lockfile version.

The installation sequence is now:
- uv sync (server deps + graphiti-core 0.13.2 from lock)
- uv pip install --upgrade graphiti-core==TARGET_VERSION (upgrades to desired version)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-29 19:24:12 -07:00
..
ai-moderator.yml feat: Add GitHub AI Moderator for automated spam detection (#856) 2025-08-25 07:25:07 -07:00
cla.yml Update cla.yml (#884) 2025-08-30 08:23:53 -07:00
claude-code-review-manual.yml Secure Claude PR reviews with two-workflow approach (#999) 2025-10-12 09:41:13 -07:00
claude-code-review.yml Secure Claude PR reviews with two-workflow approach (#999) 2025-10-12 09:41:13 -07:00
claude.yml Update claude.yml (#877) 2025-08-28 20:58:00 -07:00
codeql.yml Create codeql.yml (#580) 2025-06-12 19:04:34 -07:00
daily_issue_maintenance.yml Refactor issue workflows for improved automation (#964) 2025-10-02 11:37:19 -07:00
issue-triage.yml Update issue triage workflow to allow non-write users for duplicate checks (#974) 2025-10-03 09:20:28 -07:00
lint.yml depot + cleanup (#22) 2024-08-22 15:16:15 -07:00
release-graphiti-core.yml Update release-graphiti-core.yml to python 3.11 (#639) 2025-06-27 14:27:21 -07:00
release-mcp-server.yml Add MCP server release workflow (#1025) 2025-10-27 12:06:38 -07:00
release-server-container.yml Add automated FastAPI server container release workflow (#1031) 2025-10-29 19:24:12 -07:00
typecheck.yml Potential fix for code scanning alert no. 18: Workflow does not contain permissions (#648) 2025-06-30 13:01:42 -07:00
unit_tests.yml Remove integration markers from database tests (#1000) 2025-10-12 10:16:34 -07:00