Skip to content

Speed up queries in prod #264

Speed up queries in prod

Speed up queries in prod #264

Triggered via pull request November 18, 2024 22:01
Status Failure
Total duration 1m 45s
Artifacts

commit.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 6 warnings
Build and push Docker image
buildx failed with: ERROR: failed to solve: process "/bin/sh -c go build -o /app/bffsrv ./cmd/bffsrv" did not complete successfully: exit code: 1
Lint Go: store/postgres.go#L608
cannot use posts (variable of type []gen.GetFurryNewFeedRow) as []gen.CandidatePost value in return statement (typecheck)
Lint Go: scoring/materializer.go#L8
could not import github.com/strideynet/bsky-furry-feed/store (-: # github.com/strideynet/bsky-furry-feed/store
Lint Go: store/postgres.go#L608
cannot use posts (variable of type []gen.GetFurryNewFeedRow) as []gen.CandidatePost value in return statement) (typecheck)
Lint Go: cmd/bffsrv/main.go#L19
could not import github.com/strideynet/bsky-furry-feed/store (-: # github.com/strideynet/bsky-furry-feed/store
Lint Go: store/postgres.go#L608
cannot use posts (variable of type []gen.GetFurryNewFeedRow) as []gen.CandidatePost value in return statement) (typecheck)
Lint Go: testenv/testenv.go#L15
could not import github.com/strideynet/bsky-furry-feed/store (-: # github.com/strideynet/bsky-furry-feed/store
Lint Go: store/postgres.go#L608
cannot use posts (variable of type []gen.GetFurryNewFeedRow) as []gen.CandidatePost value in return statement) (typecheck)
Lint Go: api/moderation_test.go#L27
harness.PDS undefined (type *apiHarness has no field or method PDS) (typecheck)
Lint Go: api/moderation_test.go#L28
harness.PDS undefined (type *apiHarness has no field or method PDS) (typecheck)
Lint Go: api/moderation_test.go#L30
harness.Store undefined (type *apiHarness has no field or method Store) (typecheck)
Test Go: store/postgres.go#L608
cannot use posts (variable of type []gen.GetFurryNewFeedRow) as []gen.CandidatePost value in return statement
Test Go
Process completed with exit code 1.
lint-sql
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint-sql
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build and push Docker image
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, docker/setup-buildx-action@v2, docker/login-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/
Lint Go
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Check sqlc generation
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test Go
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/