Skip to content

Improve universe stats #1004

Improve universe stats

Improve universe stats #1004

Triggered via pull request July 12, 2023 17:56
Status Failure
Total duration 15m 24s
Artifacts

main.yaml

on: pull_request
Matrix: run unit tests
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 4 warnings
go mod check
Process completed with exit code 2.
RPC check
Process completed with exit code 2.
run unit tests (unit-cover): tapdb/universe_stats_test.go#L188
cannot use AssetStatsPerDayQuery{…} (value of type sqlc.QueryAssetStatsPerDaySqliteParams) as universe.GroupedStatsQuery value in argument to statsDB.QueryAssetStatsPerDay
run unit tests (unit-cover): tapdb/universe_stats_test.go#L201
cannot convert idx (variable of type string) to type "time".Duration
run unit tests (unit-cover): tapdb/universe_stats_test.go#L203
s.IntervalStart undefined (type universe.AggregateStats has no field or method IntervalStart)
run unit tests (unit-cover): tapdb/universe_stats_test.go#L205
invalid operation: idx == 3 (mismatched types string and untyped int)
run unit tests (unit-cover): tapdb/universe_stats_test.go#L206
s.TotalSyncEvents undefined (type universe.AggregateStats has no field or method TotalSyncEvents)
run unit tests (unit-cover): tapdb/universe_stats_test.go#L208
s.TotalNewProofEvents undefined (type universe.AggregateStats has no field or method TotalNewProofEvents)
run unit tests (unit-cover)
Process completed with exit code 2.
run unit tests (unit dbbackend=postgres): tapdb/universe_stats_test.go#L188
cannot use AssetStatsPerDayQuery{…} (value of type sqlc.QueryAssetStatsPerDaySqliteParams) as universe.GroupedStatsQuery value in argument to statsDB.QueryAssetStatsPerDay
run unit tests (unit dbbackend=postgres): tapdb/universe_stats_test.go#L201
cannot convert idx (variable of type string) to type "time".Duration
run unit tests (unit dbbackend=postgres): tapdb/universe_stats_test.go#L203
s.IntervalStart undefined (type universe.AggregateStats has no field or method IntervalStart)
run unit tests (unit dbbackend=postgres): tapdb/universe_stats_test.go#L205
invalid operation: idx == 3 (mismatched types string and untyped int)
run unit tests (unit dbbackend=postgres): tapdb/universe_stats_test.go#L206
s.TotalSyncEvents undefined (type universe.AggregateStats has no field or method TotalSyncEvents)
run unit tests (unit dbbackend=postgres): tapdb/universe_stats_test.go#L208
s.TotalNewProofEvents undefined (type universe.AggregateStats has no field or method TotalNewProofEvents)
run unit tests (unit dbbackend=postgres)
Process completed with exit code 2.
run unit tests (unit-race): tapdb/universe_stats_test.go#L188
cannot use AssetStatsPerDayQuery{…} (value of type sqlc.QueryAssetStatsPerDaySqliteParams) as universe.GroupedStatsQuery value in argument to statsDB.QueryAssetStatsPerDay
run unit tests (unit-race): tapdb/universe_stats_test.go#L201
cannot convert idx (variable of type string) to type "time".Duration
run unit tests (unit-race): tapdb/universe_stats_test.go#L203
s.IntervalStart undefined (type universe.AggregateStats has no field or method IntervalStart)
run unit tests (unit-race): tapdb/universe_stats_test.go#L205
invalid operation: idx == 3 (mismatched types string and untyped int)
run unit tests (unit-race): tapdb/universe_stats_test.go#L206
s.TotalSyncEvents undefined (type universe.AggregateStats has no field or method TotalSyncEvents)
run unit tests (unit-race): tapdb/universe_stats_test.go#L208
s.TotalNewProofEvents undefined (type universe.AggregateStats has no field or method TotalNewProofEvents)
run unit tests (unit-race)
Process completed with exit code 2.
Lint check: tapdb/universe_stats_test.go#L188
cannot use AssetStatsPerDayQuery{…} (value of type sqlc.QueryAssetStatsPerDaySqliteParams) as universe.GroupedStatsQuery value in argument to statsDB.QueryAssetStatsPerDay
Lint check: tapdb/universe_stats_test.go#L201
cannot convert idx (variable of type string) to type "time".Duration
Lint check: tapdb/universe_stats_test.go#L203
s.IntervalStart undefined (type universe.AggregateStats has no field or method IntervalStart)
Lint check: tapdb/universe_stats_test.go#L205
invalid operation: idx == 3 (mismatched types string and untyped int)
Lint check: tapdb/universe_stats_test.go#L206
s.TotalSyncEvents undefined (type universe.AggregateStats has no field or method TotalSyncEvents)
Lint check: tapdb/universe_stats_test.go#L208
s.TotalNewProofEvents undefined (type universe.AggregateStats has no field or method TotalNewProofEvents) (typecheck)
Lint check
Process completed with exit code 2.
Sqlc check
The following actions uses node12 which is deprecated and will be forced to run on node16: satackey/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Sqlc check
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/
Sqlc check
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/
Sqlc check
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/