Skip to content

Initial codebase

Initial codebase #11

Triggered via pull request July 28, 2024 10:20
Status Success
Total duration 5m 3s
Artifacts 2

pull_request.yml

on: pull_request
Backend Unit Tests
31s
Backend Unit Tests
Frontend Unit Tests
27s
Frontend Unit Tests
code-analysis
1m 4s
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#L621
var-naming: var settingsJson should be settingsJSON (revive)
Linting: backend/internal/storage/postgres.go#L626
var-naming: var stateJson should be stateJSON (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-a42476612243d8159249db6192bdafafd88e8ac8", "frontend-coverage-pr1-a42476612243d8159249db6192bdafafd88e8ac8". 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-a42476612243d8159249db6192bdafafd88e8ac8 Expired
411 KB
frontend-coverage-pr1-a42476612243d8159249db6192bdafafd88e8ac8 Expired
777 Bytes