Skip to content

Test database business logic #25241

Test database business logic

Test database business logic #25241

Triggered via pull request August 1, 2024 19:18
Status Failure
Total duration 12m 0s
Artifacts 2

ci.yaml

on: pull_request
changes
8s
changes
dependency-license-review
10s
dependency-license-review
Matrix: test-e2e
Matrix: test-go
update-flake
0s
update-flake
test-go-pg-16
4m 13s
test-go-pg-16
test-go-tailnet-integration
0s
test-go-tailnet-integration
chromatic
1m 53s
chromatic
deploy-wsproxies
0s
deploy-wsproxies
required
0s
required
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 3 warnings
lint: coderd/notifications.go#L231
ruleguard: Message "updated" is too short, it must be at least 16 characters long. (gocritic)
lint: enterprise/coderd/notifications_test.go#L113
ruleguard: This client is operating as the owner user, which has unrestricted permissions. Consider creating a different user. (gocritic)
lint: enterprise/coderd/notifications_test.go#L171
G601: Implicit memory aliasing in for loop. (gosec)
lint: codersdk/notifications.go#L71
var-naming: method parameter notificationTemplateId should be notificationTemplateID (revive)
lint: coderd/notifications/notifier.go#L146
empty-lines: extra empty line at the start of a block (revive)
lint: coderd/database/dbmem/dbmem.go#L2717
unused-receiver: method receiver 'q' is not referenced in method's body, consider removing or renaming it as _ (revive)
lint: coderd/database/dbmem/dbmem.go#L2713
var-naming: method GetNotificationTemplateById should be GetNotificationTemplateByID (revive)
lint: coderd/database/dbmem/dbmem.go#L7549
var-naming: method UpdateNotificationTemplateMethodById should be UpdateNotificationTemplateMethodByID (revive)
lint: coderd/database/dbauthz/dbauthz.go#L1477
var-naming: method GetNotificationTemplateById should be GetNotificationTemplateByID (revive)
lint: coderd/database/dbauthz/dbauthz.go#L3036
var-naming: method UpdateNotificationTemplateMethodById should be UpdateNotificationTemplateMethodByID (revive)
gen
Process completed with exit code 1.
test-go (macos-latest)
Process completed with exit code 1.
test-go-pg
Process completed with exit code 2.
test-go-pg-16
Process completed with exit code 2.
test-go (ubuntu-latest)
Process completed with exit code 1.
test-go-race
Process completed with exit code 1.
test-e2e-enterprise
Process completed with exit code 1.
test-go (windows-2022)
The action has timed out.
test-go (windows-2022)
Process completed with exit code 1.
required
Process completed with exit code 1.
test-go (macos-latest)
Not upgrading google-chrome, the latest version is already installed
test-e2e
No files were found with the provided path: ./site/test-results/**/debug-pprof-*.txt. No artifacts will be uploaded.
test-e2e
No files were found with the provided path: ./site/test-results/**/*.webm. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
debug-pprof-dumps-enterprise Expired
34.8 KB
sha256:96498d8b2e9512541303ae1d4d44893a0f5ad76262fb030b10fe7b2a40263fb6
failed-test-videos-enterprise Expired
1.85 MB
sha256:c732da261c95a439e08eec3e8793552bf8e2f111960e8c835b11cdfc7518dbd8