🔧 chore: update all references from DanceLessonsCoach to dance-lessons-coach
Some checks failed
CI/CD Pipeline / CI Pipeline (push) Failing after 4m0s
Some checks failed
CI/CD Pipeline / CI Pipeline (push) Failing after 4m0s
This commit is contained in:
@@ -31,13 +31,13 @@ gitea-client wait-job <owner> <repo> <job_id> [timeout]
|
||||
**Example Workflow:**
|
||||
```bash
|
||||
# 1. Find recent failed jobs
|
||||
gitea-client list-jobs arcodange DanceLessonsCoach 5 10
|
||||
gitea-client list-jobs arcodange dance-lessons-coach 5 10
|
||||
|
||||
# 2. Check status of specific job
|
||||
gitea-client job-status arcodange DanceLessonsCoach 706
|
||||
gitea-client job-status arcodange dance-lessons-coach 706
|
||||
|
||||
# 3. Fetch logs for debugging
|
||||
gitea-client job-logs arcodange DanceLessonsCoach 706 job_706_logs.txt
|
||||
gitea-client job-logs arcodange dance-lessons-coach 706 job_706_logs.txt
|
||||
|
||||
# 4. Analyze logs
|
||||
grep -i "error\|fail" job_706_logs.txt
|
||||
@@ -59,10 +59,10 @@ gitea-client comment-pr <owner> <repo> <pr_number> <comment>
|
||||
**Example Workflow:**
|
||||
```bash
|
||||
# Get PR number from branch
|
||||
PR_NUMBER=$(gitea-client list-prs arcodange DanceLessonsCoach | jq -r '.[] | select(.head.ref == "feature/new-feature") | .number')
|
||||
PR_NUMBER=$(gitea-client list-prs arcodange dance-lessons-coach | jq -r '.[] | select(.head.ref == "feature/new-feature") | .number')
|
||||
|
||||
# Comment on PR with CI results
|
||||
gitea-client comment-pr arcodange DanceLessonsCoach $PR_NUMBER "✅ CI passed: All checks successful!"
|
||||
gitea-client comment-pr arcodange dance-lessons-coach $PR_NUMBER "✅ CI passed: All checks successful!"
|
||||
```
|
||||
|
||||
### 3. Issue Tracking
|
||||
@@ -87,13 +87,13 @@ gitea-client comment-issue <owner> <repo> <issue_number> <comment>
|
||||
**Example Workflow:**
|
||||
```bash
|
||||
# Create issue for bug
|
||||
gitea-client create-issue arcodange DanceLessonsCoach "CI Failure" "Workflow failed on job 706"
|
||||
gitea-client create-issue arcodange dance-lessons-coach "CI Failure" "Workflow failed on job 706"
|
||||
|
||||
# Add progress comment
|
||||
gitea-client comment-issue arcodange DanceLessonsCoach 42 "Investigating logs..."
|
||||
gitea-client comment-issue arcodange dance-lessons-coach 42 "Investigating logs..."
|
||||
|
||||
# Resolve issue
|
||||
gitea-client comment-issue arcodange DanceLessonsCoach 42 "✅ Fixed in commit abc123"
|
||||
gitea-client comment-issue arcodange dance-lessons-coach 42 "✅ Fixed in commit abc123"
|
||||
```
|
||||
|
||||
## 🎯 Real-World Examples
|
||||
@@ -104,19 +104,19 @@ gitea-client comment-issue arcodange DanceLessonsCoach 42 "✅ Fixed in commit a
|
||||
# Scenario: Job failed, need to diagnose
|
||||
|
||||
# 1. List recent jobs
|
||||
gitea-client list-jobs arcodange DanceLessonsCoach 5 5
|
||||
gitea-client list-jobs arcodange dance-lessons-coach 5 5
|
||||
|
||||
# 2. Find failed job
|
||||
gitea-client job-status arcodange DanceLessonsCoach 706
|
||||
gitea-client job-status arcodange dance-lessons-coach 706
|
||||
|
||||
# 3. Fetch logs
|
||||
gitea-client job-logs arcodange DanceLessonsCoach 706 debug_logs.txt
|
||||
gitea-client job-logs arcodange dance-lessons-coach 706 debug_logs.txt
|
||||
|
||||
# 4. Analyze
|
||||
grep -i "error\|panic\|fail" debug_logs.txt
|
||||
|
||||
# 5. Comment on related PR
|
||||
gitea-client comment-pr arcodange DanceLessonsCoach 15 "Found issue in CI - investigating"
|
||||
gitea-client comment-pr arcodange dance-lessons-coach 15 "Found issue in CI - investigating"
|
||||
```
|
||||
|
||||
### Example 2: Automated PR Feedback
|
||||
@@ -125,18 +125,18 @@ gitea-client comment-pr arcodange DanceLessonsCoach 15 "Found issue in CI - inve
|
||||
# Scenario: CI job failed, auto-comment on PR
|
||||
|
||||
JOB_ID=706
|
||||
PR_NUMBER=$(gitea-client list-prs arcodange DanceLessonsCoach | jq -r '.[] | select(.head.ref == "feature/new-api") | .number')
|
||||
PR_NUMBER=$(gitea-client list-prs arcodange dance-lessons-coach | jq -r '.[] | select(.head.ref == "feature/new-api") | .number')
|
||||
|
||||
if [ -n "$PR_NUMBER" ]; then
|
||||
gitea-client job-logs arcodange DanceLessonsCoach $JOB_ID job_logs.txt
|
||||
gitea-client job-logs arcodange dance-lessons-coach $JOB_ID job_logs.txt
|
||||
ERRORS=$(grep -i "error\|fail" job_logs.txt | head -5)
|
||||
|
||||
gitea-client comment-pr arcodange DanceLessonsCoach $PR_NUMBER "⚠️ CI Job Failed: $JOB_ID
|
||||
gitea-client comment-pr arcodange dance-lessons-coach $PR_NUMBER "⚠️ CI Job Failed: $JOB_ID
|
||||
|
||||
🔍 Errors found:
|
||||
$ERRORS
|
||||
|
||||
📊 Job Details: https://gitea.arcodange.lab/arcodange/DanceLessonsCoach/actions/runs/17/jobs/0"
|
||||
📊 Job Details: https://gitea.arcodange.lab/arcodange/dance-lessons-coach/actions/runs/17/jobs/0"
|
||||
fi
|
||||
```
|
||||
|
||||
@@ -146,13 +146,13 @@ fi
|
||||
# Scenario: Feature implementation with issue tracking
|
||||
|
||||
# 1. Create issue for new feature
|
||||
gitea-client create-issue arcodange DanceLessonsCoach "Add user authentication" "Implement OAuth2 authentication for API"
|
||||
gitea-client create-issue arcodange dance-lessons-coach "Add user authentication" "Implement OAuth2 authentication for API"
|
||||
|
||||
# 2. Work on feature, add progress comments
|
||||
gitea-client comment-issue arcodange DanceLessonsCoach 42 "⏳ IN PROGRESS: Implementing OAuth2 provider"
|
||||
gitea-client comment-issue arcodange dance-lessons-coach 42 "⏳ IN PROGRESS: Implementing OAuth2 provider"
|
||||
|
||||
# 3. Complete feature
|
||||
gitea-client comment-issue arcodange DanceLessonsCoach 42 "✅ COMPLETED: Authentication implemented in commit abc123"
|
||||
gitea-client comment-issue arcodange dance-lessons-coach 42 "✅ COMPLETED: Authentication implemented in commit abc123"
|
||||
|
||||
# 4. Reference in commit
|
||||
git commit -m "✨ feat: add OAuth2 authentication (closes #42)"
|
||||
@@ -165,7 +165,7 @@ git commit -m "✨ feat: add OAuth2 authentication (closes #42)"
|
||||
```bash
|
||||
# Watch multiple jobs in parallel
|
||||
for job_id in 706 707 708; do
|
||||
gitea-client job-status arcodange DanceLessonsCoach $job_id &
|
||||
gitea-client job-status arcodange dance-lessons-coach $job_id &
|
||||
done
|
||||
wait
|
||||
```
|
||||
@@ -175,7 +175,7 @@ wait
|
||||
```bash
|
||||
# Create issue from CI when tests fail
|
||||
if [ "$CI_JOB_STATUS" = "failed" ]; then
|
||||
gitea-client create-issue arcodange DanceLessonsCoach \
|
||||
gitea-client create-issue arcodange dance-lessons-coach \
|
||||
"CI Failure: $CI_JOB_NAME" \
|
||||
"Job failed on commit $CI_COMMIT_SHA. See logs: $CI_JOB_URL"
|
||||
fi
|
||||
@@ -186,7 +186,7 @@ fi
|
||||
```bash
|
||||
# Update multiple issues with same comment
|
||||
for issue in 42 43 44; do
|
||||
gitea-client comment-issue arcodange DanceLessonsCoach $issue "Status update: Related to PR #15"
|
||||
gitea-client comment-issue arcodange dance-lessons-coach $issue "Status update: Related to PR #15"
|
||||
done
|
||||
```
|
||||
|
||||
@@ -195,16 +195,16 @@ done
|
||||
### 1. Always Check Job Status First
|
||||
```bash
|
||||
# Before commenting, verify job status
|
||||
gitea-client job-status arcodange DanceLessonsCoach 706
|
||||
gitea-client job-status arcodange dance-lessons-coach 706
|
||||
```
|
||||
|
||||
### 2. Use Descriptive Issue Titles
|
||||
```bash
|
||||
# Good
|
||||
gitea-client create-issue arcodange DanceLessonsCoach "API Authentication Failure" "Detailed description..."
|
||||
gitea-client create-issue arcodange dance-lessons-coach "API Authentication Failure" "Detailed description..."
|
||||
|
||||
# Bad
|
||||
gitea-client create-issue arcodange DanceLessonsCoach "Bug" "Doesn't work"
|
||||
gitea-client create-issue arcodange dance-lessons-coach "Bug" "Doesn't work"
|
||||
```
|
||||
|
||||
### 3. Reference Issues in Commits
|
||||
@@ -216,7 +216,7 @@ git commit -m "🐛 fix: resolve auth bug (closes #42)"
|
||||
### 4. Use Web UI Links
|
||||
```bash
|
||||
# Include links in comments
|
||||
gitea-client comment-pr arcodange DanceLessonsCoach 15 "See: https://gitea.arcodange.lab/arcodange/DanceLessonsCoach/issues/42"
|
||||
gitea-client comment-pr arcodange dance-lessons-coach 15 "See: https://gitea.arcodange.lab/arcodange/dance-lessons-coach/issues/42"
|
||||
```
|
||||
|
||||
## 🎯 Integration Patterns
|
||||
@@ -240,7 +240,7 @@ gitea-client comment-pr arcodange DanceLessonsCoach 15 "See: https://gitea.arcod
|
||||
# Script to create issues from errors
|
||||
ERRORS=$(grep -i "error" app.log | head -5)
|
||||
if [ -n "$ERRORS" ]; then
|
||||
gitea-client create-issue arcodange DanceLessonsCoach \
|
||||
gitea-client create-issue arcodange dance-lessons-coach \
|
||||
"Production Errors Detected" \
|
||||
"Found errors in production logs:\n\n$ERRORS"
|
||||
fi
|
||||
@@ -250,12 +250,12 @@ fi
|
||||
|
||||
### 1. Save Logs for Later Analysis
|
||||
```bash
|
||||
gitea-client job-logs arcodange DanceLessonsCoach 706 job_706_$(date +%Y%m%d).txt
|
||||
gitea-client job-logs arcodange dance-lessons-coach 706 job_706_$(date +%Y%m%d).txt
|
||||
```
|
||||
|
||||
### 2. Monitor Job Progress
|
||||
```bash
|
||||
watch -n 10 "gitea-client job-status arcodange DanceLessonsCoach 706"
|
||||
watch -n 10 "gitea-client job-status arcodange dance-lessons-coach 706"
|
||||
```
|
||||
|
||||
### 3. Script Complex Workflows
|
||||
@@ -265,13 +265,13 @@ watch -n 10 "gitea-client job-status arcodange DanceLessonsCoach 706"
|
||||
JOB_ID=$1
|
||||
PR_NUMBER=$2
|
||||
|
||||
STATUS=$(gitea-client job-status arcodange DanceLessonsCoach $JOB_ID | jq -r '.status')
|
||||
STATUS=$(gitea-client job-status arcodange dance-lessons-coach $JOB_ID | jq -r '.status')
|
||||
if [ "$STATUS" = "completed" ]; then
|
||||
CONCLUSION=$(gitea-client job-status arcodange DanceLessonsCoach $JOB_ID | jq -r '.conclusion')
|
||||
CONCLUSION=$(gitea-client job-status arcodange dance-lessons-coach $JOB_ID | jq -r '.conclusion')
|
||||
if [ "$CONCLUSION" = "failure" ]; then
|
||||
gitea-client job-logs arcodange DanceLessonsCoach $JOB_ID logs.txt
|
||||
gitea-client job-logs arcodange dance-lessons-coach $JOB_ID logs.txt
|
||||
ERRORS=$(grep -i "error" logs.txt | head -3)
|
||||
gitea-client comment-pr arcodange DanceLessonsCoach $PR_NUMBER "❌ Job failed: $ERRORS"
|
||||
gitea-client comment-pr arcodange dance-lessons-coach $PR_NUMBER "❌ Job failed: $ERRORS"
|
||||
fi
|
||||
fi
|
||||
```
|
||||
|
||||
@@ -3,7 +3,7 @@ name: gitea-client
|
||||
description: Gitea API client for job monitoring and PR management
|
||||
license: MIT
|
||||
metadata:
|
||||
author: DanceLessonsCoach Team
|
||||
author: dance-lessons-coach Team
|
||||
version: "1.0.0"
|
||||
---
|
||||
|
||||
@@ -70,8 +70,8 @@ The response includes a `html_url` field that provides a direct link to view the
|
||||
**Example:**
|
||||
```bash
|
||||
# Get job status and extract web UI link
|
||||
gitea-client job-status arcodange DanceLessonsCoach 351 | jq '.html_url'
|
||||
# Output: "https://gitea.arcodange.lab/arcodange/DanceLessonsCoach/actions/runs/3"
|
||||
gitea-client job-status arcodange dance-lessons-coach 351 | jq '.html_url'
|
||||
# Output: "https://gitea.arcodange.lab/arcodange/dance-lessons-coach/actions/runs/3"
|
||||
```
|
||||
|
||||
### Get Job Logs
|
||||
@@ -91,10 +91,10 @@ Fetch logs for a specific job.
|
||||
**Examples:**
|
||||
```bash
|
||||
# Display logs in console
|
||||
gitea-client job-logs arcodange DanceLessonsCoach 658
|
||||
gitea-client job-logs arcodange dance-lessons-coach 658
|
||||
|
||||
# Save logs to file
|
||||
gitea-client job-logs arcodange DanceLessonsCoach 658 job_logs.txt
|
||||
gitea-client job-logs arcodange dance-lessons-coach 658 job_logs.txt
|
||||
```
|
||||
|
||||
### Get Action Job Logs
|
||||
@@ -114,10 +114,10 @@ Fetch logs for a specific action job (individual job within a workflow run).
|
||||
**Examples:**
|
||||
```bash
|
||||
# Display action job logs
|
||||
gitea-client action-logs arcodange DanceLessonsCoach 658
|
||||
gitea-client action-logs arcodange dance-lessons-coach 658
|
||||
|
||||
# Save to file for analysis
|
||||
gitea-client action-logs arcodange DanceLessonsCoach 658 build_job_logs.txt
|
||||
gitea-client action-logs arcodange dance-lessons-coach 658 build_job_logs.txt
|
||||
```
|
||||
|
||||
### List Workflow Jobs
|
||||
@@ -139,13 +139,13 @@ Each job in the response includes a `html_url` field for direct access to that s
|
||||
**Example:**
|
||||
```bash
|
||||
# List all jobs and extract their web UI links
|
||||
gitea-client list-workflow-jobs arcodange DanceLessonsCoach 351 | jq '.jobs[] | "Job \(.id): \(.name) - \(.html_url)"'
|
||||
gitea-client list-workflow-jobs arcodange dance-lessons-coach 351 | jq '.jobs[] | "Job \(.id): \(.name) - \(.html_url)"'
|
||||
```
|
||||
|
||||
**Examples:**
|
||||
```bash
|
||||
# List all jobs for workflow run 350
|
||||
gitea-client list-workflow-jobs arcodange DanceLessonsCoach 350
|
||||
gitea-client list-workflow-jobs arcodange dance-lessons-coach 350
|
||||
```
|
||||
|
||||
### Wait for Job Completion
|
||||
@@ -205,13 +205,13 @@ List issues for a repository.
|
||||
**Examples:**
|
||||
```bash
|
||||
# List open issues
|
||||
gitea-client list-issues arcodange DanceLessonsCoach
|
||||
gitea-client list-issues arcodange dance-lessons-coach
|
||||
|
||||
# List closed issues
|
||||
gitea-client list-issues arcodange DanceLessonsCoach closed
|
||||
gitea-client list-issues arcodange dance-lessons-coach closed
|
||||
|
||||
# List all issues
|
||||
gitea-client list-issues arcodange DanceLessonsCoach all
|
||||
gitea-client list-issues arcodange dance-lessons-coach all
|
||||
```
|
||||
|
||||
### Create Issue
|
||||
@@ -231,10 +231,10 @@ Create a new issue in the repository.
|
||||
**Examples:**
|
||||
```bash
|
||||
# Create a simple issue
|
||||
gitea-client create-issue arcodange DanceLessonsCoach "Bug in CI workflow" "The CI workflow fails on job 350"
|
||||
gitea-client create-issue arcodange dance-lessons-coach "Bug in CI workflow" "The CI workflow fails on job 350"
|
||||
|
||||
# Create detailed issue with multi-line description
|
||||
gitea-client create-issue arcodange DanceLessonsCoach "Optimize main branch workflow" "Current workflow has separate version bump and Docker build steps. Need to optimize by:
|
||||
gitea-client create-issue arcodange dance-lessons-coach "Optimize main branch workflow" "Current workflow has separate version bump and Docker build steps. Need to optimize by:
|
||||
|
||||
1. Share artifacts between CI jobs for faster execution
|
||||
2. Combine version management and Docker build in single workflow
|
||||
@@ -258,10 +258,10 @@ Get detailed information about a specific issue.
|
||||
**Examples:**
|
||||
```bash
|
||||
# Show issue details
|
||||
gitea-client show-issue arcodange DanceLessonsCoach 42
|
||||
gitea-client show-issue arcodange dance-lessons-coach 42
|
||||
|
||||
# Get issue and extract title
|
||||
gitea-client show-issue arcodange DanceLessonsCoach 42 | jq '.title'
|
||||
gitea-client show-issue arcodange dance-lessons-coach 42 | jq '.title'
|
||||
```
|
||||
|
||||
### Comment on Issue
|
||||
@@ -281,10 +281,10 @@ Add a comment to an existing issue.
|
||||
**Examples:**
|
||||
```bash
|
||||
# Add simple comment
|
||||
gitea-client comment-issue arcodange DanceLessonsCoach 42 "Working on this now"
|
||||
gitea-client comment-issue arcodange dance-lessons-coach 42 "Working on this now"
|
||||
|
||||
# Add detailed update
|
||||
gitea-client comment-issue arcodange DanceLessonsCoach 42 "Created optimized workflow in .gitea/workflows/main-branch-optimized.yaml. Ready for testing."
|
||||
gitea-client comment-issue arcodange dance-lessons-coach 42 "Created optimized workflow in .gitea/workflows/main-branch-optimized.yaml. Ready for testing."
|
||||
```
|
||||
|
||||
## Workflows
|
||||
@@ -325,10 +325,10 @@ skill gitea-client comment-pr owner repo pr_number "Job failed: analysis results
|
||||
|
||||
```bash
|
||||
# 1. List open issues
|
||||
gitea-client list-issues arcodange DanceLessonsCoach
|
||||
gitea-client list-issues arcodange dance-lessons-coach
|
||||
|
||||
# 2. Create new issue for workflow optimization
|
||||
gitea-client create-issue arcodange DanceLessonsCoach "Optimize main branch workflow" "Current workflow has separate version bump and Docker build steps. Need to optimize by:
|
||||
gitea-client create-issue arcodange dance-lessons-coach "Optimize main branch workflow" "Current workflow has separate version bump and Docker build steps. Need to optimize by:
|
||||
|
||||
1. Share artifacts between CI jobs for faster execution
|
||||
2. Combine version management and Docker build in single workflow
|
||||
@@ -336,13 +336,13 @@ gitea-client create-issue arcodange DanceLessonsCoach "Optimize main branch work
|
||||
4. Reduce total CI time by avoiding redundant builds"
|
||||
|
||||
# 3. Show issue details
|
||||
gitea-client show-issue arcodange DanceLessonsCoach 42
|
||||
gitea-client show-issue arcodange dance-lessons-coach 42
|
||||
|
||||
# 4. Add progress comment
|
||||
gitea-client comment-issue arcodange DanceLessonsCoach 42 "Created optimized workflow in .gitea/workflows/main-branch-optimized.yaml. Ready for testing."
|
||||
gitea-client comment-issue arcodange dance-lessons-coach 42 "Created optimized workflow in .gitea/workflows/main-branch-optimized.yaml. Ready for testing."
|
||||
|
||||
# 5. Close issue when resolved
|
||||
gitea-client comment-issue arcodange DanceLessonsCoach 42 "✅ RESOLVED: Optimized workflow implemented and tested successfully."
|
||||
gitea-client comment-issue arcodange dance-lessons-coach 42 "✅ RESOLVED: Optimized workflow implemented and tested successfully."
|
||||
```
|
||||
|
||||
### Complete CI Debugging Workflow
|
||||
@@ -421,34 +421,34 @@ The Gitea client skill excels at automated PR commenting during CI/CD workflows.
|
||||
# Scenario: CI job fails, diagnose and comment on PR
|
||||
|
||||
# 1. Find the PR associated with this branch
|
||||
PR_NUMBER=$(gitea-client list-prs arcodange DanceLessonsCoach \
|
||||
PR_NUMBER=$(gitea-client list-prs arcodange dance-lessons-coach \
|
||||
| jq -r '.[] | select(.head.ref == "ci/trunk-based-development") | .number')
|
||||
|
||||
# 2. Monitor CI job status
|
||||
JOB_ID=352
|
||||
JOB_STATUS=$(gitea-client job-status arcodange DanceLessonsCoach $JOB_ID | jq -r '.status')
|
||||
JOB_STATUS=$(gitea-client job-status arcodange dance-lessons-coach $JOB_ID | jq -r '.status')
|
||||
|
||||
# 3. If job fails, diagnose and comment
|
||||
if [ "$JOB_STATUS" = "completed" ]; then
|
||||
CONCLUSION=$(gitea-client job-status arcodange DanceLessonsCoach $JOB_ID | jq -r '.conclusion')
|
||||
CONCLUSION=$(gitea-client job-status arcodange dance-lessons-coach $JOB_ID | jq -r '.conclusion')
|
||||
|
||||
if [ "$CONCLUSION" = "failure" ]; then
|
||||
# Get detailed logs
|
||||
gitea-client job-logs arcodange DanceLessonsCoach $JOB_ID job_logs.txt
|
||||
gitea-client job-logs arcodange dance-lessons-coach $JOB_ID job_logs.txt
|
||||
|
||||
# Find error patterns
|
||||
ERRORS=$(grep -i "error\|fail\|panic" job_logs.txt | head -5)
|
||||
|
||||
# Comment on PR with findings
|
||||
gitea-client comment-pr arcodange DanceLessonsCoach $PR_NUMBER \
|
||||
"⚠️ CI Job Failed: $JOB_ID\n\n🔍 Diagnosis:\n$ERRORS\n\n📊 Job Details: $(gitea-client job-status arcodange DanceLessonsCoach $JOB_ID | jq -r '.html_url')"
|
||||
gitea-client comment-pr arcodange dance-lessons-coach $PR_NUMBER \
|
||||
"⚠️ CI Job Failed: $JOB_ID\n\n🔍 Diagnosis:\n$ERRORS\n\n📊 Job Details: $(gitea-client job-status arcodange dance-lessons-coach $JOB_ID | jq -r '.html_url')"
|
||||
fi
|
||||
fi
|
||||
|
||||
# 4. Success case - comment on successful build
|
||||
if [ "$CONCLUSION" = "success" ]; then
|
||||
gitea-client comment-pr arcodange DanceLessonsCoach $PR_NUMBER \
|
||||
"✅ CI Job Passed: $JOB_ID\n\n🎉 All checks successful!\n\n📊 Job Details: $(gitea-client job-status arcodange DanceLessonsCoach $JOB_ID | jq -r '.html_url')"
|
||||
gitea-client comment-pr arcodange dance-lessons-coach $PR_NUMBER \
|
||||
"✅ CI Job Passed: $JOB_ID\n\n🎉 All checks successful!\n\n📊 Job Details: $(gitea-client job-status arcodange dance-lessons-coach $JOB_ID | jq -r '.html_url')"
|
||||
fi
|
||||
```
|
||||
|
||||
@@ -458,11 +458,11 @@ fi
|
||||
# Actual commands used to comment on PR #1:
|
||||
|
||||
# Add summary comment
|
||||
gitea-client comment-pr arcodange DanceLessonsCoach 1 \
|
||||
gitea-client comment-pr arcodange dance-lessons-coach 1 \
|
||||
"🎉 Comprehensive PR Summary\n\nThis PR includes CI improvements and new Gitea client skill."
|
||||
|
||||
# Add detailed breakdown
|
||||
gitea-client comment-pr arcodange DanceLessonsCoach 1 \
|
||||
gitea-client comment-pr arcodange dance-lessons-coach 1 \
|
||||
"📋 This PR includes 5 key improvements:\n\n1. 🤖 Gitea Client Skill\n2. 🐛 Swagger Generation Fix\n3. ⚡ Performance Optimization\n4. 🔧 Workflow Validation\n5. 📖 Documentation Updates"
|
||||
```
|
||||
|
||||
@@ -481,14 +481,14 @@ gitea-client comment-pr arcodange DanceLessonsCoach 1 \
|
||||
PREV_JOB=350
|
||||
CURRENT_JOB=352
|
||||
|
||||
gitea-client comment-pr arcodange DanceLessonsCoach 1 \
|
||||
gitea-client comment-pr arcodange dance-lessons-coach 1 \
|
||||
"📊 CI Performance Improvement:\n\n- Job $PREV_JOB: ❌ Failed (missing swag)\n- Job $CURRENT_JOB: ⏳ In Progress (with fixes)\n\n🎯 Expected: Faster execution, better reliability"
|
||||
|
||||
# Comment with log snippets
|
||||
gitea-client job-logs arcodange DanceLessonsCoach $CURRENT_JOB > current_logs.txt
|
||||
gitea-client job-logs arcodange dance-lessons-coach $CURRENT_JOB > current_logs.txt
|
||||
ERROR_LINE=$(grep -n "pattern docs/swagger.json" current_logs.txt | head -1)
|
||||
|
||||
gitea-client comment-pr arcodange DanceLessonsCoach 1 \
|
||||
gitea-client comment-pr arcodange dance-lessons-coach 1 \
|
||||
"🔍 Error Analysis:\n\nPrevious error (Job $PREV_JOB):\n> pkg/server/server.go:30:12: pattern docs/swagger.json: no matching files found\n\nCurrent fix:\n> Added: go install github.com/swaggo/swag/cmd/swag@latest\n> Result: Files now generate properly ✅"
|
||||
```
|
||||
|
||||
@@ -524,9 +524,9 @@ xdg-open $(gitea-client job-status owner repo job_id | jq -r '.html_url')
|
||||
```
|
||||
|
||||
**Common URL Patterns:**
|
||||
- Job: `https://gitea.arcodange.lab/arcodange/DanceLessonsCoach/actions/runs/{run_id}`
|
||||
- Workflow: `https://gitea.arcodange.lab/arcodange/DanceLessonsCoach/actions`
|
||||
- PR: `https://gitea.arcodange.lab/arcodange/DanceLessonsCoach/pulls/{pr_number}`
|
||||
- Job: `https://gitea.arcodange.lab/arcodange/dance-lessons-coach/actions/runs/{run_id}`
|
||||
- Workflow: `https://gitea.arcodange.lab/arcodange/dance-lessons-coach/actions`
|
||||
- PR: `https://gitea.arcodange.lab/arcodange/dance-lessons-coach/pulls/{pr_number}`
|
||||
|
||||
## Implementation Details
|
||||
|
||||
|
||||
478
.vibe/skills/gitea-client/test_logs.txt
Normal file
478
.vibe/skills/gitea-client/test_logs.txt
Normal file
@@ -0,0 +1,478 @@
|
||||
2026-04-06T14:30:54.8883371Z arcodange_global_runner_pi1(version:v0.2.13) received task 893 of job ci-pipeline, be triggered by event: push
|
||||
2026-04-06T14:30:54.8890298Z workflow prepared
|
||||
2026-04-06T14:30:54.8891335Z evaluating expression 'success()'
|
||||
2026-04-06T14:30:54.8892232Z expression 'success()' evaluated to 'true'
|
||||
2026-04-06T14:30:54.8892451Z 🚀 Start image=gitea.arcodange.lab/arcodange-org/runner-images:ubuntu-latest-ca
|
||||
2026-04-06T14:30:54.8961888Z 🐳 docker pull image=gitea.arcodange.lab/arcodange-org/runner-images:ubuntu-latest-ca platform= username= forcePull=false
|
||||
2026-04-06T14:30:54.8962224Z 🐳 docker pull gitea.arcodange.lab/arcodange-org/runner-images:ubuntu-latest-ca
|
||||
2026-04-06T14:30:54.8979383Z Image exists? true
|
||||
2026-04-06T14:30:54.9102551Z Cleaning up network for job CI Pipeline, and network name is: GITEA-ACTIONS-TASK-893_WORKFLOW-CI-CD-Pipeline_JOB-CI-Pipeline-ci-pipeline-network
|
||||
2026-04-06T14:30:54.9755823Z 🐳 docker create image=gitea.arcodange.lab/arcodange-org/runner-images:ubuntu-latest-ca platform= entrypoint=["/bin/sleep" "10800"] cmd=[] network="GITEA-ACTIONS-TASK-893_WORKFLOW-CI-CD-Pipeline_JOB-CI-Pipeline-ci-pipeline-network"
|
||||
2026-04-06T14:30:55.5713881Z Created container name=GITEA-ACTIONS-TASK-893_WORKFLOW-CI-CD-Pipeline_JOB-CI-Pipeline id=190bcb54d717eed2621ddbc16c6c981e43e0d5a23ba04b766307351362b55c17 from image gitea.arcodange.lab/arcodange-org/runner-images:ubuntu-latest-ca (platform: )
|
||||
2026-04-06T14:30:55.5714834Z ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=ARM64 RUNNER_TEMP=/tmp LANG=C.UTF-8]
|
||||
2026-04-06T14:30:55.5715081Z 🐳 docker run image=gitea.arcodange.lab/arcodange-org/runner-images:ubuntu-latest-ca platform= entrypoint=["/bin/sleep" "10800"] cmd=[] network="GITEA-ACTIONS-TASK-893_WORKFLOW-CI-CD-Pipeline_JOB-CI-Pipeline-ci-pipeline-network"
|
||||
2026-04-06T14:30:55.5715308Z Starting container: 190bcb54d717eed2621ddbc16c6c981e43e0d5a23ba04b766307351362b55c17
|
||||
2026-04-06T14:30:55.9163697Z Started container: 190bcb54d717eed2621ddbc16c6c981e43e0d5a23ba04b766307351362b55c17
|
||||
2026-04-06T14:30:56.0065194Z Writing entry to tarball workflow/event.json len:5412
|
||||
2026-04-06T14:30:56.0065778Z Writing entry to tarball workflow/envs.txt len:0
|
||||
2026-04-06T14:30:56.0066092Z Extracting content to '/var/run/act/'
|
||||
2026-04-06T14:30:56.0271554Z ☁ git clone 'https://github.com/actions/checkout' # ref=v4
|
||||
2026-04-06T14:30:56.0272092Z cloning https://github.com/actions/checkout to /root/.cache/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab
|
||||
2026-04-06T14:30:56.6183725Z Unable to pull refs/heads/v4: non-fast-forward update
|
||||
2026-04-06T14:30:56.6184321Z Cloned https://github.com/actions/checkout to /root/.cache/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab
|
||||
2026-04-06T14:30:56.6816244Z Checked out v4
|
||||
2026-04-06T14:30:56.6893230Z ☁ git clone 'https://github.com/actions/setup-go' # ref=v4
|
||||
2026-04-06T14:30:56.6893861Z cloning https://github.com/actions/setup-go to /root/.cache/act/fd7d62239e994546e01f58df7ed12dc03dc4f9370800b8ff8736bf90b80e2db5
|
||||
2026-04-06T14:30:57.1113688Z Unable to pull refs/heads/v4: non-fast-forward update
|
||||
2026-04-06T14:30:57.1114340Z Cloned https://github.com/actions/setup-go to /root/.cache/act/fd7d62239e994546e01f58df7ed12dc03dc4f9370800b8ff8736bf90b80e2db5
|
||||
2026-04-06T14:30:57.2756307Z Checked out v4
|
||||
2026-04-06T14:30:57.2832187Z ☁ git clone 'https://github.com/actions/upload-artifact' # ref=v4
|
||||
2026-04-06T14:30:57.2832721Z cloning https://github.com/actions/upload-artifact to /root/.cache/act/9c943d99c36d602f7bcb8e14e590de380912714a613a71acc8a79818a96a9ed5
|
||||
2026-04-06T14:31:19.2698920Z Cloned https://github.com/actions/upload-artifact to /root/.cache/act/9c943d99c36d602f7bcb8e14e590de380912714a613a71acc8a79818a96a9ed5
|
||||
2026-04-06T14:31:19.6625527Z Checked out v4
|
||||
2026-04-06T14:31:19.6700928Z ☁ git clone 'https://github.com/docker/login-action' # ref=v3
|
||||
2026-04-06T14:31:19.6701494Z cloning https://github.com/docker/login-action to /root/.cache/act/f4980c6ac598e909987ac91567f6966749e4ffb3917249bbe2a2399d45f65943
|
||||
2026-04-06T14:31:20.5980341Z Unable to pull refs/heads/v3: worktree contains unstaged changes
|
||||
2026-04-06T14:31:20.5980827Z Cloned https://github.com/docker/login-action to /root/.cache/act/f4980c6ac598e909987ac91567f6966749e4ffb3917249bbe2a2399d45f65943
|
||||
2026-04-06T14:31:20.9131673Z Checked out v3
|
||||
2026-04-06T14:31:20.9205218Z ☁ git clone 'https://github.com/docker/setup-buildx-action' # ref=v3
|
||||
2026-04-06T14:31:20.9205651Z cloning https://github.com/docker/setup-buildx-action to /root/.cache/act/6a647958c11e138a6cfcaf32d2b372bc8e0c97871d617bfb441d003d505b77cf
|
||||
2026-04-06T14:31:21.5289079Z Unable to pull refs/heads/v3: worktree contains unstaged changes
|
||||
2026-04-06T14:31:21.5289476Z Cloned https://github.com/docker/setup-buildx-action to /root/.cache/act/6a647958c11e138a6cfcaf32d2b372bc8e0c97871d617bfb441d003d505b77cf
|
||||
2026-04-06T14:31:21.7679064Z Checked out v3
|
||||
2026-04-06T14:31:21.7902874Z evaluating expression ''
|
||||
2026-04-06T14:31:21.7903588Z expression '' evaluated to 'true'
|
||||
2026-04-06T14:31:21.7903803Z ⭐ Run Main Checkout code
|
||||
2026-04-06T14:31:21.7904074Z Writing entry to tarball workflow/outputcmd.txt len:0
|
||||
2026-04-06T14:31:21.7904303Z Writing entry to tarball workflow/statecmd.txt len:0
|
||||
2026-04-06T14:31:21.7904459Z Writing entry to tarball workflow/pathcmd.txt len:0
|
||||
2026-04-06T14:31:21.7904614Z Writing entry to tarball workflow/envs.txt len:0
|
||||
2026-04-06T14:31:21.7904752Z Writing entry to tarball workflow/SUMMARY.md len:0
|
||||
2026-04-06T14:31:21.7904919Z Extracting content to '/var/run/act'
|
||||
2026-04-06T14:31:21.8001552Z expression '${{ github.repository }}' rewritten to 'format('{0}', github.repository)'
|
||||
2026-04-06T14:31:21.8001957Z evaluating expression 'format('{0}', github.repository)'
|
||||
2026-04-06T14:31:21.8002365Z expression 'format('{0}', github.repository)' evaluated to '%!t(string=arcodange/dance-lessons-coach)'
|
||||
2026-04-06T14:31:21.8002722Z expression '${{ github.token }}' rewritten to 'format('{0}', github.token)'
|
||||
2026-04-06T14:31:21.8002858Z evaluating expression 'format('{0}', github.token)'
|
||||
2026-04-06T14:31:21.8003135Z expression 'format('{0}', github.token)' evaluated to '%!t(string=***)'
|
||||
2026-04-06T14:31:21.8003406Z type=remote-action actionDir=/root/.cache/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab actionPath= workdir=/workspace/arcodange/dance-lessons-coach actionCacheDir=/root/.cache/act actionName=c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab containerActionDir=/var/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab
|
||||
2026-04-06T14:31:21.8003608Z /var/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab
|
||||
2026-04-06T14:31:21.8003883Z Removing /root/.cache/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/.gitignore before docker cp
|
||||
2026-04-06T14:31:21.8004868Z 🐳 docker cp src=/root/.cache/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/ dst=/var/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/
|
||||
2026-04-06T14:31:21.8005732Z Writing tarball /tmp/act1616800057 from /root/.cache/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/
|
||||
2026-04-06T14:31:21.8005942Z Stripping prefix:/root/.cache/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/ src:/root/.cache/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/
|
||||
2026-04-06T14:31:22.0001813Z Extracting content from '/tmp/act1616800057' to '/var/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/'
|
||||
2026-04-06T14:31:22.1562883Z executing remote job container: [node /var/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/index.js]
|
||||
2026-04-06T14:31:22.1563393Z 🐳 docker exec cmd=[node /var/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/index.js] user= workdir=
|
||||
2026-04-06T14:31:22.1563585Z Exec command '[node /var/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/index.js]'
|
||||
2026-04-06T14:31:22.1564246Z Working directory '/workspace/arcodange/dance-lessons-coach'
|
||||
2026-04-06T14:31:22.3619186Z ::add-matcher::/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/problem-matcher.json
|
||||
2026-04-06T14:31:22.3619590Z ::add-matcher::/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/problem-matcher.json
|
||||
2026-04-06T14:31:22.3627607Z Syncing repository: arcodange/dance-lessons-coach
|
||||
2026-04-06T14:31:22.3634458Z ::group::Getting Git version info
|
||||
2026-04-06T14:31:22.3635410Z Working directory is '/workspace/arcodange/dance-lessons-coach'
|
||||
2026-04-06T14:31:22.3689495Z [command]/usr/bin/git version
|
||||
2026-04-06T14:31:22.3740749Z git version 2.52.0
|
||||
2026-04-06T14:31:22.3782083Z ::endgroup::
|
||||
2026-04-06T14:31:22.3803300Z Temporarily overriding HOME='/tmp/7fb6bf8f-7e72-4c91-8185-bc970e2eb4ae' before making global git config changes
|
||||
2026-04-06T14:31:22.3804213Z Adding repository directory to the temporary git global config as a safe directory
|
||||
2026-04-06T14:31:22.3814303Z [command]/usr/bin/git config --global --add safe.directory /workspace/arcodange/dance-lessons-coach
|
||||
2026-04-06T14:31:22.3860639Z Deleting the contents of '/workspace/arcodange/dance-lessons-coach'
|
||||
2026-04-06T14:31:22.3868820Z ::group::Initializing the repository
|
||||
2026-04-06T14:31:22.3875788Z [command]/usr/bin/git init /workspace/arcodange/dance-lessons-coach
|
||||
2026-04-06T14:31:22.3992312Z hint: Using 'master' as the name for the initial branch. This default branch name
|
||||
2026-04-06T14:31:22.3992816Z hint: will change to "main" in Git 3.0. To configure the initial branch name
|
||||
2026-04-06T14:31:22.3993046Z hint: to use in all of your new repositories, which will suppress this warning,
|
||||
2026-04-06T14:31:22.3993224Z hint: call:
|
||||
2026-04-06T14:31:22.3993365Z hint:
|
||||
2026-04-06T14:31:22.3993870Z hint: git config --global init.defaultBranch <name>
|
||||
2026-04-06T14:31:22.3994056Z hint:
|
||||
2026-04-06T14:31:22.3994220Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
|
||||
2026-04-06T14:31:22.3994361Z hint: 'development'. The just-created branch can be renamed via this command:
|
||||
2026-04-06T14:31:22.3994505Z hint:
|
||||
2026-04-06T14:31:22.3994628Z hint: git branch -m <name>
|
||||
2026-04-06T14:31:22.3994749Z hint:
|
||||
2026-04-06T14:31:22.3994897Z hint: Disable this message with "git config set advice.defaultBranchName false"
|
||||
2026-04-06T14:31:22.3996232Z Initialized empty Git repository in /workspace/arcodange/dance-lessons-coach/.git/
|
||||
2026-04-06T14:31:22.4015708Z [command]/usr/bin/git remote add origin http://pi2.home:3000/arcodange/dance-lessons-coach
|
||||
2026-04-06T14:31:22.4059257Z ::endgroup::
|
||||
2026-04-06T14:31:22.4059614Z ::group::Disabling automatic garbage collection
|
||||
2026-04-06T14:31:22.4067284Z [command]/usr/bin/git config --local gc.auto 0
|
||||
2026-04-06T14:31:22.4103466Z ::endgroup::
|
||||
2026-04-06T14:31:22.4103802Z ::group::Setting up auth
|
||||
2026-04-06T14:31:22.4116538Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
|
||||
2026-04-06T14:31:22.4152756Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
|
||||
2026-04-06T14:31:22.4390736Z [command]/usr/bin/git config --local --name-only --get-regexp http\.http\:\/\/pi2\.home\:3000\/\.extraheader
|
||||
2026-04-06T14:31:22.4430333Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.http\:\/\/pi2\.home\:3000\/\.extraheader' && git config --local --unset-all 'http.http://pi2.home:3000/.extraheader' || :"
|
||||
2026-04-06T14:31:22.4671191Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
|
||||
2026-04-06T14:31:22.4709593Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
|
||||
2026-04-06T14:31:22.4976806Z [command]/usr/bin/git config --local http.http://pi2.home:3000/.extraheader AUTHORIZATION: basic ***
|
||||
2026-04-06T14:31:22.5042203Z ::endgroup::
|
||||
2026-04-06T14:31:22.5042563Z ::group::Fetching the repository
|
||||
2026-04-06T14:31:22.5053703Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +a5f652fa64ef6a5196e887aa378477548b7f55e5:refs/remotes/origin/main
|
||||
2026-04-06T14:31:23.2721075Z From http://pi2.home:3000/arcodange/dance-lessons-coach
|
||||
2026-04-06T14:31:23.2721667Z * [new ref] a5f652fa64ef6a5196e887aa378477548b7f55e5 -> origin/main
|
||||
2026-04-06T14:31:23.2750521Z ::endgroup::
|
||||
2026-04-06T14:31:23.2750918Z ::group::Determining the checkout info
|
||||
2026-04-06T14:31:23.2753707Z ::endgroup::
|
||||
2026-04-06T14:31:23.2760103Z [command]/usr/bin/git sparse-checkout disable
|
||||
2026-04-06T14:31:23.2838027Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
|
||||
2026-04-06T14:31:23.2869693Z ::group::Checking out the ref
|
||||
2026-04-06T14:31:23.2877271Z [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main
|
||||
2026-04-06T14:31:23.3028677Z Switched to a new branch 'main'
|
||||
2026-04-06T14:31:23.3039830Z branch 'main' set up to track 'origin/main'.
|
||||
2026-04-06T14:31:23.3041459Z ::endgroup::
|
||||
2026-04-06T14:31:23.3083362Z [command]/usr/bin/git log -1 --format=%H
|
||||
2026-04-06T14:31:23.3109169Z a5f652fa64ef6a5196e887aa378477548b7f55e5
|
||||
2026-04-06T14:31:23.3132931Z ::remove-matcher owner=checkout-git::
|
||||
2026-04-06T14:31:23.9370903Z Setup go version spec 1.26.1
|
||||
2026-04-06T14:31:23.9391607Z Found in cache @ /opt/hostedtoolcache/go/1.26.1/arm64
|
||||
2026-04-06T14:31:23.9412714Z Added go to the path
|
||||
2026-04-06T14:31:23.9420379Z Successfully set up Go version 1.26.1
|
||||
2026-04-06T14:31:23.9687354Z [command]/opt/hostedtoolcache/go/1.26.1/arm64/bin/go env GOMODCACHE
|
||||
2026-04-06T14:31:23.9743540Z [command]/opt/hostedtoolcache/go/1.26.1/arm64/bin/go env GOCACHE
|
||||
2026-04-06T14:31:23.9776097Z /root/go/pkg/mod
|
||||
2026-04-06T14:31:23.9808661Z /root/.cache/go-build
|
||||
2026-04-06T14:31:34.0199787Z ::warning::Failed to restore: getCacheEntry failed: connect ECONNREFUSED 192.168.1.201:35787
|
||||
2026-04-06T14:31:34.6456161Z Cache is not found
|
||||
2026-04-06T14:31:34.6460125Z ##[add-matcher]/run/act/actions/fd7d62239e994546e01f58df7ed12dc03dc4f9370800b8ff8736bf90b80e2db5/matchers.json
|
||||
2026-04-06T14:31:34.6460597Z go version go1.26.1 linux/arm64
|
||||
2026-04-06T14:31:34.6460900Z
|
||||
2026-04-06T14:31:34.6462810Z ::group::go env
|
||||
2026-04-06T14:31:38.6468876Z AR='ar'
|
||||
2026-04-06T14:31:38.6469486Z CC='gcc'
|
||||
2026-04-06T14:31:38.6469684Z CGO_CFLAGS='-O2 -g'
|
||||
2026-04-06T14:31:38.6469865Z CGO_CPPFLAGS=''
|
||||
2026-04-06T14:31:38.6470130Z CGO_CXXFLAGS='-O2 -g'
|
||||
2026-04-06T14:31:38.6470310Z CGO_ENABLED='1'
|
||||
2026-04-06T14:31:38.6470465Z CGO_FFLAGS='-O2 -g'
|
||||
2026-04-06T14:31:38.6470621Z CGO_LDFLAGS='-O2 -g'
|
||||
2026-04-06T14:31:38.6470792Z CXX='g++'
|
||||
2026-04-06T14:31:38.6470971Z GCCGO='gccgo'
|
||||
2026-04-06T14:31:38.6471166Z GO111MODULE=''
|
||||
2026-04-06T14:31:38.6471336Z GOARCH='arm64'
|
||||
2026-04-06T14:31:38.6471490Z GOARM64='v8.0'
|
||||
2026-04-06T14:31:38.6471666Z GOAUTH='netrc'
|
||||
2026-04-06T14:31:38.6471837Z GOBIN=''
|
||||
2026-04-06T14:31:38.6471993Z GOCACHE='/root/.cache/go-build'
|
||||
2026-04-06T14:31:38.6472151Z GOCACHEPROG=''
|
||||
2026-04-06T14:31:38.6472295Z GODEBUG=''
|
||||
2026-04-06T14:31:38.6472465Z GOENV='/root/.config/go/env'
|
||||
2026-04-06T14:31:38.6472641Z GOEXE=''
|
||||
2026-04-06T14:31:38.6472801Z GOEXPERIMENT=''
|
||||
2026-04-06T14:31:38.6472959Z GOFIPS140='off'
|
||||
2026-04-06T14:31:38.6473117Z GOFLAGS=''
|
||||
2026-04-06T14:31:38.6473309Z GOGCCFLAGS='-fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build603828314=/tmp/go-build -gno-record-gcc-switches'
|
||||
2026-04-06T14:31:38.6473535Z GOHOSTARCH='arm64'
|
||||
2026-04-06T14:31:38.6473705Z GOHOSTOS='linux'
|
||||
2026-04-06T14:31:38.6473862Z GOINSECURE=''
|
||||
2026-04-06T14:31:38.6474047Z GOMOD='/workspace/arcodange/dance-lessons-coach/go.mod'
|
||||
2026-04-06T14:31:38.6474231Z GOMODCACHE='/root/go/pkg/mod'
|
||||
2026-04-06T14:31:38.6474386Z GONOPROXY=''
|
||||
2026-04-06T14:31:38.6474542Z GONOSUMDB=''
|
||||
2026-04-06T14:31:38.6474696Z GOOS='linux'
|
||||
2026-04-06T14:31:38.6474853Z GOPATH='/root/go'
|
||||
2026-04-06T14:31:38.6475008Z GOPRIVATE=''
|
||||
2026-04-06T14:31:38.6475161Z GOPROXY='https://proxy.golang.org,direct'
|
||||
2026-04-06T14:31:38.6475321Z GOROOT='/opt/hostedtoolcache/go/1.26.1/arm64'
|
||||
2026-04-06T14:31:38.6475486Z GOSUMDB='sum.golang.org'
|
||||
2026-04-06T14:31:38.6475692Z GOTELEMETRY='local'
|
||||
2026-04-06T14:31:38.6475854Z GOTELEMETRYDIR='/root/.config/go/telemetry'
|
||||
2026-04-06T14:31:38.6476015Z GOTMPDIR=''
|
||||
2026-04-06T14:31:38.6476169Z GOTOOLCHAIN='auto'
|
||||
2026-04-06T14:31:38.6476337Z GOTOOLDIR='/opt/hostedtoolcache/go/1.26.1/arm64/pkg/tool/linux_arm64'
|
||||
2026-04-06T14:31:38.6476534Z GOVCS=''
|
||||
2026-04-06T14:31:38.6476694Z GOVERSION='go1.26.1'
|
||||
2026-04-06T14:31:38.6476858Z GOWORK=''
|
||||
2026-04-06T14:31:38.6477009Z PKG_CONFIG='pkg-config'
|
||||
2026-04-06T14:31:38.6477170Z
|
||||
2026-04-06T14:31:38.6477778Z ::endgroup::
|
||||
2026-04-06T14:31:38.7856699Z go: downloading github.com/cucumber/godog v0.15.1
|
||||
2026-04-06T14:31:38.7976643Z go: downloading github.com/rs/zerolog v1.35.0
|
||||
2026-04-06T14:31:38.8043536Z go: downloading github.com/spf13/cobra v1.8.0
|
||||
2026-04-06T14:31:39.0445395Z go: downloading github.com/spf13/viper v1.21.0
|
||||
2026-04-06T14:31:39.0685958Z go: downloading github.com/go-chi/chi/v5 v5.2.5
|
||||
2026-04-06T14:31:39.0968669Z go: downloading github.com/swaggo/http-swagger v1.3.4
|
||||
2026-04-06T14:31:39.0969223Z go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0
|
||||
2026-04-06T14:31:39.1107336Z go: downloading go.opentelemetry.io/otel/sdk v1.43.0
|
||||
2026-04-06T14:31:39.1452770Z go: downloading go.opentelemetry.io/otel v1.43.0
|
||||
2026-04-06T14:31:39.3152972Z go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.43.0
|
||||
2026-04-06T14:31:39.3351609Z go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.43.0
|
||||
2026-04-06T14:31:39.4969282Z go: downloading go.opentelemetry.io/otel/trace v1.43.0
|
||||
2026-04-06T14:31:39.4976582Z go: downloading github.com/go-playground/locales v0.14.1
|
||||
2026-04-06T14:31:39.5336177Z go: downloading github.com/go-playground/universal-translator v0.18.1
|
||||
2026-04-06T14:31:39.5455912Z go: downloading github.com/go-playground/validator/v10 v10.30.2
|
||||
2026-04-06T14:31:40.0406125Z go: downloading github.com/inconshreveable/mousetrap v1.1.0
|
||||
2026-04-06T14:31:40.0516925Z go: downloading github.com/spf13/pflag v1.0.10
|
||||
2026-04-06T14:31:40.2117153Z go: downloading github.com/mattn/go-colorable v0.1.14
|
||||
2026-04-06T14:31:40.2339445Z go: downloading github.com/cucumber/messages/go/v21 v21.0.1
|
||||
2026-04-06T14:31:40.2732637Z go: downloading github.com/cucumber/gherkin/go/v26 v26.2.0
|
||||
2026-04-06T14:31:40.2932663Z go: downloading github.com/fsnotify/fsnotify v1.9.0
|
||||
2026-04-06T14:31:40.3209840Z go: downloading github.com/go-viper/mapstructure/v2 v2.4.0
|
||||
2026-04-06T14:31:40.3324335Z go: downloading github.com/sagikazarmark/locafero v0.11.0
|
||||
2026-04-06T14:31:40.3488470Z go: downloading github.com/spf13/afero v1.15.0
|
||||
2026-04-06T14:31:40.3657100Z go: downloading github.com/spf13/cast v1.10.0
|
||||
2026-04-06T14:31:40.4128636Z go: downloading github.com/swaggo/files v0.0.0-20220610200504-28940afbdbfe
|
||||
2026-04-06T14:31:40.4394594Z go: downloading github.com/swaggo/swag v1.16.6
|
||||
2026-04-06T14:31:40.5532978Z go: downloading github.com/stretchr/testify v1.11.1
|
||||
2026-04-06T14:31:40.5923775Z go: downloading github.com/felixge/httpsnoop v1.0.4
|
||||
2026-04-06T14:31:40.6004904Z go: downloading go.opentelemetry.io/otel/metric v1.43.0
|
||||
2026-04-06T14:31:40.6093078Z go: downloading go.opentelemetry.io/otel/sdk/metric v1.43.0
|
||||
2026-04-06T14:31:41.1373450Z go: downloading github.com/go-logr/logr v1.4.3
|
||||
2026-04-06T14:31:41.1447401Z go: downloading github.com/go-logr/stdr v1.2.2
|
||||
2026-04-06T14:31:41.1569164Z go: downloading github.com/google/go-cmp v0.7.0
|
||||
2026-04-06T14:31:41.1604252Z go: downloading go.uber.org/goleak v1.3.0
|
||||
2026-04-06T14:31:41.1604892Z go: downloading github.com/google/uuid v1.6.0
|
||||
2026-04-06T14:31:41.1915139Z go: downloading golang.org/x/sys v0.42.0
|
||||
2026-04-06T14:31:41.2056073Z go: downloading go.opentelemetry.io/proto/otlp v1.10.0
|
||||
2026-04-06T14:31:41.2275288Z go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20260401024825-9d38bb4040a9
|
||||
2026-04-06T14:31:41.2276923Z go: downloading google.golang.org/grpc v1.80.0
|
||||
2026-04-06T14:31:41.6777732Z go: downloading google.golang.org/protobuf v1.36.11
|
||||
2026-04-06T14:31:41.6783156Z go: downloading github.com/gabriel-vasile/mimetype v1.4.13
|
||||
2026-04-06T14:31:41.6824494Z go: downloading github.com/leodido/go-urn v1.4.0
|
||||
2026-04-06T14:31:41.6842112Z go: downloading golang.org/x/crypto v0.49.0
|
||||
2026-04-06T14:31:41.7867580Z go: downloading golang.org/x/text v0.35.0
|
||||
2026-04-06T14:31:41.9094807Z go: downloading github.com/go-playground/assert/v2 v2.2.0
|
||||
2026-04-06T14:32:06.9000953Z go: downloading github.com/mattn/go-isatty v0.0.20
|
||||
2026-04-06T14:32:06.9111613Z go: downloading github.com/hashicorp/go-memdb v1.3.5
|
||||
2026-04-06T14:32:06.9383643Z go: downloading github.com/gofrs/uuid v4.4.0+incompatible
|
||||
2026-04-06T14:32:07.5589186Z go: downloading github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8
|
||||
2026-04-06T14:32:07.5638646Z go: downloading github.com/subosito/gotenv v1.6.0
|
||||
2026-04-06T14:32:07.5719860Z go: downloading github.com/pelletier/go-toml/v2 v2.2.4
|
||||
2026-04-06T14:32:07.5733036Z go: downloading go.yaml.in/yaml/v3 v3.0.4
|
||||
2026-04-06T14:32:07.5790598Z go: downloading github.com/frankban/quicktest v1.14.6
|
||||
2026-04-06T14:32:07.7116738Z go: downloading github.com/KyleBanks/depth v1.2.1
|
||||
2026-04-06T14:32:07.7128651Z go: downloading github.com/go-openapi/spec v0.20.6
|
||||
2026-04-06T14:32:07.7134928Z go: downloading golang.org/x/tools v0.42.0
|
||||
2026-04-06T14:32:07.7253076Z go: downloading github.com/davecgh/go-spew v1.1.1
|
||||
2026-04-06T14:32:07.7478547Z go: downloading github.com/pmezard/go-difflib v1.0.0
|
||||
2026-04-06T14:32:07.8050020Z go: downloading go.opentelemetry.io/auto/sdk v1.2.1
|
||||
2026-04-06T14:32:07.8108032Z go: downloading golang.org/x/net v0.52.0
|
||||
2026-04-06T14:32:07.8185671Z go: downloading github.com/cenkalti/backoff/v5 v5.0.3
|
||||
2026-04-06T14:32:07.8324782Z go: downloading github.com/grpc-ecosystem/grpc-gateway/v2 v2.28.0
|
||||
2026-04-06T14:32:08.1082436Z go: downloading github.com/hashicorp/go-immutable-radix v1.3.1
|
||||
2026-04-06T14:32:08.1275441Z go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
|
||||
2026-04-06T14:32:08.1284432Z go: downloading github.com/kr/pretty v0.3.1
|
||||
2026-04-06T14:32:08.2098256Z go: downloading gopkg.in/yaml.v3 v3.0.1
|
||||
2026-04-06T14:32:08.2291274Z go: downloading github.com/cespare/xxhash/v2 v2.3.0
|
||||
2026-04-06T14:32:08.2327368Z go: downloading github.com/go-openapi/jsonpointer v0.19.5
|
||||
2026-04-06T14:32:08.2394760Z go: downloading github.com/go-openapi/jsonreference v0.20.0
|
||||
2026-04-06T14:32:08.2395485Z go: downloading github.com/go-openapi/swag v0.19.15
|
||||
2026-04-06T14:32:08.2406335Z go: downloading gopkg.in/yaml.v2 v2.4.0
|
||||
2026-04-06T14:32:08.2415094Z go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20260401024825-9d38bb4040a9
|
||||
2026-04-06T14:32:08.2521336Z go: downloading github.com/golang/protobuf v1.5.4
|
||||
2026-04-06T14:32:08.2705411Z go: downloading github.com/hashicorp/golang-lru v1.0.2
|
||||
2026-04-06T14:32:08.2760481Z go: downloading github.com/hashicorp/go-uuid v1.0.2
|
||||
2026-04-06T14:32:08.2903472Z go: downloading github.com/kr/text v0.2.0
|
||||
2026-04-06T14:32:08.2917235Z go: downloading github.com/rogpeppe/go-internal v1.14.1
|
||||
2026-04-06T14:32:08.3037976Z go: downloading github.com/mailru/easyjson v0.7.6
|
||||
2026-04-06T14:32:08.3165560Z go: downloading golang.org/x/mod v0.33.0
|
||||
2026-04-06T14:32:08.3245073Z go: downloading golang.org/x/sync v0.20.0
|
||||
2026-04-06T14:32:08.3484247Z go: downloading gonum.org/v1/gonum v0.17.0
|
||||
2026-04-06T14:32:08.3491596Z go: downloading github.com/josharian/intern v1.0.0
|
||||
2026-04-06T14:32:09.4021128Z go: downloading github.com/urfave/cli/v2 v2.3.0
|
||||
2026-04-06T14:32:09.4085592Z go: downloading github.com/go-openapi/spec v0.20.4
|
||||
2026-04-06T14:32:09.4088599Z go: downloading golang.org/x/text v0.21.0
|
||||
2026-04-06T14:32:09.5459494Z go: downloading sigs.k8s.io/yaml v1.3.0
|
||||
2026-04-06T14:32:09.6228945Z go: downloading golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d
|
||||
2026-04-06T14:32:10.2060019Z go: downloading github.com/go-openapi/jsonreference v0.19.6
|
||||
2026-04-06T14:32:10.2465548Z go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d
|
||||
2026-04-06T14:32:10.3034742Z go: downloading github.com/PuerkitoBio/purell v1.1.1
|
||||
2026-04-06T14:32:10.3038689Z go: downloading golang.org/x/mod v0.17.0
|
||||
2026-04-06T14:32:10.3306597Z go: downloading github.com/russross/blackfriday/v2 v2.0.1
|
||||
2026-04-06T14:32:10.3836615Z go: downloading github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
|
||||
2026-04-06T14:32:10.3842072Z go: downloading golang.org/x/net v0.34.0
|
||||
2026-04-06T14:32:10.4082841Z go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
|
||||
2026-04-06T14:33:33.0187628Z 2026/04/06 14:33:33 Generate swagger docs....
|
||||
2026-04-06T14:33:33.0189659Z 2026/04/06 14:33:33 Generate general API Info, search dir:../../pkg/greet
|
||||
2026-04-06T14:33:33.6280081Z 2026/04/06 14:33:33 Generate general API Info, search dir:../../pkg/server
|
||||
2026-04-06T14:33:33.7985074Z 2026/04/06 14:33:33 warning: failed to get package name in dir: ../../pkg/server, error: execute go list command, exit status 1, stdout:, stderr:server.go:30:12: pattern docs/swagger.json: no matching files found
|
||||
2026-04-06T14:33:38.7434033Z 2026/04/06 14:33:38 Generating greet.GreetResponse
|
||||
2026-04-06T14:33:38.7436479Z 2026/04/06 14:33:38 Generating greet.ErrorResponse
|
||||
2026-04-06T14:33:38.7437150Z 2026/04/06 14:33:38 Generating greet.GreetRequest
|
||||
2026-04-06T14:33:38.7437365Z 2026/04/06 14:33:38 Generating greet.GreetResponseV2
|
||||
2026-04-06T14:33:38.7437602Z 2026/04/06 14:33:38 Generating greet.ValidationError
|
||||
2026-04-06T14:33:38.7437849Z 2026/04/06 14:33:38 Generating greet.ValidationDetail
|
||||
2026-04-06T14:33:38.7456835Z 2026/04/06 14:33:38 create docs.go at docs/docs.go
|
||||
2026-04-06T14:33:38.7463366Z 2026/04/06 14:33:38 create swagger.json at docs/swagger.json
|
||||
2026-04-06T14:33:38.7479708Z 2026/04/06 14:33:38 create swagger.yaml at docs/swagger.yaml
|
||||
2026-04-06T14:34:38.8556615Z dance-lessons-coach/cmd/cli coverage: 0.0% of statements
|
||||
2026-04-06T14:34:38.8557499Z dance-lessons-coach/cmd/greet coverage: 0.0% of statements
|
||||
2026-04-06T14:34:38.9455144Z dance-lessons-coach/cmd/server coverage: 0.0% of statements
|
||||
2026-04-06T14:34:38.9455844Z === RUN TestBDD
|
||||
2026-04-06T14:34:38.9456128Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Validator created successfully"}
|
||||
2026-04-06T14:34:38.9456395Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Registering greet routes"}
|
||||
2026-04-06T14:34:38.9456582Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Greet routes registered"}
|
||||
2026-04-06T14:34:38.9456768Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Registering v2 greet routes"}
|
||||
2026-04-06T14:34:38.9456943Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"v2 Greet routes registered"}
|
||||
2026-04-06T14:34:38.9457221Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Readiness check requested"}
|
||||
2026-04-06T14:34:38.9457412Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Readiness check: ready"}
|
||||
2026-04-06T14:34:38.9457600Z {"level":"debug","time":"2026-04-06T14:34:37Z","message":"\"GET http://localhost:9191/api/ready HTTP/1.1\" from [::1]:33018 - 200 14B in 78.185µs"}
|
||||
2026-04-06T14:34:38.9458060Z === RUN TestBDD/Default_greeting
|
||||
2026-04-06T14:34:38.9458246Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Readiness check requested"}
|
||||
2026-04-06T14:34:38.9458405Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Readiness check: ready"}
|
||||
2026-04-06T14:34:38.9458569Z {"level":"debug","time":"2026-04-06T14:34:37Z","message":"\"GET http://localhost:9191/api/ready HTTP/1.1\" from [::1]:33026 - 200 14B in 65.648µs"}
|
||||
2026-04-06T14:34:38.9458742Z [32m.[0m{"level":"trace","name":"","time":"2026-04-06T14:34:37Z","message":"Greet function called"}
|
||||
2026-04-06T14:34:38.9458910Z {"level":"debug","time":"2026-04-06T14:34:37Z","message":"\"GET http://localhost:9191/api/v1/greet/ HTTP/1.1\" from [::1]:33026 - 200 27B in 80.314µs"}
|
||||
2026-04-06T14:34:38.9459119Z [32m.[0m[32m.[0m=== RUN TestBDD/Personalized_greeting
|
||||
2026-04-06T14:34:38.9459295Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Readiness check requested"}
|
||||
2026-04-06T14:34:38.9459468Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Readiness check: ready"}
|
||||
2026-04-06T14:34:38.9459644Z {"level":"debug","time":"2026-04-06T14:34:37Z","message":"\"GET http://localhost:9191/api/ready HTTP/1.1\" from [::1]:33026 - 200 14B in 30.333µs"}
|
||||
2026-04-06T14:34:38.9459802Z [32m.[0m{"level":"trace","name":"John","time":"2026-04-06T14:34:37Z","message":"Greet function called"}
|
||||
2026-04-06T14:34:38.9460005Z {"level":"debug","time":"2026-04-06T14:34:37Z","message":"\"GET http://localhost:9191/api/v1/greet/John HTTP/1.1\" from [::1]:33026 - 200 26B in 80.074µs"}
|
||||
2026-04-06T14:34:38.9460180Z [32m.[0m[32m.[0m=== RUN TestBDD/v2_greeting_with_JSON_POST_request
|
||||
2026-04-06T14:34:38.9460339Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Readiness check requested"}
|
||||
2026-04-06T14:34:38.9460507Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Readiness check: ready"}
|
||||
2026-04-06T14:34:38.9460708Z {"level":"debug","time":"2026-04-06T14:34:37Z","message":"\"GET http://localhost:9191/api/ready HTTP/1.1\" from [::1]:33026 - 200 14B in 41.037µs"}
|
||||
2026-04-06T14:34:38.9460902Z {"level":"debug","time":"2026-04-06T14:34:37Z","message":"\"GET http://localhost:9191/api/v2/greet HTTP/1.1\" from [::1]:33026 - 405 0B in 20.222µs"}
|
||||
2026-04-06T14:34:38.9461203Z [32m.[0m{"level":"trace","name":"John","time":"2026-04-06T14:34:37Z","message":"Validating request"}
|
||||
2026-04-06T14:34:38.9461428Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Validation passed"}
|
||||
2026-04-06T14:34:38.9461609Z {"level":"trace","name":"John","time":"2026-04-06T14:34:37Z","message":"GreetV2 function called"}
|
||||
2026-04-06T14:34:38.9461862Z {"level":"debug","time":"2026-04-06T14:34:37Z","message":"\"POST http://localhost:9191/api/v2/greet HTTP/1.1\" from [::1]:33026 - 200 36B in 307.036µs"}
|
||||
2026-04-06T14:34:38.9462091Z [32m.[0m[32m.[0m=== RUN TestBDD/v2_default_greeting_with_empty_name
|
||||
2026-04-06T14:34:38.9462258Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Readiness check requested"}
|
||||
2026-04-06T14:34:38.9462417Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Readiness check: ready"}
|
||||
2026-04-06T14:34:38.9462604Z {"level":"debug","time":"2026-04-06T14:34:37Z","message":"\"GET http://localhost:9191/api/ready HTTP/1.1\" from [::1]:33026 - 200 14B in 28.74µs"}
|
||||
2026-04-06T14:34:38.9462886Z {"level":"debug","time":"2026-04-06T14:34:37Z","message":"\"GET http://localhost:9191/api/v2/greet HTTP/1.1\" from [::1]:33026 - 405 0B in 35.296µs"}
|
||||
2026-04-06T14:34:38.9463102Z [32m.[0m{"level":"trace","name":"","time":"2026-04-06T14:34:37Z","message":"Validating request"}
|
||||
2026-04-06T14:34:38.9463274Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Validation passed"}
|
||||
2026-04-06T14:34:38.9463456Z {"level":"trace","name":"","time":"2026-04-06T14:34:37Z","message":"GreetV2 function called"}
|
||||
2026-04-06T14:34:38.9463666Z {"level":"debug","time":"2026-04-06T14:34:37Z","message":"\"POST http://localhost:9191/api/v2/greet HTTP/1.1\" from [::1]:33026 - 200 31B in 112.129µs"}
|
||||
2026-04-06T14:34:38.9463907Z [32m.[0m[32m.[0m=== RUN TestBDD/v2_greeting_with_missing_name_field
|
||||
2026-04-06T14:34:38.9464098Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Readiness check requested"}
|
||||
2026-04-06T14:34:38.9464257Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Readiness check: ready"}
|
||||
2026-04-06T14:34:38.9464439Z {"level":"debug","time":"2026-04-06T14:34:37Z","message":"\"GET http://localhost:9191/api/ready HTTP/1.1\" from [::1]:33026 - 200 14B in 42.981µs"}
|
||||
2026-04-06T14:34:38.9464618Z {"level":"debug","time":"2026-04-06T14:34:37Z","message":"\"GET http://localhost:9191/api/v2/greet HTTP/1.1\" from [::1]:33026 - 405 0B in 15.222µs"}
|
||||
2026-04-06T14:34:38.9464801Z [32m.[0m{"level":"trace","name":"","time":"2026-04-06T14:34:37Z","message":"Validating request"}
|
||||
2026-04-06T14:34:38.9464968Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Validation passed"}
|
||||
2026-04-06T14:34:38.9465135Z {"level":"trace","name":"","time":"2026-04-06T14:34:37Z","message":"GreetV2 function called"}
|
||||
2026-04-06T14:34:38.9465319Z {"level":"debug","time":"2026-04-06T14:34:37Z","message":"\"POST http://localhost:9191/api/v2/greet HTTP/1.1\" from [::1]:33026 - 200 31B in 3.340452ms"}
|
||||
2026-04-06T14:34:38.9465816Z [32m.[0m[32m.[0m=== RUN TestBDD/v2_greeting_with_name_that_is_too_long
|
||||
2026-04-06T14:34:38.9465996Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Readiness check requested"}
|
||||
2026-04-06T14:34:38.9466147Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Readiness check: ready"}
|
||||
2026-04-06T14:34:38.9466329Z {"level":"debug","time":"2026-04-06T14:34:37Z","message":"\"GET http://localhost:9191/api/ready HTTP/1.1\" from [::1]:33026 - 200 14B in 47.408µs"}
|
||||
2026-04-06T14:34:38.9466516Z {"level":"debug","time":"2026-04-06T14:34:37Z","message":"\"GET http://localhost:9191/api/v2/greet HTTP/1.1\" from [::1]:33026 - 405 0B in 17.907µs"}
|
||||
2026-04-06T14:34:38.9466704Z [32m.[0m{"level":"trace","name":"ThisNameIsWayTooLongAndShouldFailValidationBecauseItExceedsTheMaximumAllowedLengthOf100Characters!!!!","time":"2026-04-06T14:34:37Z","message":"Validating request"}
|
||||
2026-04-06T14:34:38.9467053Z {"level":"trace","error":"Name failed validation for 'max' (parameter: 100)","time":"2026-04-06T14:34:37Z","message":"Validation failed"}
|
||||
2026-04-06T14:34:38.9467247Z {"level":"debug","time":"2026-04-06T14:34:37Z","message":"\"POST http://localhost:9191/api/v2/greet HTTP/1.1\" from [::1]:33026 - 400 139B in 165.147µs"}
|
||||
2026-04-06T14:34:38.9467428Z [32m.[0m[32m.[0m=== RUN TestBDD/Health_check_returns_healthy_status
|
||||
2026-04-06T14:34:38.9467613Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Readiness check requested"}
|
||||
2026-04-06T14:34:38.9467823Z {"level":"trace","time":"2026-04-06T14:34:37Z","message":"Readiness check: ready"}
|
||||
2026-04-06T14:34:38.9470111Z {"level":"debug","time":"2026-04-06T14:34:37Z","message":"\"GET http://localhost:9191/api/ready HTTP/1.1\" from [::1]:33026 - 200 14B in 22.815µs"}
|
||||
2026-04-06T14:34:38.9470620Z [32m.[0m{"level":"trace","time":"2026-04-06T14:34:37Z","message":"Health check requested"}
|
||||
2026-04-06T14:34:38.9470973Z {"level":"debug","time":"2026-04-06T14:34:37Z","message":"\"GET http://localhost:9191/api/health HTTP/1.1\" from [::1]:33026 - 200 20B in 27.593µs"}
|
||||
2026-04-06T14:34:38.9471606Z [32m.[0m[32m.[0m 21
|
||||
2026-04-06T14:34:38.9471846Z
|
||||
2026-04-06T14:34:38.9480814Z
|
||||
2026-04-06T14:34:38.9481412Z 7 scenarios ([32m7 passed[0m)
|
||||
2026-04-06T14:34:38.9481763Z 21 steps ([32m21 passed[0m)
|
||||
2026-04-06T14:34:38.9482285Z 146.661383ms
|
||||
2026-04-06T14:34:38.9482545Z --- PASS: TestBDD (2.79s)
|
||||
2026-04-06T14:34:38.9482925Z --- PASS: TestBDD/Default_greeting (0.01s)
|
||||
2026-04-06T14:34:38.9483228Z --- PASS: TestBDD/Personalized_greeting (0.01s)
|
||||
2026-04-06T14:34:38.9483546Z --- PASS: TestBDD/v2_greeting_with_JSON_POST_request (0.00s)
|
||||
2026-04-06T14:34:38.9483828Z --- PASS: TestBDD/v2_default_greeting_with_empty_name (0.00s)
|
||||
2026-04-06T14:34:38.9484043Z --- PASS: TestBDD/v2_greeting_with_missing_name_field (0.01s)
|
||||
2026-04-06T14:34:38.9484376Z --- PASS: TestBDD/v2_greeting_with_name_that_is_too_long (0.00s)
|
||||
2026-04-06T14:34:38.9484642Z --- PASS: TestBDD/Health_check_returns_healthy_status (0.00s)
|
||||
2026-04-06T14:34:38.9485019Z PASS
|
||||
2026-04-06T14:34:38.9485294Z coverage: [no statements]
|
||||
2026-04-06T14:34:38.9485540Z ok dance-lessons-coach/features 2.822s coverage: [no statements]
|
||||
2026-04-06T14:34:38.9485857Z dance-lessons-coach/pkg/bdd coverage: 0.0% of statements
|
||||
2026-04-06T14:34:38.9982102Z dance-lessons-coach/pkg/bdd/steps coverage: 0.0% of statements
|
||||
2026-04-06T14:34:39.0410523Z dance-lessons-coach/pkg/bdd/testserver coverage: 0.0% of statements
|
||||
2026-04-06T14:34:39.1066629Z dance-lessons-coach/pkg/config coverage: 0.0% of statements
|
||||
2026-04-06T14:34:39.1067262Z === RUN TestService_Greet
|
||||
2026-04-06T14:34:39.1067475Z === RUN TestService_Greet/#00
|
||||
2026-04-06T14:34:39.1067668Z {"level":"trace","name":"","time":"2026-04-06T14:34:38Z","message":"Greet function called"}
|
||||
2026-04-06T14:34:39.1067872Z === RUN TestService_Greet/John
|
||||
2026-04-06T14:34:39.1068118Z {"level":"trace","name":"John","time":"2026-04-06T14:34:38Z","message":"Greet function called"}
|
||||
2026-04-06T14:34:39.1068314Z === RUN TestService_Greet/Alice
|
||||
2026-04-06T14:34:39.1068467Z {"level":"trace","name":"Alice","time":"2026-04-06T14:34:38Z","message":"Greet function called"}
|
||||
2026-04-06T14:34:39.1068639Z === RUN TestService_Greet/__
|
||||
2026-04-06T14:34:39.1068777Z {"level":"trace","name":" ","time":"2026-04-06T14:34:38Z","message":"Greet function called"}
|
||||
2026-04-06T14:34:39.1068953Z --- PASS: TestService_Greet (0.00s)
|
||||
2026-04-06T14:34:39.1069090Z --- PASS: TestService_Greet/#00 (0.00s)
|
||||
2026-04-06T14:34:39.1069385Z --- PASS: TestService_Greet/John (0.00s)
|
||||
2026-04-06T14:34:39.1069539Z --- PASS: TestService_Greet/Alice (0.00s)
|
||||
2026-04-06T14:34:39.1069706Z --- PASS: TestService_Greet/__ (0.00s)
|
||||
2026-04-06T14:34:39.1069882Z === RUN TestServiceV2_GreetV2
|
||||
2026-04-06T14:34:39.1070040Z === RUN TestServiceV2_GreetV2/#00
|
||||
2026-04-06T14:34:39.1070189Z {"level":"trace","name":"","time":"2026-04-06T14:34:38Z","message":"GreetV2 function called"}
|
||||
2026-04-06T14:34:39.1070425Z === RUN TestServiceV2_GreetV2/John
|
||||
2026-04-06T14:34:39.1070587Z {"level":"trace","name":"John","time":"2026-04-06T14:34:38Z","message":"GreetV2 function called"}
|
||||
2026-04-06T14:34:39.1070822Z === RUN TestServiceV2_GreetV2/Alice
|
||||
2026-04-06T14:34:39.1071011Z {"level":"trace","name":"Alice","time":"2026-04-06T14:34:38Z","message":"GreetV2 function called"}
|
||||
2026-04-06T14:34:39.1071214Z === RUN TestServiceV2_GreetV2/__
|
||||
2026-04-06T14:34:39.1071362Z {"level":"trace","name":" ","time":"2026-04-06T14:34:38Z","message":"GreetV2 function called"}
|
||||
2026-04-06T14:34:39.1071572Z --- PASS: TestServiceV2_GreetV2 (0.00s)
|
||||
2026-04-06T14:34:39.1071726Z --- PASS: TestServiceV2_GreetV2/#00 (0.00s)
|
||||
2026-04-06T14:34:39.1071868Z --- PASS: TestServiceV2_GreetV2/John (0.00s)
|
||||
2026-04-06T14:34:39.1072015Z --- PASS: TestServiceV2_GreetV2/Alice (0.00s)
|
||||
2026-04-06T14:34:39.1072192Z --- PASS: TestServiceV2_GreetV2/__ (0.00s)
|
||||
2026-04-06T14:34:39.1072341Z PASS
|
||||
2026-04-06T14:34:39.1072491Z coverage: 18.5% of statements
|
||||
2026-04-06T14:34:39.1072656Z ok dance-lessons-coach/pkg/greet 0.013s coverage: 18.5% of statements
|
||||
2026-04-06T14:34:39.1533136Z dance-lessons-coach/pkg/server coverage: 0.0% of statements
|
||||
2026-04-06T14:34:39.2444576Z dance-lessons-coach/pkg/server/docs coverage: 0.0% of statements
|
||||
2026-04-06T14:34:39.2575346Z dance-lessons-coach/pkg/telemetry coverage: 0.0% of statements
|
||||
2026-04-06T14:34:39.3029106Z dance-lessons-coach/pkg/validation coverage: 0.0% of statements
|
||||
2026-04-06T14:34:39.3029608Z dance-lessons-coach/pkg/version coverage: 0.0% of statements
|
||||
2026-04-06T14:34:39.8327577Z 🔨 Building dance-lessons-coach binaries...
|
||||
2026-04-06T14:34:39.8360693Z 📦 Building server...
|
||||
2026-04-06T14:34:41.5535808Z 📦 Building greet CLI...
|
||||
2026-04-06T14:34:42.1991261Z 📦 Building Cobra CLI...
|
||||
2026-04-06T14:34:43.8626856Z ✅ Build complete!
|
||||
2026-04-06T14:34:43.8627456Z Server binary: ./bin/server
|
||||
2026-04-06T14:34:43.8627664Z Greet binary: ./bin/greet
|
||||
2026-04-06T14:34:43.8630254Z Cobra CLI binary: ./bin/dance-lessons-coach
|
||||
2026-04-06T14:34:43.8630487Z
|
||||
2026-04-06T14:34:43.8630713Z 💡 To run the server: ./bin/server
|
||||
2026-04-06T14:34:43.8630866Z 💡 To use the greet CLI: ./bin/greet [name]
|
||||
2026-04-06T14:34:43.8631010Z 💡 To use the Cobra CLI: ./bin/dance-lessons-coach --help
|
||||
2026-04-06T14:34:44.5578980Z With the provided path, there will be 3 files uploaded
|
||||
2026-04-06T14:34:44.5584872Z ::warning::Artifact upload failed with error: GHESNotSupportedError: @actions/artifact v2.0.0+, upload-artifact@v4+ and download-artifact@v4+ are not currently supported on GHES..%0A%0AErrors can be temporary, so please try again and optionally run the action with debug mode enabled for more information.%0A%0AIf the error persists, please check whether Actions is operating normally at [https://githubstatus.com](https://www.githubstatus.com).
|
||||
2026-04-06T14:34:44.5588333Z ::error::@actions/artifact v2.0.0+, upload-artifact@v4+ and download-artifact@v4+ are not currently supported on GHES.
|
||||
2026-04-06T14:34:44.5652624Z ❌ Failure - Main Upload build artifacts
|
||||
2026-04-06T14:34:44.5770585Z exitcode '1': failure
|
||||
2026-04-06T14:34:44.6882757Z skipping post step for 'Set up Docker Buildx'; main step was skipped
|
||||
2026-04-06T14:34:44.6883203Z skipping post step for 'Login to Gitea Container Registry'; main step was skipped
|
||||
2026-04-06T14:34:44.7106271Z evaluating expression 'success()'
|
||||
2026-04-06T14:34:44.7107117Z expression 'success()' evaluated to 'false'
|
||||
2026-04-06T14:34:44.7107339Z Skipping step 'Set up Go' due to 'success()'
|
||||
2026-04-06T14:34:44.7322308Z evaluating expression 'always()'
|
||||
2026-04-06T14:34:44.7331178Z expression 'always()' evaluated to 'true'
|
||||
2026-04-06T14:34:44.7333231Z ⭐ Run Post Checkout code
|
||||
2026-04-06T14:34:44.7333560Z Writing entry to tarball workflow/outputcmd.txt len:0
|
||||
2026-04-06T14:34:44.7333781Z Writing entry to tarball workflow/statecmd.txt len:0
|
||||
2026-04-06T14:34:44.7333945Z Writing entry to tarball workflow/pathcmd.txt len:0
|
||||
2026-04-06T14:34:44.7334099Z Writing entry to tarball workflow/envs.txt len:0
|
||||
2026-04-06T14:34:44.7334235Z Writing entry to tarball workflow/SUMMARY.md len:0
|
||||
2026-04-06T14:34:44.7334385Z Extracting content to '/var/run/act'
|
||||
2026-04-06T14:34:44.7364140Z run post step for 'Checkout code'
|
||||
2026-04-06T14:34:44.7365118Z executing remote job container: [node /var/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/index.js]
|
||||
2026-04-06T14:34:44.7378358Z 🐳 docker exec cmd=[node /var/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/index.js] user= workdir=
|
||||
2026-04-06T14:34:44.7378736Z Exec command '[node /var/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/index.js]'
|
||||
2026-04-06T14:34:44.7379347Z Working directory '/workspace/arcodange/dance-lessons-coach'
|
||||
2026-04-06T14:34:44.9476520Z [command]/usr/bin/git version
|
||||
2026-04-06T14:34:44.9524193Z git version 2.52.0
|
||||
2026-04-06T14:34:44.9567723Z ***
|
||||
2026-04-06T14:34:45.0099491Z Temporarily overriding HOME='/tmp/7fa4085e-98b0-4183-9667-65a3dc1f91e3' before making global git config changes
|
||||
2026-04-06T14:34:45.0100198Z Adding repository directory to the temporary git global config as a safe directory
|
||||
2026-04-06T14:34:45.0110800Z [command]/usr/bin/git config --global --add safe.directory /workspace/arcodange/dance-lessons-coach
|
||||
2026-04-06T14:34:45.0157670Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
|
||||
2026-04-06T14:34:45.0198887Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
|
||||
2026-04-06T14:34:45.0533873Z [command]/usr/bin/git config --local --name-only --get-regexp http\.http\:\/\/pi2\.home\:3000\/\.extraheader
|
||||
2026-04-06T14:34:45.0563531Z http.http://pi2.home:3000/.extraheader
|
||||
2026-04-06T14:34:45.0587237Z [command]/usr/bin/git config --local --unset-all http.http://pi2.home:3000/.extraheader
|
||||
2026-04-06T14:34:45.0633045Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.http\:\/\/pi2\.home\:3000\/\.extraheader' && git config --local --unset-all 'http.http://pi2.home:3000/.extraheader' || :"
|
||||
2026-04-06T14:34:45.1274116Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
|
||||
2026-04-06T14:34:45.1327020Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
|
||||
2026-04-06T14:34:45.1702310Z ✅ Success - Post Checkout code
|
||||
2026-04-06T14:34:45.1954018Z Cleaning up container for job CI Pipeline
|
||||
2026-04-06T14:35:04.8442562Z Removed container: 190bcb54d717eed2621ddbc16c6c981e43e0d5a23ba04b766307351362b55c17
|
||||
2026-04-06T14:35:04.8454092Z 🐳 docker volume rm GITEA-ACTIONS-TASK-893_WORKFLOW-CI-CD-Pipeline_JOB-CI-Pipeline
|
||||
2026-04-06T14:35:04.8634559Z 🐳 docker volume rm GITEA-ACTIONS-TASK-893_WORKFLOW-CI-CD-Pipeline_JOB-CI-Pipeline-env
|
||||
2026-04-06T14:35:04.9492478Z Cleaning up network for job CI Pipeline, and network name is: GITEA-ACTIONS-TASK-893_WORKFLOW-CI-CD-Pipeline_JOB-CI-Pipeline-ci-pipeline-network
|
||||
2026-04-06T14:35:05.3718312Z 🏁 Job failed
|
||||
2026-04-06T14:35:05.3805674Z Job 'CI Pipeline' failed
|
||||
Reference in New Issue
Block a user