Memory-pressure regression misses remaining GC clock and timer traps
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start with the memory-pressure test added in #60 and the regression test in #78, then reproduce the failures on Go 1.26.3 or 1.27.1 with the Wasmtime 48.0.2 adapter. Done means the strengthened test reliably covers wall-time and timer polling during cabi_realloc without either path trapping; review the linked adapter fix for the work already underway.
Written by the indexing model from the issue text.
Description
The GC failure reported in #56 still occurs when Go reads wall time or polls timers during cabi_realloc. Both can trap with cannot leave component instance.
The memory-pressure test added in #60 does not reliably trigger these paths. Strengthening it exposes both failures on Go 1.26.3 and 1.27.1 with the Wasmtime 48.0.2 adapter.
Regression test: #78. Adapter fix: https://github.com/bytecodealliance/wasmtime/pull/14319, extending the clock pause from https://github.com/bytecodealliance/wasmtime/pull/13563.
- Dominant language
- Rust
- Stars
- 18
- Forks
- 8
- Avg merge
- 6h 57m
- Merged PRs (30d)
- 5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bytecodealliance/componentize-go
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
bytecodealliance/componentize-go#68 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
bytecodealliance/componentize-go#66 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
bytecodealliance/componentize-go#65 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 63/100
bytecodealliance/componentize-go#64 · 1 reaction ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in bytecodealliance/componentize-go
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100