kleros/kleros-v2

View on GitHub
chore: skip contracts testing when unrelated workspaces are modified #7360
jaybuidl authored 14dff158
complete00:00:30
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:44.487298 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.487334 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.492695 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.492727 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.526614 #1]  WARN -- : Skipping contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.526642 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.082310 #1]  WARN -- : Skipping web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.082348 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.136372 #1]  WARN -- : Skipping web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.136401 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.149853 #1]  WARN -- : Skipping web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.149881 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.157690 #1]  WARN -- : Skipping web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.157727 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.273975 #1]  WARN -- : Skipping web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.274006 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.306820 #1]  WARN -- : Skipping web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.307003 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.313773 #1]  WARN -- : Skipping web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.313807 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.325034 #1]  WARN -- : Skipping web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.325064 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.429671 #1]  WARN -- : Skipping web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.429699 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.497483 #1]  WARN -- : Skipping web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.497525 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:46.020309 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:46.020339 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:46.033823 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:46.033851 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:46.036539 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:46.036566 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:46.038348 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:46.038374 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:46.039975 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:46.040002 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:46.051950 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Overview.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:46.051989 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:46.124116 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:46.124152 #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:49.177918 #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


I, [2024-11-08T11:49:49.180352 #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


W, [2024-11-08T11:49:50.552861 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:50.552970 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:50.586547 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:50.586891 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:50.617933 #1]  WARN -- : Skipping ./contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:50.617969 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:51.505556 #1]  WARN -- : Skipping ./web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:51.505745 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:51.608730 #1]  WARN -- : Skipping ./web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:51.608809 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:51.619681 #1]  WARN -- : Skipping ./web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:51.619768 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:51.632044 #1]  WARN -- : Skipping ./web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:51.632073 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:51.770808 #1]  WARN -- : Skipping ./web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:51.770923 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:51.805999 #1]  WARN -- : Skipping ./web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:51.806308 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:51.815590 #1]  WARN -- : Skipping ./web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:51.815670 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:51.821110 #1]  WARN -- : Skipping ./web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:51.821197 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:51.964810 #1]  WARN -- : Skipping ./web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:51.964841 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:52.053898 #1]  WARN -- : Skipping ./web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:52.054127 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:52.799424 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:52.799669 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:52.807479 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:52.809451 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:52.827515 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:52.827550 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:52.828859 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:52.828890 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:52.829969 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:52.829997 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:52.844881 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Overview.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:52.845105 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:52.952358 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:52.952393 #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.