Skip to content

Initial codebase

Initial codebase #13

Triggered via pull request July 28, 2024 10:42
Status Success
Total duration 4m 59s
Artifacts 2

pull_request.yml

on: pull_request
Backend Unit Tests
36s
Backend Unit Tests
Frontend Unit Tests
22s
Frontend Unit Tests
code-analysis
46s
code-analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
Linting: backend/internal/collector/collector.go#L31
exported: type name will be used as collector.CollectorMetrics by other packages, and that stutters; consider calling this Metrics (revive)
Linting: backend/internal/datasource/datasource_mock.go#L8
exported: type name will be used as datasource.DatasourceMock by other packages, and that stutters; consider calling this Mock (revive)
Linting: backend/internal/embedding/provider.go#L42
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
Linting: backend/internal/embedding/provider.go#L48
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
Linting: backend/internal/embedding/provider_mock.go#L13
exported: type name will be used as embedding.EmbeddingProviderMock by other packages, and that stutters; consider calling this ProviderMock (revive)
Linting: backend/internal/llm/llm_mock.go#L7
exported: type name will be used as llm.LLMMock by other packages, and that stutters; consider calling this Mock (revive)
Linting: backend/internal/processor/processor.go#L28
exported: type name will be used as processor.ProcessorMetrics by other packages, and that stutters; consider calling this Metrics (revive)
Linting: backend/internal/processor/registry.go#L15
exported: type name will be used as processor.ProcessorUnit by other packages, and that stutters; consider calling this Unit (revive)
Linting: backend/internal/storage/postgres.go#L17
blank-imports: a blank import should be only in a main or test package, or have a comment justifying it (revive)
Linting: backend/internal/storage/postgres.go#L19
blank-imports: a blank import should be only in a main or test package, or have a comment justifying it (revive)
check-changes
The following actions uses Node.js version which is deprecated 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/
Frontend Unit Tests
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, 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/
Backend Unit Tests
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v4, 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/
Backend Unit Tests
Restore cache failed: Dependencies file is not found in /home/runner/work/smarty-pants/smarty-pants. Supported file pattern: go.sum
code-analysis
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/download-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/
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: "backend-coverage-pr1-1bd255b3dcc0cc42a16cb777b009d6fbd53480fe", "frontend-coverage-pr1-1bd255b3dcc0cc42a16cb777b009d6fbd53480fe". 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/
Linting
The following actions uses Node.js version which is deprecated 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/
Linting
Both go-version and go-version-file inputs are specified, only go-version will be used

Artifacts

Produced during runtime
Name Size
backend-coverage-pr1-1bd255b3dcc0cc42a16cb777b009d6fbd53480fe Expired
411 KB
frontend-coverage-pr1-1bd255b3dcc0cc42a16cb777b009d6fbd53480fe Expired
777 Bytes