Repository navigation
chore: Init executor service #292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
0bb9231
59cf0d6
53ef008
568bd0f
6d0b16d
cd974e5
8b2f93f
396b2ba
430bd81
0538ae3
f9bcf3c
9c4f4a8
673b8b7
084a732
5c015ae
f8cc53f
b58700c
6904fbb
81d5b21
9503780
5635b68
0f0dc6c
e2ea8fb
4ee26b9
3af8000
bd1231c
71cb567
b39878e
20dd695
46e29f1
4e7d7cf
5acad2e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| TestRequests/* |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| EXECUTOR_PORT=8080 | ||
|
|
||
| EXECUTOR_DB_DSN="autobuild.db" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| autobuild.db |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # Executor Go Module | ||
|
|
||
| ## Prod like execution | ||
| Script to startup dagger | ||
|
|
||
| ```sh | ||
| docker run \ | ||
| --name dagger-engine \ | ||
| --privileged \ | ||
| -p 8081:8081 \ | ||
| -e DAGGER_ENGINE_PORT=8081 \ | ||
| -v dagger-engine-cache:/var/lib/dagger \ | ||
| --restart unless-stopped \ | ||
| registry.dagger.io/engine:v0.12.0 | ||
| ``` | ||
|
|
||
| Script to start go service | ||
|
|
||
| ```sh | ||
| _DAGGER_RUNNER_HOST=tcp://localhost:8081 EXECUTOR_PROFILE=local go run main.go | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use the runner-host variable recognized by Dagger. Dagger
|
||
| ``` | ||
|
|
||
| ## Local Execution | ||
|
|
||
| ```sh | ||
| EXECUTOR_PROFILE=local go run main.go | ||
| ``` | ||
|
|
||
| No separate dagger service is required as it will fallback to starting it's own container. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| package config | ||
|
|
||
| import ( | ||
| "log" | ||
| "os" | ||
| "slices" | ||
|
|
||
| "github.com/joho/godotenv" | ||
| ) | ||
|
|
||
| var validProfiles = [1]string{"local"} | ||
|
|
||
| func LoadProfile() { | ||
| appProfile := os.Getenv("EXECUTOR_PROFILE") | ||
|
|
||
| if appProfile == "" || !slices.Contains(validProfiles[:], appProfile) { | ||
| log.Fatal("Please pass along a valid application profile") | ||
| } | ||
|
|
||
| envFile := ".env." + appProfile | ||
| err := godotenv.Load(envFile) | ||
| if err != nil { | ||
| log.Fatal("Error ocurred while loading env file: ", envFile) | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| package config | ||
|
|
||
| import ( | ||
| "net/http" | ||
| "os" | ||
| "time" | ||
| ) | ||
|
|
||
| func InitServer(mux *http.ServeMux) (string, *http.Server) { | ||
|
|
||
| // Configure server settings explicitly | ||
| serverPortAddr := ":" + os.Getenv("EXECUTOR_PORT") | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Authorization Bypass Reachability: External Bind the local executor to loopback. With
|
||
| server := &http.Server{ | ||
| Addr: serverPortAddr, | ||
| Handler: mux, | ||
| ReadTimeout: 10 * time.Second, // Max duration reading the entire request | ||
| WriteTimeout: 10 * time.Second, // Max duration writing the response | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Allow synchronous builds to return after ten seconds. For a stage such as
|
||
| MaxHeaderBytes: 1 << 20, // 1 MB max header size | ||
| } | ||
| return serverPortAddr, server | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| package dto | ||
|
|
||
| import "github.com/google/uuid" | ||
|
|
||
| type StageBuildDTO struct { | ||
| Id uuid.UUID `json:"id"` | ||
|
|
||
| StageId uuid.UUID `json:"stageId"` | ||
|
|
||
| StageName string `json:"stageName"` | ||
|
|
||
| StageOrder int `json:"stageOrder"` | ||
|
|
||
| CurrentState StageExecutionState `json:"stageExecutionState"` | ||
|
|
||
| LogPath string `json:"logPath"` | ||
| } | ||
|
|
||
| type PipelineBuildDTO struct { | ||
| Id uuid.UUID `json:"id"` | ||
|
|
||
| PipelineId uuid.UUID `json:"pipelineId"` | ||
|
|
||
| PipelineName string `json:"pipelineName"` | ||
|
|
||
| CurrentState PipelineExecutionState `json:"currentState"` | ||
|
|
||
| StageBuilds []StageBuildDTO `json:"stageBuilds"` | ||
| } | ||
|
|
||
| type StageDTO struct { | ||
| Id uuid.UUID `json:"id"` | ||
|
|
||
| Name string `json:"name"` | ||
|
|
||
| ScriptType string `json:"scriptType"` | ||
|
|
||
| Command string `json:"command"` | ||
|
|
||
| StageOrder int `json:"stageOrder"` | ||
| } | ||
|
|
||
| type PipelineDTO struct { | ||
| Id uuid.UUID `json:"id"` | ||
|
|
||
| Name string `json:"name"` | ||
|
|
||
| Stages []StageDTO `json:"stages"` | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| package dto | ||
|
|
||
| type StageExecutionState string | ||
|
|
||
| const ( | ||
| StageWaiting StageExecutionState = "WAITING" | ||
| StageRunning StageExecutionState = "RUNNING" | ||
| StageSuccess StageExecutionState = "SUCCESS" | ||
| StageFailed StageExecutionState = "FAILED" | ||
| StageStopped StageExecutionState = "STOPPED" | ||
| ) | ||
|
|
||
|
|
||
| type PipelineExecutionState string | ||
|
|
||
| const ( | ||
| PipelineWaiting PipelineExecutionState = "WAITING" | ||
| PipelineRunning PipelineExecutionState = "RUNNING" | ||
| PipelineSuccess PipelineExecutionState = "SUCCESS" | ||
| PipelineFailed PipelineExecutionState = "FAILED" | ||
| ) | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| package entity | ||
|
|
||
| import ( | ||
| "github.com/google/uuid" | ||
| "gorm.io/gorm" | ||
| ) | ||
|
|
||
| type PipelineExecutionState string | ||
|
|
||
| const ( | ||
| PipelineWaiting PipelineExecutionState = "WAITING" | ||
| PipelineRunning PipelineExecutionState = "RUNNING" | ||
| PipelineSuccess PipelineExecutionState = "SUCCESS" | ||
| PipelineFailed PipelineExecutionState = "FAILED" | ||
| ) | ||
|
|
||
| type StageExecutionState string | ||
|
|
||
| const ( | ||
| StageWaiting StageExecutionState = "WAITING" | ||
| StageRunning StageExecutionState = "RUNNING" | ||
| StageSuccess StageExecutionState = "SUCCESS" | ||
| StageFailed StageExecutionState = "FAILED" | ||
| StageStopped StageExecutionState = "STOPPED" | ||
| ) | ||
|
|
||
| type StageBuild struct { | ||
| ID uuid.UUID `gorm:"type:uuid;primaryKey"` | ||
| StageID uuid.UUID `gorm:"type:uuid;not null;column:stage_id"` | ||
| StageName string `gorm:"type:varchar(255);not null;column:stage_name"` | ||
| CurrentState StageExecutionState `gorm:"type:varchar(20);not null;column:stage_build_current_state;default:WAITING"` | ||
| StageOrder int `gorm:"not null;column:stage_order"` | ||
| LogPath string `gorm:"not null;column:log_path"` | ||
| } | ||
|
|
||
| func (s *StageBuild) BeforeCreate(tx *gorm.DB) error { | ||
| if s.ID == uuid.Nil { | ||
| s.ID = uuid.New() | ||
| } | ||
| if s.CurrentState == "" { | ||
| s.CurrentState = StageWaiting | ||
| } | ||
| return nil | ||
| } | ||
|
|
||
| type PipelineStageBuild struct { | ||
| PipelineBuildID uuid.UUID `gorm:"type:uuid;primaryKey;column:pipeline_build_id;constraint:OnDelete:CASCADE;"` | ||
| StageBuildID uuid.UUID `gorm:"type:uuid;primaryKey;column:stage_build_id;constraint:OnDelete:CASCADE;"` | ||
| } | ||
|
|
||
| type PipelineBuild struct { | ||
| ID uuid.UUID `gorm:"type:uuid;primaryKey"` | ||
| PipelineID uuid.UUID `gorm:"type:uuid;not null;column:pipeline_id"` | ||
| PipelineName string `gorm:"type:varchar(255);not null;column:pipeline_name"` | ||
| StageBuilds []StageBuild `gorm:"many2many:pipeline_stage_builds;joinForeignKey:PipelineBuildID;joinReferences:StageBuildID"` | ||
| CurrentState PipelineExecutionState `gorm:"type:varchar(20);not null;column:pipeline_build_current_state;default:WAITING"` | ||
| } | ||
|
|
||
| func (p *PipelineBuild) BeforeCreate(tx *gorm.DB) error { | ||
| if p.ID == uuid.Nil { | ||
| p.ID = uuid.New() | ||
| } | ||
| if p.CurrentState == "" { | ||
| p.CurrentState = PipelineWaiting | ||
| } | ||
| return nil | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| package customerror | ||
|
|
||
| type NotFoundError struct { | ||
| Message string | ||
| } | ||
|
|
||
| func (e *NotFoundError) Error() string { | ||
| return e.Message | ||
| } | ||
|
|
||
| func NewNotFoundError(msg string) *NotFoundError { | ||
| return &NotFoundError{Message: msg} | ||
| } | ||
|
|
||
| // Is allows errors.Is() to match any *NotFoundError regardless of Message value. | ||
| func (e *NotFoundError) Is(target error) bool { | ||
| _, ok := target.(*NotFoundError) | ||
| return ok | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| module github.com/AutoBuilders/AutoBuild/executor | ||
|
|
||
| go 1.27.3 | ||
|
|
||
| require ( | ||
| dagger.io/dagger v0.21.11 | ||
| github.com/google/uuid v1.6.0 | ||
| github.com/joho/godotenv v1.5.1 | ||
| gorm.io/driver/sqlite v1.6.0 | ||
| gorm.io/gorm v1.31.2 | ||
| ) | ||
|
|
||
| require ( | ||
| github.com/99designs/gqlgen v0.17.89 // indirect | ||
| github.com/Khan/genqlient v0.8.1 // indirect | ||
| github.com/adrg/xdg v0.5.3 // indirect | ||
| github.com/cespare/xxhash/v2 v2.3.0 // indirect | ||
| github.com/dagger/querybuilder v0.0.0-20260402040506-574a5e81cb59 // indirect | ||
| github.com/go-logr/logr v1.4.3 // indirect | ||
| github.com/go-logr/stdr v1.2.2 // indirect | ||
| github.com/jinzhu/inflection v1.0.0 // indirect | ||
| github.com/jinzhu/now v1.1.5 // indirect | ||
| github.com/mattn/go-sqlite3 v1.14.22 // indirect | ||
| github.com/mitchellh/go-homedir v1.1.0 // indirect | ||
| github.com/sosodev/duration v1.4.0 // indirect | ||
| github.com/vektah/gqlparser/v2 v2.5.32 // indirect | ||
| go.opentelemetry.io/auto/sdk v1.2.1 // indirect | ||
| go.opentelemetry.io/otel v1.43.0 // indirect | ||
| go.opentelemetry.io/otel/metric v1.43.0 // indirect | ||
| go.opentelemetry.io/otel/trace v1.43.0 // indirect | ||
| golang.org/x/sync v0.20.0 // indirect | ||
| golang.org/x/sys v0.42.0 // indirect | ||
| golang.org/x/text v0.34.0 // indirect | ||
| ) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| dagger.io/dagger v0.21.11 h1:k16ldA2APuNu5TUY2AChBOPXSNQZZC4ZeTlFcICgRYg= | ||
| dagger.io/dagger v0.21.11/go.mod h1:XYoyTW0Op0iokDY17CsYoO2TJEWNwR9JyxuOQMz/2xE= | ||
| github.com/99designs/gqlgen v0.17.89 h1:KzEcxPiMgQoMw3m/E85atUEHyZyt0PbAflMia5Kw8z8= | ||
| github.com/99designs/gqlgen v0.17.89/go.mod h1:GFqruTVGB7ZTdrf1uzOagpXbY7DrEt1pIxnTdhIbWvQ= | ||
| github.com/Khan/genqlient v0.8.1 h1:wtOCc8N9rNynRLXN3k3CnfzheCUNKBcvXmVv5zt6WCs= | ||
| github.com/Khan/genqlient v0.8.1/go.mod h1:R2G6DzjBvCbhjsEajfRjbWdVglSH/73kSivC9TLWVjU= | ||
| github.com/adrg/xdg v0.5.3 h1:xRnxJXne7+oWDatRhR1JLnvuccuIeCoBu2rtuLqQB78= | ||
| github.com/adrg/xdg v0.5.3/go.mod h1:nlTsY+NNiCBGCK2tpm09vRqfVzrc2fLmXGpBLF0zlTQ= | ||
| github.com/agnivade/levenshtein v1.2.1 h1:EHBY3UOn1gwdy/VbFwgo4cxecRznFk7fKWN1KOX7eoM= | ||
| github.com/agnivade/levenshtein v1.2.1/go.mod h1:QVVI16kDrtSuwcpd0p1+xMC6Z/VfhtCyDIjcwga4/DU= | ||
| github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 h1:bvNMNQO63//z+xNgfBlViaCIJKLlCJ6/fmUseuG0wVQ= | ||
| github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8= | ||
| github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= | ||
| github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= | ||
| github.com/dagger/querybuilder v0.0.0-20260402040506-574a5e81cb59 h1:g6vfdGRyz6fAjfHz5FyYPZgHy8qcQ31fHrBl1iCOzxw= | ||
| github.com/dagger/querybuilder v0.0.0-20260402040506-574a5e81cb59/go.mod h1:jsdUJeYzcbyK1j/EqMGPrQgNYxl/Zfg06vvM9C/xXxs= | ||
| github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= | ||
| github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= | ||
| github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= | ||
| github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= | ||
| github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= | ||
| github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= | ||
| github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= | ||
| github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= | ||
| github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= | ||
| github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= | ||
| github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= | ||
| github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= | ||
| github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= | ||
| github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ= | ||
| github.com/jinzhu/now v1.1.5/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= | ||
| github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0= | ||
| github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4= | ||
| github.com/mattn/go-sqlite3 v1.14.22 h1:2gZY6PC6kBnID23Tichd1K+Z0oS6nE/XwU+Vz/5o4kU= | ||
| github.com/mattn/go-sqlite3 v1.14.22/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y= | ||
| github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= | ||
| github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= | ||
| github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= | ||
| github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= | ||
| github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= | ||
| github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= | ||
| github.com/sosodev/duration v1.4.0 h1:35ed0KiVFriGHHzZZJaZLgmTEEICIyt8Sx0RQfj9IjE= | ||
| github.com/sosodev/duration v1.4.0/go.mod h1:RQIBBX0+fMLc/D9+Jb/fwvVmo0eZvDDEERAikUR6SDg= | ||
| github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= | ||
| github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= | ||
| github.com/vektah/gqlparser/v2 v2.5.32 h1:k9QPJd4sEDTL+qB4ncPLflqTJ3MmjB9SrVzJrawpFSc= | ||
| github.com/vektah/gqlparser/v2 v2.5.32/go.mod h1:c1I28gSOVNzlfc4WuDlqU7voQnsqI6OG2amkBAFmgts= | ||
| go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64= | ||
| go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= | ||
| go.opentelemetry.io/otel v1.43.0 h1:mYIM03dnh5zfN7HautFE4ieIig9amkNANT+xcVxAj9I= | ||
| go.opentelemetry.io/otel v1.43.0/go.mod h1:JuG+u74mvjvcm8vj8pI5XiHy1zDeoCS2LB1spIq7Ay0= | ||
| go.opentelemetry.io/otel/metric v1.43.0 h1:d7638QeInOnuwOONPp4JAOGfbCEpYb+K6DVWvdxGzgM= | ||
| go.opentelemetry.io/otel/metric v1.43.0/go.mod h1:RDnPtIxvqlgO8GRW18W6Z/4P462ldprJtfxHxyKd2PY= | ||
| go.opentelemetry.io/otel/trace v1.43.0 h1:BkNrHpup+4k4w+ZZ86CZoHHEkohws8AY+WTX09nk+3A= | ||
| go.opentelemetry.io/otel/trace v1.43.0/go.mod h1:/QJhyVBUUswCphDVxq+8mld+AvhXZLhe+8WVFxiFff0= | ||
| golang.org/x/sync v0.20.0 h1:e0PTpb7pjO8GAtTs2dQ6jYa5BWYlMuX047Dco/pItO4= | ||
| golang.org/x/sync v0.20.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0= | ||
| golang.org/x/sys v0.42.0 h1:omrd2nAlyT5ESRdCLYdm3+fMfNFE/+Rf4bDIQImRJeo= | ||
| golang.org/x/sys v0.42.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= | ||
| golang.org/x/text v0.34.0 h1:oL/Qq0Kdaqxa1KbNeMKwQq0reLCCaFtqu2eNuSeNHbk= | ||
| golang.org/x/text v0.34.0/go.mod h1:homfLqTYRFyVYemLBFl5GgL/DWEiH5wcsQ5gSh1yziA= | ||
| gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= | ||
| gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= | ||
| gorm.io/driver/sqlite v1.6.0 h1:WHRRrIiulaPiPFmDcod6prc4l2VGVWHz80KspNsxSfQ= | ||
| gorm.io/driver/sqlite v1.6.0/go.mod h1:AO9V1qIQddBESngQUKWL9yoH93HIeA1X6V633rBwyT8= | ||
| gorm.io/gorm v1.31.2 h1:3o8FXNo9v9S858gil+3LlZA1LkCOzgb4g5BL64FgaCo= | ||
| gorm.io/gorm v1.31.2/go.mod h1:XyQVbO2k6YkOis7C2437jSit3SsDK72s7n7rsSHd+Gs= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use an engine version compatible with the SDK.
The module requires Dagger
v0.21.11. Its default CLI requires enginev0.19.0or later and rejects incompatible engines. Thisv0.12.0image cannot support the documented manual-engine workflow, even after runner selection and connectivity are corrected. Use an engine version that matches the SDK. (raw.githubusercontent.com)