Skip to content

refactor: implement context based progress tracker #1145

refactor: implement context based progress tracker

refactor: implement context based progress tracker #1145

Triggered via pull request July 28, 2023 13:46
@zhenghaozzhenghaoz
synchronize #741
progress
Status Failure
Total duration 3m 59s
Artifacts

build_test.yml

on: pull_request
Matrix: integrate tests
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 8 warnings
lint: base/search/index_test.go#L26
could not import github.com/zhenghaoz/gorse/model/ranking (-: # github.com/zhenghaoz/gorse/model/ranking
lint: base/search/hnsw.go#L132
cannot use len(h.vectors) (value of type int) as int64 value in argument to progress.Start (typecheck)
lint: base/search/hnsw.go#L145
cannot use throughput (variable of type int) as int64 value in argument to span.Add (typecheck)
lint: base/search/hnsw.go#L368
cannot use trials (variable of type int) as int64 value in argument to progress.Start (typecheck)
lint: config/settings.go#L18
could not import github.com/zhenghaoz/gorse/model/click (-: # github.com/zhenghaoz/gorse/model/click
lint: config/settings.go#L19
could not import github.com/zhenghaoz/gorse/model/ranking (-: # github.com/zhenghaoz/gorse/model/ranking
lint: master/local_cache.go#L23
could not import github.com/zhenghaoz/gorse/model/click (-: # github.com/zhenghaoz/gorse/model/click
lint: master/local_cache.go#L24
could not import github.com/zhenghaoz/gorse/model/ranking (-: # github.com/zhenghaoz/gorse/model/ranking
lint: master/tasks.go#L33
could not import github.com/zhenghaoz/gorse/base/search (-: # github.com/zhenghaoz/gorse/base/search
lint: master/master.go#L175
m.RankingModel undefined (type *Master has no field or method RankingModel) (typecheck)
integrate tests (mongo)
Process completed with exit code 1.
integrate tests (mysql)
The job was canceled because "mongo" failed.
integrate tests (mysql)
The operation was canceled.
integrate tests (postgres)
The job was canceled because "mongo" failed.
integrate tests (postgres)
The operation was canceled.
unit tests: base/search/hnsw.go#L132
cannot use len(h.vectors) (value of type int) as int64 value in argument to progress.Start
unit tests: base/search/hnsw.go#L145
cannot use throughput (variable of type int) as int64 value in argument to span.Add
unit tests: base/search/hnsw.go#L368
cannot use trials (variable of type int) as int64 value in argument to progress.Start
unit tests: model/ranking/model.go#L423
cannot use bpr.nEpochs (variable of type int) as int64 value in argument to progress.Start
unit tests: model/ranking/model.go#L739
cannot use ccd.nEpochs (variable of type int) as int64 value in argument to progress.Start
unit tests: model/ranking/search.go#L67
cannot use total (variable of type int) as int64 value in argument to progress.Start
unit tests: model/ranking/search.go#L70
span.Count undefined (type *progress.Span has no field or method Count)
unit tests: model/ranking/search.go#L113
cannot use numTrials (variable of type int) as int64 value in argument to progress.Start
unit tests: model/click/deepfm.go#L190
cannot use fm.nEpochs * trainSet.Count() (value of type int) as int64 value in argument to progress.Start
unit tests: model/click/deepfm.go#L206
cannot use mathutil.Min(fm.batchSize, trainSet.Count() - i) (value of type int) as int64 value in argument to span.Add
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@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
Restore cache failed: Dependencies file is not found in /home/runner/work/gorse/gorse. Supported file pattern: go.sum
lint
The `save-state` 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/
lint
The `save-state` 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/
compatibility tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
compatibility tests
Restore cache failed: Dependencies file is not found in /home/runner/work/gorse/gorse. Supported file pattern: go.sum
unit tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
unit tests
Restore cache failed: Dependencies file is not found in /home/runner/work/gorse/gorse. Supported file pattern: go.sum