Skip to content

upgrade devbox runtime crd, rewrite devbox controller. #2361

upgrade devbox runtime crd, rewrite devbox controller.

upgrade devbox runtime crd, rewrite devbox controller. #2361

Triggered via pull request September 11, 2024 06:31
Status Failure
Total duration 6m 17s
Artifacts 1

controllers.yml

on: pull_request
Matrix: image-build
save-sealos  /  save-sealos
19s
save-sealos / save-sealos
resolve-modules
7s
resolve-modules
Matrix: build-cluster-image
Matrix: golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

142 errors and 22 warnings
golangci-lint (./controllers/app)
cannot range over 3 (untyped int constant) (typecheck)
golangci-lint (./controllers/app)
t.UTC undefined (type MicroTime has no field or method UTC) (typecheck)
golangci-lint (./controllers/app)
t.UTC undefined (type MicroTime has no field or method UTC) (typecheck)
golangci-lint (./controllers/app)
t.Format undefined (type Time has no field or method Format) (typecheck)
golangci-lint (./controllers/app)
t.UTC undefined (type Time has no field or method UTC) (typecheck)
golangci-lint (./controllers/app)
t.UTC undefined (type Time has no field or method UTC) (typecheck)
golangci-lint (./controllers/app)
t.UTC undefined (type Time has no field or method UTC) (typecheck)
golangci-lint (./controllers/app)
in.Object undefined (type *InternalEvent has no field or method Object) (typecheck)
golangci-lint (./controllers/app)
in.Object undefined (type *InternalEvent has no field or method Object) (typecheck)
golangci-lint (./controllers/app)
a.Lock undefined (type *onceError has no field or method Lock) (typecheck)
golangci-lint (./controllers/job/heartbeat)
The job was canceled because "_controllers_app" failed.
golangci-lint (./controllers/job/heartbeat)
cannot range over 3 (untyped int constant) (typecheck)
golangci-lint (./controllers/job/heartbeat)
undefined: klog (typecheck)
golangci-lint (./controllers/job/heartbeat)
undefined: klog (typecheck)
golangci-lint (./controllers/job/heartbeat)
undefined: klog (typecheck)
golangci-lint (./controllers/job/heartbeat)
fieldCache.Lock undefined (type *fieldsCache has no field or method Lock) (typecheck)
golangci-lint (./controllers/job/heartbeat)
fieldCache.Unlock undefined (type *fieldsCache has no field or method Unlock) (typecheck)
golangci-lint (./controllers/job/heartbeat)
missing return (typecheck)
golangci-lint (./controllers/job/heartbeat)
a.Lock undefined (type *onceError has no field or method Lock) (typecheck)
golangci-lint (./controllers/job/heartbeat)
a.Unlock undefined (type *onceError has no field or method Unlock) (typecheck)
golangci-lint (./controllers/db/adminer)
The job was canceled because "_controllers_app" failed.
golangci-lint (./controllers/db/adminer): controllers/db/adminer/controllers/adminer_controller.go#L111
r.Get undefined (type *AdminerReconciler has no field or method Get) (typecheck)
golangci-lint (./controllers/db/adminer): controllers/db/adminer/controllers/adminer_controller.go#L117
r.Update undefined (type *AdminerReconciler has no field or method Update) (typecheck)
golangci-lint (./controllers/db/adminer): controllers/db/adminer/controllers/adminer_controller.go#L123
r.Update undefined (type *AdminerReconciler has no field or method Update) (typecheck)
golangci-lint (./controllers/db/adminer): controllers/db/adminer/controllers/adminer_controller.go#L135
r.Delete undefined (type *AdminerReconciler has no field or method Delete) (typecheck)
golangci-lint (./controllers/db/adminer): controllers/db/adminer/controllers/adminer_controller.go#L380
r.Status undefined (type *AdminerReconciler has no field or method Status) (typecheck)
golangci-lint (./controllers/db/adminer): controllers/db/adminer/controllers/adminer_controller.go#L455
r.Status undefined (type *AdminerReconciler has no field or method Status) (typecheck)
golangci-lint (./controllers/db/adminer): controllers/db/adminer/controllers/adminer_controller.go#L470
r.Update undefined (type *AdminerReconciler has no field or method Update) (typecheck)
golangci-lint (./controllers/devbox)
The job was canceled because "_controllers_app" failed.
golangci-lint (./controllers/devbox): controllers/devbox/internal/controller/devbox_controller.go#L73
r.Get undefined (type *DevboxReconciler has no field or method Get) (typecheck)
golangci-lint (./controllers/devbox): controllers/devbox/internal/controller/devbox_controller.go#L87
r.Get undefined (type *DevboxReconciler has no field or method Get) (typecheck)
golangci-lint (./controllers/devbox): controllers/devbox/internal/controller/devbox_controller.go#L91
r.Update undefined (type *DevboxReconciler has no field or method Update) (typecheck)
golangci-lint (./controllers/devbox): controllers/devbox/internal/controller/devbox_controller.go#L106
r.Update undefined (type *DevboxReconciler has no field or method Update) (typecheck)
golangci-lint (./controllers/devbox): controllers/devbox/internal/controller/devbox_controller.go#L114
r.Status undefined (type *DevboxReconciler has no field or method Status) (typecheck)
golangci-lint (./controllers/devbox): controllers/devbox/internal/controller/devbox_controller.go#L130
r.Get undefined (type *DevboxReconciler has no field or method Get) (typecheck)
golangci-lint (./controllers/account)
The job was canceled because "_controllers_app" failed.
golangci-lint (./controllers/account): controllers/account/controllers/account_controller.go#L100
r.Get undefined (type *AccountReconciler has no field or method Get) (typecheck)
golangci-lint (./controllers/account): controllers/account/controllers/billing_controller.go#L80
r.Get undefined (type *BillingReconciler has no field or method Get) (typecheck)
golangci-lint (./controllers/account): controllers/account/controllers/billinginfoquery_controller.go#L65
r.Get undefined (type *BillingInfoQueryReconciler has no field or method Get) (typecheck)
golangci-lint (./controllers/account): controllers/account/controllers/billinginfoquery_controller.go#L73
r.Status undefined (type *BillingInfoQueryReconciler has no field or method Status) (typecheck)
golangci-lint (./controllers/account): controllers/account/controllers/billinginfoquery_controller.go#L95
r.List undefined (type *BillingInfoQueryReconciler has no field or method List) (typecheck)
golangci-lint (./controllers/account): controllers/account/controllers/billinginfoquery_controller.go#L102
r.Delete undefined (type *BillingInfoQueryReconciler has no field or method Delete) (typecheck)
golangci-lint (./controllers/account): controllers/account/controllers/billinginfoquery_controller.go#L112
r.Get undefined (type *BillingInfoQueryReconciler has no field or method Get) (typecheck)
golangci-lint (./controllers/job/init)
The job was canceled because "_controllers_app" failed.
golangci-lint (./controllers/job/init)
cannot range over 3 (untyped int constant) (typecheck)
golangci-lint (./controllers/job/init)
a.Lock undefined (type *onceError has no field or method Lock) (typecheck)
golangci-lint (./controllers/job/init)
a.Unlock undefined (type *onceError has no field or method Unlock) (typecheck)
golangci-lint (./controllers/job/init)
a.Lock undefined (type *onceError has no field or method Lock) (typecheck)
golangci-lint (./controllers/job/init)
a.Unlock undefined (type *onceError has no field or method Unlock) (typecheck)
golangci-lint (./controllers/job/init)
missing return (typecheck)
golangci-lint (./controllers/job/init)
m.Lock undefined (type *mmapper has no field or method Lock) (typecheck)
golangci-lint (./controllers/job/init)
m.Unlock undefined (type *mmapper has no field or method Unlock) (typecheck)
golangci-lint (./controllers/job/init)
m.Lock undefined (type *mmapper has no field or method Lock) (typecheck)
golangci-lint (./controllers/job/init)
m.Unlock undefined (type *mmapper has no field or method Unlock) (typecheck)
golangci-lint (./controllers/license)
The job was canceled because "_controllers_app" failed.
golangci-lint (./controllers/license): controllers/license/internal/controller/license_activator.go#L55
l.Status undefined (type *LicenseActivator has no field or method Status) (typecheck)
golangci-lint (./controllers/license): controllers/license/internal/controller/license_controller.go#L60
r.Get undefined (type *LicenseReconciler has no field or method Get) (typecheck)
golangci-lint (./controllers/license): controllers/license/internal/controller/license_controller.go#L89
r.Status undefined (type *LicenseReconciler has no field or method Status) (typecheck)
golangci-lint (./controllers/license): controllers/license/internal/controller/license_controller.go#L96
r.Status undefined (type *LicenseReconciler has no field or method Status) (typecheck)
golangci-lint (./controllers/license): controllers/license/internal/controller/license_controller.go#L103
r.Status undefined (type *LicenseReconciler has no field or method Status) (typecheck)
golangci-lint (./controllers/node)
The job was canceled because "_controllers_app" failed.
golangci-lint (./controllers/node)
Cannot open: File exists
golangci-lint (./controllers/node)
Cannot open: File exists
golangci-lint (./controllers/node)
Cannot open: File exists
golangci-lint (./controllers/node)
Cannot open: File exists
golangci-lint (./controllers/node)
Cannot open: File exists
golangci-lint (./controllers/node)
Cannot open: File exists
golangci-lint (./controllers/node)
Cannot open: File exists
golangci-lint (./controllers/node)
Cannot open: File exists
golangci-lint (./controllers/node)
Cannot open: File exists
golangci-lint (./controllers/node)
Cannot open: File exists
golangci-lint (./controllers/user)
The job was canceled because "_controllers_app" failed.
golangci-lint (./controllers/user)
Cannot open: File exists
golangci-lint (./controllers/user)
Cannot open: File exists
golangci-lint (./controllers/user)
Cannot open: File exists
golangci-lint (./controllers/user)
Cannot open: File exists
golangci-lint (./controllers/user)
Cannot open: File exists
golangci-lint (./controllers/user)
Cannot open: File exists
golangci-lint (./controllers/user)
Cannot open: File exists
golangci-lint (./controllers/user)
Cannot open: File exists
golangci-lint (./controllers/user)
Cannot open: File exists
golangci-lint (./controllers/user)
Cannot open: File exists
golangci-lint (./controllers/objectstorage)
The job was canceled because "_controllers_app" failed.
golangci-lint (./controllers/objectstorage)
Cannot open: File exists
golangci-lint (./controllers/objectstorage)
Cannot open: File exists
golangci-lint (./controllers/objectstorage)
Cannot open: File exists
golangci-lint (./controllers/objectstorage)
Cannot open: File exists
golangci-lint (./controllers/objectstorage)
Cannot open: File exists
golangci-lint (./controllers/objectstorage)
Cannot open: File exists
golangci-lint (./controllers/objectstorage)
Cannot open: File exists
golangci-lint (./controllers/objectstorage)
Cannot open: File exists
golangci-lint (./controllers/objectstorage)
Cannot open: File exists
golangci-lint (./controllers/objectstorage)
Cannot open: File exists
golangci-lint (./controllers/pkg)
The job was canceled because "_controllers_app" failed.
golangci-lint (./controllers/pkg)
Cannot open: File exists
golangci-lint (./controllers/pkg)
Cannot open: File exists
golangci-lint (./controllers/pkg)
Cannot open: File exists
golangci-lint (./controllers/pkg)
Cannot open: File exists
golangci-lint (./controllers/pkg)
Cannot open: File exists
golangci-lint (./controllers/pkg)
Cannot open: File exists
golangci-lint (./controllers/pkg)
Cannot open: File exists
golangci-lint (./controllers/pkg)
Cannot open: File exists
golangci-lint (./controllers/pkg)
Cannot open: File exists
golangci-lint (./controllers/pkg)
Cannot open: File exists
golangci-lint (./controllers/terminal)
The job was canceled because "_controllers_app" failed.
golangci-lint (./controllers/terminal)
Cannot open: File exists
golangci-lint (./controllers/terminal)
Cannot open: File exists
golangci-lint (./controllers/terminal)
Cannot open: File exists
golangci-lint (./controllers/terminal)
Cannot open: File exists
golangci-lint (./controllers/terminal)
Cannot open: File exists
golangci-lint (./controllers/terminal)
Cannot open: File exists
golangci-lint (./controllers/terminal)
Cannot open: File exists
golangci-lint (./controllers/terminal)
Cannot open: File exists
golangci-lint (./controllers/terminal)
Cannot open: File exists
golangci-lint (./controllers/terminal)
Cannot open: File exists
golangci-lint (./controllers/resources)
The job was canceled because "_controllers_app" failed.
golangci-lint (./controllers/resources)
Cannot open: File exists
golangci-lint (./controllers/resources)
Cannot open: File exists
golangci-lint (./controllers/resources)
Cannot open: File exists
golangci-lint (./controllers/resources)
Cannot open: File exists
golangci-lint (./controllers/resources)
Cannot open: File exists
golangci-lint (./controllers/resources)
Cannot open: File exists
golangci-lint (./controllers/resources)
Cannot open: File exists
golangci-lint (./controllers/resources)
Cannot open: File exists
golangci-lint (./controllers/resources)
Cannot open: File exists
golangci-lint (./controllers/resources)
Cannot open: File exists
resolve-modules
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
save-sealos / save-sealos
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
image-build (objectstorage, objectstorage)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, docker/setup-qemu-action@v2, docker/setup-buildx-action@v2, docker/metadata-action@v4, docker/build-push-action@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
image-build (node, node)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, docker/setup-qemu-action@v2, docker/setup-buildx-action@v2, docker/metadata-action@v4, docker/build-push-action@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
image-build (terminal, terminal)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, docker/setup-qemu-action@v2, docker/setup-buildx-action@v2, docker/metadata-action@v4, docker/build-push-action@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
image-build (user, user)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, docker/setup-qemu-action@v2, docker/setup-buildx-action@v2, docker/metadata-action@v4, docker/build-push-action@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
image-build (db-adminer, db/adminer)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, docker/setup-qemu-action@v2, docker/setup-buildx-action@v2, docker/metadata-action@v4, docker/build-push-action@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
image-build (app, app)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, docker/setup-qemu-action@v2, docker/setup-buildx-action@v2, docker/metadata-action@v4, docker/build-push-action@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
image-build (resources, resources)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, docker/setup-qemu-action@v2, docker/setup-buildx-action@v2, docker/metadata-action@v4, docker/build-push-action@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
image-build (account, account)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, docker/setup-qemu-action@v2, docker/setup-buildx-action@v2, docker/metadata-action@v4, docker/build-push-action@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
image-build (devbox, devbox)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, docker/setup-qemu-action@v2, docker/setup-buildx-action@v2, docker/metadata-action@v4, docker/build-push-action@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
image-build (job-init, job/init)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, docker/setup-qemu-action@v2, docker/setup-buildx-action@v2, docker/metadata-action@v4, docker/build-push-action@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
image-build (job-heartbeat, job/heartbeat)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, docker/setup-qemu-action@v2, docker/setup-buildx-action@v2, docker/metadata-action@v4, docker/build-push-action@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
golangci-lint (./controllers/app)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
image-build (license, license)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, docker/setup-qemu-action@v2, docker/setup-buildx-action@v2, docker/metadata-action@v4, docker/build-push-action@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
golangci-lint (./controllers/node)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
golangci-lint (./controllers/user)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
golangci-lint (./controllers/objectstorage)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
golangci-lint (./controllers/pkg)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
golangci-lint (./controllers/terminal)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
golangci-lint (./controllers/resources)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "sealos". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
sealos
76.7 MB