Stream: contributing

Topic: Latest PR (#8487 str-to-utf8) fails the tests


view this post on Zulip Matthieu Pizenberg (Nov 28 2025 at 09:40):

The latest merged PR makes the tests fail on my machine (osx M3, zig 0.15.2).
https://github.com/roc-lang/roc/pull/8487

Build Summary: 50/59 steps succeeded; 4 failed; 1039/1055 tests passed; 16 failed
test transitive failure
└─ tests_summary transitive failure
   ├─ run test eval transitive failure
   │  └─ compile test eval Debug native 1 errors
   ├─ run test repl transitive failure
   │  └─ compile test repl Debug native 1 errors
   ├─ run test snapshot_tool_test transitive failure
   │  └─ compile test snapshot_tool_test Debug native 1 errors
   └─ run test fx_platform_test 0/16 passed, 16 failed

view this post on Zulip Matthieu Pizenberg (Nov 28 2025 at 09:44):

This is the error I see most in the error message, which is huge.

src/eval/interpreter.zig:9615:94: error: missing struct field: saved_rigid_subst
                            try work_stack.push(.{ .apply_continuation = .{ .call_cleanup = .{
                                                                                            ~^

view this post on Zulip Anton (Nov 28 2025 at 10:02):

Thanks for reporting @Matthieu Pizenberg! I was able to reproduce and will investigate.

view this post on Zulip Anton (Nov 28 2025 at 10:13):

I suspect this error snuck in because we don't use a merge queue. I don't think we should use one though to avoid a large increase in our power usage even though github CI is free. It just seems wasteful given how rarely it creates problems.

view this post on Zulip Anton (Nov 28 2025 at 11:01):

PR#8489 should fix it (not merged yet).

view this post on Zulip Anton (Nov 28 2025 at 11:30):

Merged :)


Last updated: Nov 28 2025 at 12:16 UTC