From bac8cd928d7d82885c6a3535c269b697cd90b444 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 11 Aug 2025 04:21:04 +0000 Subject: [PATCH 1/3] Bump version from 0.1.9 to 0.1.10 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d222d93..8ab4d4a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "robosystems-client" -version = "0.1.9" +version = "0.1.10" description = "Python Client for RoboSystems financial graph database API" readme = "README.md" requires-python = ">=3.10" From 386691f9a8f902776ddf901502136ffe45f5be6c Mon Sep 17 00:00:00 2001 From: Joey French Date: Mon, 11 Aug 2025 12:10:56 -0500 Subject: [PATCH 2/3] Fix formatting inconsistencies in create-pr workflow and script by removing unnecessary blank lines. This improves readability and maintains a cleaner code structure. --- .github/workflows/create-pr.yml | 4 ++-- bin/create-pr | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/create-pr.yml b/.github/workflows/create-pr.yml index 8a6d69e..9efe24d 100644 --- a/.github/workflows/create-pr.yml +++ b/.github/workflows/create-pr.yml @@ -118,7 +118,7 @@ jobs: **Context:** - Repository: Application codebase - Source Branch: $SOURCE_BRANCH - - Target Branch: $TARGET_BRANCH + - Target Branch: $TARGET_BRANCH - PR Type: $PR_TYPE - Files Changed: $FILES_CHANGED - Commits: $COMMITS_COUNT @@ -154,7 +154,7 @@ jobs: **Context:** - Source Branch: $SOURCE_BRANCH - - Target Branch: $TARGET_BRANCH + - Target Branch: $TARGET_BRANCH - PR Type: $PR_TYPE - Files Changed: $FILES_CHANGED - Commits: $COMMITS_COUNT diff --git a/bin/create-pr b/bin/create-pr index a863327..4b23e44 100755 --- a/bin/create-pr +++ b/bin/create-pr @@ -83,7 +83,7 @@ ATTEMPT=1 while [ $ATTEMPT -le $MAX_ATTEMPTS ]; do echo "Attempt $ATTEMPT/$MAX_ATTEMPTS: Checking for created PR..." - + # Check if workflow failed WORKFLOW_STATUS=$(gh run list --workflow=create-pr.yml --limit=1 --json status --jq '.[0].status' 2>/dev/null || echo "") if [ "$WORKFLOW_STATUS" = "failure" ]; then @@ -91,17 +91,17 @@ while [ $ATTEMPT -le $MAX_ATTEMPTS ]; do echo " gh run list --workflow=create-pr.yml" exit 1 fi - + # Check if PR exists from current branch to target PR_URL=$(gh pr list --head "$CURRENT_BRANCH" --base "$TARGET_BRANCH" --json url --jq '.[0].url' 2>/dev/null || echo "") - + if [ -n "$PR_URL" ] && [ "$PR_URL" != "null" ]; then echo "✅ PR created successfully!" echo "🔗 PR URL: $PR_URL" echo "" echo "🎉 Claude has analyzed your changes and created a comprehensive PR" echo "📝 Review the PR description and make any necessary adjustments" - + # Try to open PR in browser if command -v open >/dev/null 2>&1; then echo "🌐 Opening PR in browser..." @@ -112,10 +112,10 @@ while [ $ATTEMPT -le $MAX_ATTEMPTS ]; do else echo "💡 Open the PR manually: $PR_URL" fi - + exit 0 fi - + if [ $ATTEMPT -eq $MAX_ATTEMPTS ]; then echo "❌ Timeout: PR was not created after 5 minutes" echo "Check the GitHub Actions workflow status:" @@ -125,8 +125,8 @@ while [ $ATTEMPT -le $MAX_ATTEMPTS ]; do echo " gh pr create --base $TARGET_BRANCH --head $CURRENT_BRANCH" exit 1 fi - + echo "PR not yet created, waiting 10 seconds..." sleep 10 ATTEMPT=$((ATTEMPT + 1)) -done \ No newline at end of file +done From 89eb4a0b2ff1ea57bf595a8a52ed0a5d9d30f8b7 Mon Sep 17 00:00:00 2001 From: Joey French Date: Mon, 11 Aug 2025 16:52:40 -0500 Subject: [PATCH 3/3] Refactor VSCode tasks in tasks.json for improved clarity and functionality. Renamed tasks for installing and updating dependencies, and simplified labels for building and publishing packages. Removed unused task for testing with coverage. --- .vscode/tasks.json | 39 ++++++++++----------------------------- 1 file changed, 10 insertions(+), 29 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 3efb791..eb7215d 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -1,30 +1,25 @@ { "version": "2.0.0", "tasks": [ + { - "label": "Generate Client", + "label": "Install Dependencies", "type": "shell", - "command": "just generate-client ${input:apiUrl}", + "command": "just install", "problemMatcher": [], "group": "build" }, { - "label": "Claude Code", - "type": "shell", - "command": "claude --model ${input:claudeModel}", - "problemMatcher": [] - }, - { - "label": "Install Dependencies", + "label": "Update Dependencies", "type": "shell", - "command": "just install", + "command": "just update", "problemMatcher": [], "group": "build" }, { - "label": "Update Dependencies", + "label": "Generate Client", "type": "shell", - "command": "just update", + "command": "just generate-client ${input:apiUrl}", "problemMatcher": [], "group": "build" }, @@ -49,13 +44,6 @@ "problemMatcher": [], "group": "test" }, - { - "label": "Test with Coverage", - "type": "shell", - "command": "just test-cov", - "problemMatcher": [], - "group": "test" - }, { "label": "Lint", "type": "shell", @@ -99,14 +87,14 @@ "group": "build" }, { - "label": "Build Python Package", + "label": "Build Package", "type": "shell", "command": "just build-package", "problemMatcher": [], "group": "build" }, { - "label": "Publish Client to PyPI", + "label": "Publish to PyPI", "type": "shell", "command": "just publish-pypi ${input:versionType}", "group": "build", @@ -128,7 +116,7 @@ { "id": "apiUrl", "type": "pickString", - "description": "Choose API URL for Client generation:" + "description": "Choose API URL for Client generation:", "default": "http://localhost:8000/openapi.json", "options": [ "http://localhost:8000/openapi.json", @@ -166,13 +154,6 @@ "description": "Request Claude review automatically:", "default": "true", "options": ["true", "false"] - }, - { - "id": "claudeModel", - "type": "pickString", - "description": "Choose model:", - "default": "opus", - "options": ["opus", "sonnet"] } ] } \ No newline at end of file