Skip to content

WIP: Support concurrency for Actions #24984

WIP: Support concurrency for Actions

WIP: Support concurrency for Actions #24984

Triggered via pull request December 10, 2024 09:38
Status Failure
Total duration 5m 4s
Artifacts

pull-compliance.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

46 errors and 7 warnings
backend: modules/actions/workflows.go#L27
undefined: jobparser.UninterpolatedConcurrency
backend: modules/actions/workflows.go#L99
undefined: jobparser.UninterpolatedConcurrency
backend: modules/actions/workflows.go#L104
undefined: jobparser.ParseRawConcurrency
backend: modules/actions/workflows.go#L104
workflow.RawConcurrency undefined (type *model.Workflow has no field or method RawConcurrency)
backend
Process completed with exit code 1.
checks-backend
cannot use debug.SetCrashOutput (value of type func(f *os.File, opts debug.CrashOptions) error) as func(*os.File) error value in assignment
checks-backend: modules/actions/workflows.go#L27
undefined: jobparser.UninterpolatedConcurrency
checks-backend: modules/actions/workflows.go#L99
undefined: jobparser.UninterpolatedConcurrency
checks-backend: modules/actions/workflows.go#L104
undefined: jobparser.ParseRawConcurrency
checks-backend: modules/actions/workflows.go#L104
workflow.RawConcurrency undefined (type *model.Workflow has no field or method RawConcurrency)
checks-backend: services/actions/notifier_helper.go#L336
undefined: jobparser.ToGitContext
checks-backend: services/actions/notifier_helper.go#L337
undefined: jobparser.InterpolateWorkflowConcurrency
checks-backend
Process completed with exit code 2.
lint-go-gogit
cannot use debug.SetCrashOutput (value of type func(f *os.File, opts debug.CrashOptions) error) as func(*os.File) error value in assignment
lint-go-gogit: models/secret/secret.go#L13
could not import code.gitea.io/gitea/modules/actions (-: # code.gitea.io/gitea/modules/actions
lint-go-gogit: modules/actions/workflows.go#L27
undefined: jobparser.UninterpolatedConcurrency
lint-go-gogit: modules/actions/workflows.go#L99
undefined: jobparser.UninterpolatedConcurrency
lint-go-gogit: modules/actions/workflows.go#L104
undefined: jobparser.ParseRawConcurrency
lint-go-gogit: modules/actions/workflows.go#L104
workflow.RawConcurrency undefined (type *model.Workflow has no field or method RawConcurrency)) (typecheck)
lint-go-gogit: modules/actions/workflows.go#L27
undefined: jobparser.UninterpolatedConcurrency
lint-go-gogit: modules/actions/workflows.go#L99
undefined: jobparser.UninterpolatedConcurrency
lint-go-gogit: modules/actions/workflows.go#L104
undefined: jobparser.ParseRawConcurrency
lint-go-gogit: modules/actions/workflows.go#L104
workflow.RawConcurrency undefined (type *model.Workflow has no field or method RawConcurrency) (typecheck)
lint-go-gogit: routers/api/actions/artifacts.go#L100
cannot use req.Context().Value(artifactContextKey).(*ArtifactContext) (comma, ok expression of type *ArtifactContext) as "code.gitea.io/gitea/modules/web/types".ResponseStatusProvider value in return statement: *ArtifactContext does not implement "code.gitea.io/gitea/modules/web/types".ResponseStatusProvider (missing method WrittenStatus) (typecheck)
lint-go-windows: models/secret/secret.go#L13
could not import code.gitea.io/gitea/modules/actions (-: # code.gitea.io/gitea/modules/actions
lint-go-windows: modules/actions/workflows.go#L27
undefined: jobparser.UninterpolatedConcurrency
lint-go-windows: modules/actions/workflows.go#L99
undefined: jobparser.UninterpolatedConcurrency
lint-go-windows: modules/actions/workflows.go#L104
undefined: jobparser.ParseRawConcurrency
lint-go-windows: modules/actions/workflows.go#L104
workflow.RawConcurrency undefined (type *model.Workflow has no field or method RawConcurrency)) (typecheck)
lint-go-windows: modules/actions/workflows.go#L27
undefined: jobparser.UninterpolatedConcurrency
lint-go-windows: modules/actions/workflows.go#L99
undefined: jobparser.UninterpolatedConcurrency
lint-go-windows: modules/actions/workflows.go#L104
undefined: jobparser.ParseRawConcurrency
lint-go-windows: modules/actions/workflows.go#L104
workflow.RawConcurrency undefined (type *model.Workflow has no field or method RawConcurrency) (typecheck)
lint-go-windows: routers/api/actions/artifacts.go#L100
cannot use req.Context().Value(artifactContextKey).(*ArtifactContext) (comma, ok expression of type *ArtifactContext) as "code.gitea.io/gitea/modules/web/types".ResponseStatusProvider value in return statement: *ArtifactContext does not implement "code.gitea.io/gitea/modules/web/types".ResponseStatusProvider (missing method WrittenStatus) (typecheck)
lint-go-windows
cannot use debug.SetCrashOutput (value of type func(f *os.File, opts debug.CrashOptions) error) as func(*os.File) error value in assignment
lint-backend
cannot use debug.SetCrashOutput (value of type func(f *os.File, opts debug.CrashOptions) error) as func(*os.File) error value in assignment
lint-backend: models/secret/secret.go#L13
could not import code.gitea.io/gitea/modules/actions (-: # code.gitea.io/gitea/modules/actions
lint-backend: modules/actions/workflows.go#L27
undefined: jobparser.UninterpolatedConcurrency
lint-backend: modules/actions/workflows.go#L99
undefined: jobparser.UninterpolatedConcurrency
lint-backend: modules/actions/workflows.go#L104
undefined: jobparser.ParseRawConcurrency
lint-backend: modules/actions/workflows.go#L104
workflow.RawConcurrency undefined (type *model.Workflow has no field or method RawConcurrency)) (typecheck)
lint-backend: modules/actions/workflows.go#L27
undefined: jobparser.UninterpolatedConcurrency
lint-backend: modules/actions/workflows.go#L99
undefined: jobparser.UninterpolatedConcurrency
lint-backend: modules/actions/workflows.go#L104
undefined: jobparser.ParseRawConcurrency
lint-backend: modules/actions/workflows.go#L104
workflow.RawConcurrency undefined (type *model.Workflow has no field or method RawConcurrency) (typecheck)
lint-backend: routers/api/actions/artifacts.go#L100
cannot use req.Context().Value(artifactContextKey).(*ArtifactContext) (comma, ok expression of type *ArtifactContext) as "code.gitea.io/gitea/modules/web/types".ResponseStatusProvider value in return statement: *ArtifactContext does not implement "code.gitea.io/gitea/modules/web/types".ResponseStatusProvider (missing method WrittenStatus) (typecheck)
files-changed / detect
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-spell
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
backend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
checks-backend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-go-gogit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-go-windows
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-backend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636