Skip to content

Add Copilot instructions for Alexander Storage #13

Add Copilot instructions for Alexander Storage

Add Copilot instructions for Alexander Storage #13

Triggered via push December 4, 2025 16:25
Status Failure
Total duration 1m 3s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 13 warnings
Lint: internal/cache/redis/cache.go#L96
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
Lint: internal/config/config.go#L163
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
Lint: internal/repository/postgres/errors.go#L57
func `getPgErrorDetail` is unused (unused)
Lint: internal/repository/postgres/errors.go#L48
func `getPgErrorConstraint` is unused (unused)
Lint: internal/repository/postgres/errors.go#L34
func `isCheckViolation` is unused (unused)
Lint: internal/repository/postgres/errors.go#L29
func `isNotNullViolation` is unused (unused)
Lint: internal/repository/postgres/errors.go#L24
func `isForeignKeyViolation` is unused (unused)
Lint: internal/repository/postgres/db.go#L99
Error return value of `tx.Rollback` is not checked (errcheck)
Lint: internal/auth/middleware.go#L230
Error return value of `w.Write` is not checked (errcheck)
Lint: internal/auth/middleware.go#L157
Error return value of `store.UpdateLastUsed` is not checked (errcheck)
Lint
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0F7YxaQAAAAD46DoIPJ/yRr/LcU1BYlabRE0yRURHRTA1MTQARWRnZQ==
Lint: internal/auth/types.go#L64
exported: type name will be used as auth.AuthType by other packages, and that stutters; consider calling this Type (revive)
Lint: internal/domain/errors.go#L164
exported: type name will be used as domain.DomainError by other packages, and that stutters; consider calling this Error (revive)
Lint: internal/storage/filesystem/storage.go#L245
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Lint: internal/storage/filesystem/storage.go#L227
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Lint: internal/storage/filesystem/storage.go#L203
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Lint: internal/storage/filesystem/storage.go#L171
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Lint: internal/storage/filesystem/storage.go#L153
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Lint: internal/storage/filesystem/storage.go#L69
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Lint: internal/storage/interfaces.go#L111
exported: type name will be used as storage.StorageStats by other packages, and that stutters; consider calling this Stats (revive)
Lint
Failed to restore: Cache service responded with 400
Lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2