Skip to content

Refactor: Eliminate Global Variable to Enhance Testability #4476

Refactor: Eliminate Global Variable to Enhance Testability

Refactor: Eliminate Global Variable to Enhance Testability #4476

Triggered via pull request December 26, 2024 15:06
Status Failure
Total duration 4m 25s
Artifacts

build.yml

on: pull_request
backend-checks
30s
backend-checks
frontend-checks
1m 14s
frontend-checks
docker-build-graphql-server
1m 7s
docker-build-graphql-server
docker-build-authentication-server
49s
docker-build-authentication-server
docker-build-subscriber
1m 5s
docker-build-subscriber
docker-build-event-tracker
1m 11s
docker-build-event-tracker
backend-unit-tests
1m 3s
backend-unit-tests
docker-build-frontend
2m 46s
docker-build-frontend
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 22 warnings
backend-unit-tests
undefined: mongodb.Operator
backend-unit-tests
undefined: mongodb.Operator
backend-unit-tests
undefined: authorization.GetUsername
backend-unit-tests
undefined: authorization.GetUsername
backend-unit-tests
undefined: authorization.GetUsername
backend-unit-tests
undefined: config.GetConfig
backend-unit-tests
undefined: authorization.GetUsername
backend-unit-tests
undefined: authorization.GetUsername
backend-unit-tests
NewProbeOperator.operator undefined (type func(mongodbOperator mongodb.MongoOperator) *Operator has no field or method operator)
backend-unit-tests
undefined: authorization.GetUsername
docker-build-subscriber
Process completed with exit code 1.
docker-build-graphql-server
Process completed with exit code 1.
docker-build-event-tracker
Process completed with exit code 1.
changes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
backend-checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
backend-checks
Restore cache failed: Dependencies file is not found in /home/runner/work/litmus/litmus. Supported file pattern: go.sum
backend-checks
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
gitleaks-scan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
frontend-checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
frontend-checks: chaoscenter/web/src/components/PipelineDiagram/Nodes/utils.tsx#L9
Unexpected any. Specify a different type
frontend-checks: chaoscenter/web/src/components/PipelineDiagram/PipelineGraph/PipelineGraph.tsx#L101
React Hook useLayoutEffect has missing dependencies: 'redrawSVGLinks', 'renderSVGLinksDelayed', and 'shouldDelayRender'. Either include them or remove the dependency array
frontend-checks: chaoscenter/web/src/components/PipelineDiagram/PipelineGraph/PipelineGraph.tsx#L141
React Hook useEffect has a missing dependency: 'panZoom'. Either include it or remove the dependency array
frontend-checks: chaoscenter/web/src/components/PipelineDiagram/hooks/useIntersection.ts#L39
React Hook useEffect has a missing dependency: 'compareFn'. Either include it or remove the dependency array. If 'compareFn' changes too often, find the parent component that defines it and wrap that definition in useCallback
frontend-checks: chaoscenter/web/src/components/PipelineDiagram/hooks/useResizeObserver.ts#L56
React Hook useEffect has missing dependencies: 'onResize' and 'parentSelector'. Either include them or remove the dependency array
docker-build-authentication-server
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
backend-unit-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
backend-unit-tests
Restore cache failed: Dependencies file is not found in /home/runner/work/litmus/litmus. Supported file pattern: go.sum
docker-build-graphql-server
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
web-unit-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
docker-build-frontend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636