Skip to content

Allow configuring the policy when prewrite encounters lock (#1501) #6756

Allow configuring the policy when prewrite encounters lock (#1501)

Allow configuring the policy when prewrite encounters lock (#1501) #6756

Triggered via pull request April 17, 2026 08:57
Status Failure
Total duration 2m 21s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 3 warnings
golangci
issues found
golangci: txnkv/transaction/txn.go#L235
expected declaration, found 'if' (typecheck)
golangci: txnkv/transaction/txn.go#L215
illegal character U+0023 '#' (typecheck)
golangci: txnkv/transaction/txn.go#L199
expected '}', found '<<' (typecheck)
golangci: txnkv/transaction/txn.go#L215
invalid character U+0023 '#' (typecheck)
golangci: txnkv/transaction/txn.go#L215
syntax error: unexpected >>, expected field name or embedded type
golangci: txnkv/transaction/txn.go#L213
syntax error: unexpected ==, expected field name or embedded type
golangci: txnkv/transaction/txn.go#L199
syntax error: unexpected <<, expected field name or embedded type
test
Process completed with exit code 1.
test: txnkv/transaction/txn.go#L215
invalid character U+0023 '#'
test: txnkv/transaction/txn.go#L215
syntax error: unexpected >>, expected field name or embedded type
test: txnkv/transaction/txn.go#L213
syntax error: unexpected ==, expected field name or embedded type
test: txnkv/transaction/txn.go#L199
syntax error: unexpected <<, expected field name or embedded type
race-test
Process completed with exit code 1.
race-test: txnkv/transaction/txn.go#L215
invalid character U+0023 '#'
race-test: txnkv/transaction/txn.go#L215
syntax error: unexpected >>, expected field name or embedded type
race-test: txnkv/transaction/txn.go#L213
syntax error: unexpected ==, expected field name or embedded type
race-test: txnkv/transaction/txn.go#L199
syntax error: unexpected <<, expected field name or embedded type
golangci
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2, actions/setup-go@v4, golangci/golangci-lint-action@v8. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2, actions/setup-go@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
race-test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2, actions/setup-go@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/