kleros/kleros-v2

View on GitHub
fix(subgraph): recompute coherence score if totalCoherent changed #7374
marino authored 7f8be8ec
cancelled00:00:33
This build was cancelled because an analysis of this Commit SHA already existed.
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: 'engines' has been deprecated, please use 'plugins' instead
WARNING: 'exclude_paths' has been deprecated, please use 'exclude_patterns' instead
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-11-08T11:49:54.258891 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:54.258931 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:54.265400 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:54.265481 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:54.302268 #1]  WARN -- : Skipping contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:54.302302 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:54.962973 #1]  WARN -- : Skipping web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:54.963024 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.034215 #1]  WARN -- : Skipping web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.034256 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.046102 #1]  WARN -- : Skipping web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.046142 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.061731 #1]  WARN -- : Skipping web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.061767 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.216948 #1]  WARN -- : Skipping web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.217002 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.313427 #1]  WARN -- : Skipping web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.313478 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.384900 #1]  WARN -- : Skipping web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.384941 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.389888 #1]  WARN -- : Skipping web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.389970 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.394815 #1]  WARN -- : Skipping web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.394846 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.548048 #1]  WARN -- : Skipping web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.548161 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.697868 #1]  WARN -- : Skipping web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.697928 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.966944 #1]  WARN -- : Skipping web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.966998 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.096148 #1]  WARN -- : Skipping web/src/pages/Home/TopJurors/JurorCard.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.096245 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.250916 #1]  WARN -- : Skipping web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.250949 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.498740 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.498782 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.530640 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.530719 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.534202 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.534264 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.536792 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.536821 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.538928 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.538955 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.558277 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Overview.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.558308 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.680490 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.680576 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.704626 #1]  WARN -- : Skipping web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.704663 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-11-08T11:49:59.888939 #1]  INFO -- : Skipping file ./bot-pinner/src/tooling.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 9
    r = requests.post(f"{IPFS}/version")
                                      ^
SyntaxError: invalid syntax


I, [2024-11-08T11:49:59.889029 #1]  INFO -- : Skipping file ./bot-pinner/src/add_hashes.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 47
    logger.info(f"Cycle starting from block #{block_number}. WANTED HASHES: {len(hashes_wanted)}")
                                                                                                ^
SyntaxError: invalid syntax


W, [2024-11-08T11:50:01.215899 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:01.215995 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:01.236394 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:01.236652 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:01.261565 #1]  WARN -- : Skipping ./contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:01.261648 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:02.192964 #1]  WARN -- : Skipping ./web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:02.193051 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:02.287053 #1]  WARN -- : Skipping ./web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:02.287261 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:02.294719 #1]  WARN -- : Skipping ./web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:02.294902 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:02.306765 #1]  WARN -- : Skipping ./web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:02.306930 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:02.429946 #1]  WARN -- : Skipping ./web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:02.430010 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:02.476300 #1]  WARN -- : Skipping ./web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:02.476537 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:02.514268 #1]  WARN -- : Skipping ./web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:02.514488 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:02.518418 #1]  WARN -- : Skipping ./web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:02.518458 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:02.522557 #1]  WARN -- : Skipping ./web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:02.522585 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:02.648800 #1]  WARN -- : Skipping ./web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:02.649033 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:02.747890 #1]  WARN -- : Skipping ./web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:02.747960 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:02.945545 #1]  WARN -- : Skipping ./web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:02.945758 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.026703 #1]  WARN -- : Skipping ./web/src/pages/Home/TopJurors/JurorCard.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.026931 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.130796 #1]  WARN -- : Skipping ./web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.130897 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.373518 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.373592 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.443760 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.444022 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.446361 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.446389 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.447538 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.447566 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.449100 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.449126 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.453956 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Overview.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.462076 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.653498 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.653551 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.661854 #1]  WARN -- : Skipping ./web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.661933 #1]  WARN -- : Response status: 422
7
tslint
tslint engine documentation
View output
Could not find implementations for the following rules specified in the configuration:
    angular-whitespace
    banana-in-box
    templates-no-negated-async
    directive-selector
    component-selector
    use-input-property-decorator
    use-output-property-decorator
    use-host-property-decorator
    use-view-encapsulation
    no-attribute-parameter-decorator
    no-input-rename
    no-output-rename
    no-output-on-prefix
    no-forward-ref
    use-life-cycle-interface
    contextual-life-cycle
    trackBy-function
    use-pipe-transform-interface
    pipe-naming
    component-class-suffix
    directive-class-suffix
    no-case-with-or
Try upgrading TSLint and/or ensuring that you have all necessary custom rules installed.
If TSLint was recently upgraded, you may have old rules configured which need to be cleaned up.