kleros/kleros-v2

View on GitHub
fix: forcing the subgraph deploy workflow to fail on error #7369
jaybuidl authored 465e3b11
complete00:00:39
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:52.189456 #1]  WARN -- : Skipping contracts/wagmi.config.mainnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:52.189501 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:52.491718 #1]  WARN -- : Skipping contracts/scripts/wagmiHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:52.491755 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:52.493143 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:52.493173 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:52.497384 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:52.497413 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:52.535796 #1]  WARN -- : Skipping contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:52.535900 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:53.048522 #1]  WARN -- : Skipping contracts/wagmi.config.devnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:53.048560 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:53.461479 #1]  WARN -- : Skipping contracts/wagmi.config.testnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:53.461563 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:53.515158 #1]  WARN -- : Skipping web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:53.515204 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:53.599448 #1]  WARN -- : Skipping web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:53.599693 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:53.613812 #1]  WARN -- : Skipping web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:53.613892 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:53.649669 #1]  WARN -- : Skipping web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:53.649705 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:53.682006 #1]  WARN -- : Skipping web/src/hooks/useSigningAccount.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:53.682046 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:53.835087 #1]  WARN -- : Skipping web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:53.835133 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:53.895519 #1]  WARN -- : Skipping web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:53.895576 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:53.945125 #1]  WARN -- : Skipping web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:53.945172 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:53.947955 #1]  WARN -- : Skipping web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:53.947983 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:53.950475 #1]  WARN -- : Skipping web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:53.950508 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:54.340299 #1]  WARN -- : Skipping web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:54.340337 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:54.561633 #1]  WARN -- : Skipping web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:54.561669 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:54.805496 #1]  WARN -- : Skipping web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:54.805534 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:54.905351 #1]  WARN -- : Skipping web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:54.905380 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.397167 #1]  WARN -- : Skipping web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.397218 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.675524 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.675577 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.716092 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.716185 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.720421 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.720467 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.722974 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Commit.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.723012 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.735293 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/OptionsContainer.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.735379 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.737382 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.737459 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.741468 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.741537 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.747099 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Vote.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.747204 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.750776 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.750857 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.779287 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Overview/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.779372 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.987189 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.987239 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.013640 #1]  WARN -- : Skipping web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.013686 #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.537240 #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:59.541624 #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:50:00.837108 #1]  WARN -- : Skipping contracts/wagmi.config.mainnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:00.837166 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:01.281420 #1]  WARN -- : Skipping ./contracts/scripts/wagmiHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:01.281515 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:01.285476 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:01.285525 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:01.293135 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:01.293186 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:01.343841 #1]  WARN -- : Skipping ./contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:01.344128 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:01.903472 #1]  WARN -- : Skipping contracts/wagmi.config.devnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:01.903579 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:02.892783 #1]  WARN -- : Skipping contracts/wagmi.config.testnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:02.892829 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:02.918567 #1]  WARN -- : Skipping ./web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:02.918962 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.061249 #1]  WARN -- : Skipping ./web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.061288 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.075633 #1]  WARN -- : Skipping ./web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.075715 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.100352 #1]  WARN -- : Skipping ./web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.100394 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.140362 #1]  WARN -- : Skipping ./web/src/hooks/useSigningAccount.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.140428 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.326139 #1]  WARN -- : Skipping ./web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.326203 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.420977 #1]  WARN -- : Skipping ./web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.421047 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.489148 #1]  WARN -- : Skipping ./web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.489284 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.494864 #1]  WARN -- : Skipping ./web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.494947 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.503408 #1]  WARN -- : Skipping ./web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.503461 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:04.060103 #1]  WARN -- : Skipping ./web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:04.060264 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:04.268997 #1]  WARN -- : Skipping ./web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:04.269056 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:04.530783 #1]  WARN -- : Skipping ./web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:04.531034 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:04.660063 #1]  WARN -- : Skipping ./web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:04.660145 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:05.075397 #1]  WARN -- : Skipping ./web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:05.075628 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:05.313317 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:05.313378 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:05.350940 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:05.351216 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:05.353554 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:05.353605 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:05.354437 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Commit.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:05.354462 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:05.357770 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/OptionsContainer.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:05.357859 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:05.361224 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:05.361248 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:05.363130 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:05.363154 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:05.363845 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Vote.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:05.363877 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:05.364919 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:05.364944 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:05.381929 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Overview/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:05.382140 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:05.590192 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:05.590239 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:05.601339 #1]  WARN -- : Skipping ./web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:05.601407 #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.