graphiti/.github/workflows
Daniel Chalef 9cc04e61c9
Fix MCP server release workflow to build all Dockerfile variants (#1037)
* conductor-checkpoint-start

* conductor-checkpoint-msg_0121yRVkMGS2UzMazKiZkgi4

* conductor-checkpoint-msg_01NvLs9EFt8qNiQqtYY8V9WV

* conductor-checkpoint-msg_013iKczSUmjtzPEdcgciXJUd

* conductor-checkpoint-msg_01BFgirbgmehsEGCMWjgSsnv

* conductor-checkpoint-msg_01TA4DYecHTJ36ndBsU9ooyf

* Fix critical issues in MCP release workflow

Address all critical review comments:

1. Fix malformed Docker tags
   - Change tag suffixes from colons to hyphens
   - standalone: 1.0.0-standalone (not 1.0.0:standalone)
   - combined: 1.0.0 and latest (not :latest)

2. Add checkout ref for manual triggers
   - Use inputs.tag for workflow_dispatch events
   - Ensures manual builds use correct tag ref

3. Add tag input validation
   - Validate tag format (mcp-vX.Y.Z) before processing
   - Provide clear error messages for invalid input

4. Fix release summary overwriting
   - Both matrix jobs now append to summary correctly
   - Each variant creates distinct summary section

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

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

* conductor-checkpoint-msg_01H4GqBSkLiPgUfHGD57nq5V

* conductor-checkpoint-msg_01T2zdZLAZpVSip6EaiYa66k

* Address code review findings - fix critical checkout ref bug

Fix all critical and high-priority issues from code review:

1. Fix checkout ref logic (CRITICAL)
   - Simplified to: ref: ${{ inputs.tag || github.ref }}
   - Works correctly for both workflow_dispatch and push events
   - Removes conditional logic that would fail for manual triggers

2. Consolidate tag validation
   - Remove duplicate validation logic
   - Single validation path for both trigger types
   - Clearer error messages with received value

3. Add PyPI error handling
   - Use curl -sf for proper error codes
   - Validate GRAPHITI_VERSION is not empty
   - Exit with clear error if PyPI fetch fails

4. Improve docker-compose comments
   - Add concrete version tag examples
   - Show users how to pin specific versions
   - Clarify when local build vs registry pull is used

5. Update workflow_dispatch description
   - Clarify tag must already exist in repo
   - Prevent user confusion about tag creation

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

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

* conductor-checkpoint-msg_01KgG6FyiqNNdc51BCehNBjm

* Fix error handling bug in PyPI version fetch

The previous error handling was broken due to set -e causing
immediate exit, making the $? check unreachable.

Changes:
- Use set -eo pipefail for proper pipeline error handling
- Check command success with if ! command; then pattern
- Separate check for empty version string
- Both checks now properly reachable and functional

🤖 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-30 23:47:19 -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 Potential fix for code scanning alert no. 24: Workflow does not contain permissions (#1036) 2025-10-30 19:49:48 -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 Fix MCP server release workflow to build all Dockerfile variants (#1037) 2025-10-30 23:47:19 -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