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