Skip to content

feat: fetch remote proposals #9101

feat: fetch remote proposals

feat: fetch remote proposals #9101

Triggered via pull request October 4, 2024 08:22
Status Failure
Total duration 6m 16s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 4 warnings
checks
@venusprotocol/evm#tsc: command (/home/runner/work/venus-protocol-interface/venus-protocol-interface/apps/evm) /tmp/yarn--1728030222771-0.44590852714542306/yarn run tsc exited (2)
checks
Module '"/home/runner/work/venus-protocol-interface/venus-protocol-interface/apps/evm/src/__mocks__/models/proposals"' has no default export. Did you mean to use 'import { proposals } from "/home/runner/work/venus-protocol-interface/venus-protocol-interface/apps/evm/src/__mocks__/models/proposals"' instead?
checks
Object literal may only specify known properties, and 'proposalExecutionGracePeriodMs' does not exist in type '{ gqlProposal: BscProposalFragment; gqlRemoteProposalsMapping: { [proposalId: number]: NonBscProposalFragment; }; currentBlockNumber: number; proposalMinQuorumVotesMantissa: BigNumber; accountAddress?: string | undefined; }'.
checks
Module '"/home/runner/work/venus-protocol-interface/venus-protocol-interface/apps/evm/src/__mocks__/models/proposals"' has no default export.
checks
Object literal may only specify known properties, and 'proposalExecutionGracePeriodMs' does not exist in type '{ gqlProposal: BscProposalFragment; gqlRemoteProposalsMapping: { [proposalId: number]: NonBscProposalFragment; }; currentBlockNumber: number; proposalMinQuorumVotesMantissa: BigNumber; accountAddress?: string | undefined; }'.
checks
Property 'remoteProposals' is missing in type '{ abstainedVotesMantissa: BigNumber; againstVotesMantissa: BigNumber; cancelDate: Date | undefined; createdDate: Date | undefined; description: DescriptionV2 | DescriptionV1; ... 20 more ...; userVoteSupport: VoteSupport | undefined; }' but required in type 'Proposal'.
checks
Module '"constants/chainMetadata"' declares 'PROPOSAL_EXECUTION_GRACE_PERIOD_MS' locally, but it is not exported.
checks
Module '"constants/chainMetadata"' declares 'PROPOSAL_EXECUTION_GRACE_PERIOD_MS' locally, but it is not exported.
checks
Module '"constants/chainMetadata"' declares 'PROPOSAL_EXECUTION_GRACE_PERIOD_MS' locally, but it is not exported.
checks
Module '"constants/chainMetadata"' declares 'PROPOSAL_EXECUTION_GRACE_PERIOD_MS' locally, but it is not exported.
test
@venusprotocol/evm#test: command (/home/runner/work/venus-protocol-interface/venus-protocol-interface/apps/evm) /tmp/yarn--1728030221476-0.1134361663113923/yarn run test --coverage exited (1)
test
Process completed with exit code 1.
test
Failed to parse the json-summary at path "/home/runner/work/venus-protocol-interface/venus-protocol-interface/apps/evm/coverage/coverage-summary.json." Make sure to run vitest before this action and to include the "json-summary" reporter. Original Error: Error: ENOENT: no such file or directory, open '/home/runner/work/venus-protocol-interface/venus-protocol-interface/apps/evm/coverage/coverage-summary.json' at async open (node:internal/fs/promises:636:25) at async readFile (node:internal/fs/promises:1246:14) at async Iy (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:70:1156) at async Cu (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:70:1237) at async WO (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:148:626)
test
Error: ENOENT: no such file or directory, open '/home/runner/work/venus-protocol-interface/venus-protocol-interface/apps/evm/coverage/coverage-summary.json'
checks
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
checks
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/