fix: update all imports to use Forgejo instead of GitHub
Build & Push Workflows Image / build-push (push) Failing after 36s
ci / test (push) Failing after 1m33s

This commit is contained in:
Test
2026-09-05 14:37:26 -07:00
parent 6bf5ca6e3a
commit ee4b8f711d
33 changed files with 62 additions and 61 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"regexp"
"strings"
"github.com/rockliang/poimen/workflows/pkg/db"
"forgejo.riotpiao.com/rock/poimen-workflows/pkg/db"
)
// IncompatibilityWarning explains why two activities can't be connected
+3 -3
View File
@@ -5,9 +5,9 @@ import (
"encoding/json"
"fmt"
"github.com/rockliang/poimen/workflows/action/llm"
"github.com/rockliang/poimen/workflows/pkg/db"
"github.com/rockliang/poimen/workflows/statemachine"
"forgejo.riotpiao.com/rock/poimen-workflows/action/llm"
"forgejo.riotpiao.com/rock/poimen-workflows/pkg/db"
"forgejo.riotpiao.com/rock/poimen-workflows/statemachine"
)
// CanvasReasonerInput infers connections between nodes using LLM reasoning
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"encoding/json"
"fmt"
"github.com/rockliang/poimen/workflows/pkg/db"
"forgejo.riotpiao.com/rock/poimen-workflows/pkg/db"
)
// CanvasWithRelationsData combines canvas nodes/edges with relation wording
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"os/exec"
"path/filepath"
"github.com/rockliang/poimen/workflows/internal/lock"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/lock"
)
// CloneRepoInput is input to CloneRepoActivity.
+3 -3
View File
@@ -4,9 +4,9 @@ import (
"context"
"fmt"
"github.com/rockliang/poimen/workflows/action/llm"
"github.com/rockliang/poimen/workflows/prompts"
"github.com/rockliang/poimen/workflows/statemachine"
"forgejo.riotpiao.com/rock/poimen-workflows/action/llm"
"forgejo.riotpiao.com/rock/poimen-workflows/prompts"
"forgejo.riotpiao.com/rock/poimen-workflows/statemachine"
"go.temporal.io/sdk/activity"
)
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"os"
"time"
"github.com/rockliang/poimen/workflows/pkg/db"
"forgejo.riotpiao.com/rock/poimen-workflows/pkg/db"
)
// IndexGraphRAGInput sends workflow relations to GraphRAG for indexing
+3 -3
View File
@@ -4,9 +4,9 @@ import (
"context"
"fmt"
"github.com/rockliang/poimen/workflows/action/llm"
"github.com/rockliang/poimen/workflows/prompts"
"github.com/rockliang/poimen/workflows/statemachine"
"forgejo.riotpiao.com/rock/poimen-workflows/action/llm"
"forgejo.riotpiao.com/rock/poimen-workflows/prompts"
"forgejo.riotpiao.com/rock/poimen-workflows/statemachine"
)
// JudgeInput is input to JudgeActivity.
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"net/http"
"os"
"github.com/rockliang/poimen/workflows/statemachine"
"forgejo.riotpiao.com/rock/poimen-workflows/statemachine"
)
var (
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"context"
"testing"
"github.com/rockliang/poimen/workflows/statemachine"
"forgejo.riotpiao.com/rock/poimen-workflows/statemachine"
)
func TestNewClient(t *testing.T) {
+2 -2
View File
@@ -4,8 +4,8 @@ import (
"context"
"fmt"
"github.com/rockliang/poimen/workflows/action/llm"
"github.com/rockliang/poimen/workflows/statemachine"
"forgejo.riotpiao.com/rock/poimen-workflows/action/llm"
"forgejo.riotpiao.com/rock/poimen-workflows/statemachine"
)
// LLMInferenceInput is input for LLMInferenceActivity
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"fmt"
"os"
"github.com/rockliang/poimen/workflows/internal/memory"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/memory"
)
// RetrieveMemoryInput input for RetrieveMemoryActivity
+3 -3
View File
@@ -4,9 +4,9 @@ import (
"context"
"fmt"
"github.com/rockliang/poimen/workflows/action/llm"
"github.com/rockliang/poimen/workflows/prompts"
"github.com/rockliang/poimen/workflows/statemachine"
"forgejo.riotpiao.com/rock/poimen-workflows/action/llm"
"forgejo.riotpiao.com/rock/poimen-workflows/prompts"
"forgejo.riotpiao.com/rock/poimen-workflows/statemachine"
)
// PlanningInput is input to PlanningActivity.
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"context"
"fmt"
"github.com/rockliang/poimen/workflows/internal/routing"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/routing"
"go.temporal.io/sdk/activity"
)
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"time"
"go.temporal.io/sdk/activity"
"github.com/rockliang/poimen/workflows/statemachine"
"forgejo.riotpiao.com/rock/poimen-workflows/statemachine"
)
// PrepareSkillsInput is input to PrepareSkillsActivity.
+5 -5
View File
@@ -12,11 +12,11 @@ import (
"go.temporal.io/sdk/client"
"go.temporal.io/sdk/worker"
"github.com/rockliang/poimen/workflows/action"
"github.com/rockliang/poimen/workflows/internal/api"
"github.com/rockliang/poimen/workflows/internal/config"
"github.com/rockliang/poimen/workflows/pkg/db"
"github.com/rockliang/poimen/workflows/statemachine"
"forgejo.riotpiao.com/rock/poimen-workflows/action"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/api"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/config"
"forgejo.riotpiao.com/rock/poimen-workflows/pkg/db"
"forgejo.riotpiao.com/rock/poimen-workflows/statemachine"
)
func main() {
+6 -6
View File
@@ -11,12 +11,12 @@ import (
"time"
"go.temporal.io/sdk/client"
"github.com/rockliang/poimen/workflows/action/llm"
"github.com/rockliang/poimen/workflows/internal/config"
"github.com/rockliang/poimen/workflows/internal/health"
"github.com/rockliang/poimen/workflows/internal/logging"
"github.com/rockliang/poimen/workflows/internal/routing"
"github.com/rockliang/poimen/workflows/statemachine"
"forgejo.riotpiao.com/rock/poimen-workflows/action/llm"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/config"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/health"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/logging"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/routing"
"forgejo.riotpiao.com/rock/poimen-workflows/statemachine"
)
func main() {
+5 -5
View File
@@ -11,11 +11,11 @@ import (
"go.temporal.io/sdk/client"
"go.temporal.io/sdk/worker"
"github.com/rockliang/poimen/workflows/action"
"github.com/rockliang/poimen/workflows/internal/config"
"github.com/rockliang/poimen/workflows/internal/health"
"github.com/rockliang/poimen/workflows/internal/logging"
"github.com/rockliang/poimen/workflows/statemachine"
"forgejo.riotpiao.com/rock/poimen-workflows/action"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/config"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/health"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/logging"
"forgejo.riotpiao.com/rock/poimen-workflows/statemachine"
)
func main() {
+1
View File
@@ -43,3 +43,4 @@ require (
google.golang.org/grpc v1.82.1 // indirect
google.golang.org/protobuf v1.36.12 // indirect
)
View File
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"go.temporal.io/sdk/client"
"github.com/rockliang/poimen/workflows/pkg/db"
"forgejo.riotpiao.com/rock/poimen-workflows/pkg/db"
)
// Server handles HTTP routing for workflow APIs
+2 -2
View File
@@ -11,8 +11,8 @@ import (
"github.com/google/uuid"
"go.temporal.io/sdk/client"
"github.com/rockliang/poimen/workflows/internal/routing"
"github.com/rockliang/poimen/workflows/pkg/db"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/routing"
"forgejo.riotpiao.com/rock/poimen-workflows/pkg/db"
)
// WorkflowNode matches frontend node type
+1 -1
View File
@@ -3,7 +3,7 @@ package routing
import (
"fmt"
"github.com/rockliang/poimen/workflows/pkg/db"
"forgejo.riotpiao.com/rock/poimen-workflows/pkg/db"
)
// CanvasConverter converts visual canvas to executable WorkflowSpec
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"fmt"
"strings"
"github.com/rockliang/poimen/workflows/pkg/db"
"forgejo.riotpiao.com/rock/poimen-workflows/pkg/db"
)
// CanvasValidator validates React Flow canvas (nodes + edges)
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"time"
"go.temporal.io/sdk/workflow"
"github.com/rockliang/poimen/workflows/internal/recovery"
"github.com/rockliang/poimen/workflows/internal/logging"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/recovery"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/logging"
)
// OrchestratorWorkflowWithRecovery orchestrates multi-agent work with recovery capabilities
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"fmt"
"time"
"github.com/rockliang/poimen/workflows/internal/routing"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/routing"
"go.temporal.io/sdk/log"
"go.temporal.io/sdk/temporal"
"go.temporal.io/sdk/workflow"
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"time"
"go.temporal.io/sdk/workflow"
"github.com/rockliang/poimen/workflows/action"
"github.com/rockliang/poimen/workflows/pkg/db"
"forgejo.riotpiao.com/rock/poimen-workflows/action"
"forgejo.riotpiao.com/rock/poimen-workflows/pkg/db"
)
type WorkflowGraphQueryInput struct {
+3 -3
View File
@@ -7,9 +7,9 @@ import (
"time"
"github.com/stretchr/testify/assert"
"github.com/rockliang/poimen/workflows/internal/board"
"github.com/rockliang/poimen/workflows/internal/pause"
"github.com/rockliang/poimen/workflows/internal/recovery"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/board"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/pause"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/recovery"
)
// TestConcurrentWorkflows tests multiple workflows executing concurrently
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/rockliang/poimen/workflows/action"
"forgejo.riotpiao.com/rock/poimen-workflows/action"
)
func TestGitCloneAndFetch(t *testing.T) {
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"testing"
"time"
"github.com/rockliang/poimen/workflows/internal/routing"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/routing"
"github.com/stretchr/testify/require"
)
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"fmt"
"testing"
"github.com/rockliang/poimen/workflows/internal/routing"
"github.com/rockliang/poimen/workflows/statemachine"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/routing"
"forgejo.riotpiao.com/rock/poimen-workflows/statemachine"
"github.com/stretchr/testify/require"
"go.temporal.io/sdk/testsuite"
)
+2 -2
View File
@@ -8,8 +8,8 @@ import (
"github.com/stretchr/testify/assert"
"go.temporal.io/sdk/client"
"github.com/rockliang/poimen/workflows/internal/config"
"github.com/rockliang/poimen/workflows/statemachine"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/config"
"forgejo.riotpiao.com/rock/poimen-workflows/statemachine"
)
// TestTemporalConnection verifies the worker is connected and healthy
+2 -2
View File
@@ -8,8 +8,8 @@ import (
"testing"
"time"
"github.com/rockliang/poimen/workflows/internal/routing"
"github.com/rockliang/poimen/workflows/statemachine"
"forgejo.riotpiao.com/rock/poimen-workflows/internal/routing"
"forgejo.riotpiao.com/rock/poimen-workflows/statemachine"
"github.com/stretchr/testify/require"
"go.temporal.io/sdk/client"
)
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"time"
"github.com/stretchr/testify/assert"
"github.com/rockliang/poimen/workflows/statemachine"
"forgejo.riotpiao.com/rock/poimen-workflows/statemachine"
)
func TestTypesDefaults(t *testing.T) {