Skip to content

sim-rs: track average time for TX to reach lifecycle stages #615

sim-rs: track average time for TX to reach lifecycle stages

sim-rs: track average time for TX to reach lifecycle stages #615

Triggered via push December 18, 2024 16:34
Status Failure
Total duration 3m 58s
Artifacts 1

ci.yaml

on: push
docs: Build
41s
docs: Build
formal-spec: Typecheck
2m 25s
formal-spec: Typecheck
simulation: Check with HLint
14s
simulation: Check with HLint
simulation: Check with fourmolu
10s
simulation: Check with fourmolu
sim-rs: Check
40s
sim-rs: Check
docs: Generate D2 Diagrams
37s
docs: Generate D2 Diagrams
Matrix: simulation-test
docs: Publish
6s
docs: Publish
Fit to window
Zoom out
Zoom in

Annotations

1 error and 13 warnings
simulation: Check with HLint
HLint failed with status: 1. Warning (7), Suggestion (3)
simulation: Check with HLint: simulation/src/LeiosProtocol/TaskMultiQueue.hs#L2
Warning in module LeiosProtocol.TaskMultiQueue: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE DeriveFunctor #-}"
simulation: Check with HLint: simulation/src/LeiosProtocol/TaskMultiQueue.hs#L5
Warning in module LeiosProtocol.TaskMultiQueue: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE OverloadedRecordDot #-}"
simulation: Check with HLint: simulation/src/LeiosProtocol/TaskMultiQueue.hs#L7
Warning in module LeiosProtocol.TaskMultiQueue: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE StandaloneDeriving #-}"
simulation: Check with HLint: simulation/src/LeiosProtocol/TaskMultiQueue.hs#L32
Warning in writeTMQueue in module LeiosProtocol.TaskMultiQueue: Eta reduce ▫︎ Found: "writeTMQueue (TaskMultiQueue mq) lbl task\n = writeTBQueue (mq ! lbl) task" ▫︎ Perhaps: "writeTMQueue (TaskMultiQueue mq) lbl = writeTBQueue (mq ! lbl)"
simulation: Check with HLint: simulation/src/LeiosProtocol/TaskMultiQueue.hs#L48
Warning in runInfParallelBlocking in module LeiosProtocol.TaskMultiQueue: Use concatMap ▫︎ Found: "concat . map snd" ▫︎ Perhaps: "concatMap snd"
simulation: Check with HLint: simulation/src/LeiosProtocol/Short/Node.hs#L466
Suggestion in dispatchValidation in module LeiosProtocol.Short.Node: Redundant $ ▫︎ Found: "Map.fromList $ [(eb.id, Set.fromList eb.inputBlocks Set.\\\\ ibs)]" ▫︎ Perhaps: "Map.fromList [(eb.id, Set.fromList eb.inputBlocks Set.\\\\ ibs)]"
simulation: Check with HLint: simulation/src/LeiosProtocol/Short/VizSim.hs#L232
Suggestion in LeiosModelConfig in module LeiosProtocol.Short.VizSim: Use newtype instead of data ▫︎ Found: "data LeiosModelConfig = LeiosModelConfig {recentSpan :: DiffTime}" ▫︎ Perhaps: "newtype LeiosModelConfig\n = LeiosModelConfig {recentSpan :: DiffTime}" ▫︎ Note: decreases laziness
simulation: Check with HLint: simulation/src/LeiosProtocol/Short/VizSimP2P.hs#L100
Suggestion in messageLegend in module LeiosProtocol.Short.VizSimP2P: Move brackets to avoid $ ▫︎ Found: "d `Dia.atop`\n (Dia.fc Dia.white\n $ Dia.lc Dia.white\n $ Dia.rect (Dia.width d + 20 * 12) (Dia.height d))" ▫︎ Perhaps: "d `Dia.atop`\n Dia.fc\n Dia.white\n (Dia.lc Dia.white\n $ Dia.rect (Dia.width d + 20 * 12) (Dia.height d))"
simulation: Check with HLint: simulation/src/PraosProtocol/ChainSync.hs#L1
Warning in module PraosProtocol.ChainSync: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE BangPatterns #-}"
simulation: Check with HLint: simulation/src/PraosProtocol/ChainSync.hs#L9
Warning in module PraosProtocol.ChainSync: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE OverloadedRecordDot #-}"
formal-spec: Typecheck
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/
formal-spec: Typecheck
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/
formal-spec: Typecheck
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/

Artifacts

Produced during runtime
Name Size
docusaurus-build
556 KB