Skip to content

test: make async waits more reliable #2088

test: make async waits more reliable

test: make async waits more reliable #2088

Triggered via push October 14, 2026 14:31
Status Success
Total duration 2m 11s
Artifacts –

tests.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

16 warnings and 16 notices
lint
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, JohnnyMorganz/stylua-action@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (ubuntu-latest, v0.11.4)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (ubuntu-latest, nightly)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (ubuntu-latest, v0.10.3)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (macos-latest, v0.11.4)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
typecheck
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
typecheck: lua/opencode/lsp/opencode_ls.lua#L36
Impossible `if` statement: this condition is always falsy
typecheck: lua/opencode/ui/contextual_actions.lua#L124
vim.api.nvim_win_get_cursor(0)[1] value may be nil
typecheck: lua/opencode/ui/contextual_actions.lua#L155
expected `OpencodeWindowState` but found `OpencodeWindowState?`.
typecheck: lua/opencode/ui/contextual_actions.lua#L125
expected `integer` but found `number`.
typecheck: lua/opencode/ui/contextual_actions.lua#L166
Impossible `if` statement: this condition is always falsy
typecheck: lua/opencode/ui/contextual_actions.lua#L149
Impossible `if` statement: this condition is always falsy
typecheck: lua/opencode/ui/contextual_actions.lua#L55
Impossible `if` statement: this condition is always falsy
typecheck: lua/opencode/commands/handlers/surface.lua#L71
state.windows may be nil
typecheck: lua/opencode/commands/handlers/surface.lua#L67
state.windows may be nil
typecheck: lua/opencode/api.lua#L27
Cannot assign `{ window = table, session = table, diff = table, workflow = table, ... }` to `table<string,table<string,fun(...) -> any>>`.
lint
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
test (ubuntu-latest, v0.11.4)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
test (ubuntu-latest, nightly)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
test (ubuntu-latest, v0.10.3)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
test (macos-latest, v0.11.4)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
typecheck: lua/opencode/ui/renderer.lua#L804
Prefer use local alias variable 'observation'
typecheck: lua/opencode/ui/renderer.lua#L448
Prefer use local alias variable 'generation'
typecheck: lua/opencode/ui/render_state.lua#L556
Prefer use local alias variable 'old_line_start'
typecheck: lua/opencode/ui/file_picker.lua#L25
Redefined local variable `picker`
typecheck: lua/opencode/ui/file_picker.lua#L23
map is never used, if this is intentional, prefix it with an underscore: _map
typecheck: lua/opencode/ui/file_picker.lua#L124
obj is never used, if this is intentional, prefix it with an underscore: _obj
typecheck: lua/opencode/ui/formatter/tools/execute.lua#L27
part is never used, if this is intentional, prefix it with an underscore: _part
typecheck: lua/opencode/lsp/opencode_ls.lua#L199
dispatchers is never used, if this is intentional, prefix it with an underscore: _dispatchers
typecheck: lua/opencode/lsp/opencode_ls.lua#L13
params is never used, if this is intentional, prefix it with an underscore: _params
typecheck: lua/opencode/lsp/opencode_ls.lua#L199
config is never used, if this is intentional, prefix it with an underscore: _config
typecheck
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"