Skip to content

fix: preserve IO::Async thread callback results - #1289

Merged
fglock merged 1 commit into
masterfrom
fix/io-async-thread-results
Sep 8, 2026
Merged

fix: preserve IO::Async thread callback results#1289
fglock merged 1 commit into
masterfrom
fix/io-async-thread-results

Conversation

@fglock

@fglock fglock commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • preserve scalar and list callback results returned through IO::Async-style ithread wrappers on JVM and interpreter backends
  • add a project-owned regression covering scalar, list, and exception propagation through threads->join
  • retire the stale IO::Async notifier-loop three-owner compatibility expectation in favor of native Perl's two-owner result

Validation

  • make
  • perl src/test/resources/unit/threads_captured_callback_context.t
  • timeout 120 ./jperl src/test/resources/unit/threads_captured_callback_context.t
  • timeout 120 ./jperl --interpreter src/test/resources/unit/threads_captured_callback_context.t
  • make check-links
  • timeout 120 ./jperl -e 'print "UAT build ready\\n"'

Follow-up

The project-owned create_thread regression is fixed. The local extracted
IO::Async Routine/Function probes still expose separate 66 result and
fixture-loading failures; they remain under investigation before #1277 can be
closed.

Materialize runtime-context aggregate list elements for scalar and list
callers without evaluating callbacks twice. Update the stale IO::Async
notifier refcount compatibility expectation and cover thread callback result
and exception propagation on both backends.

Generated with [Codex](https://openai.com/codex/)

Co-Authored-By: Codex <codex@openai.com>
@fglock
fglock merged commit d1886fb into master Sep 8, 2026
2 checks passed
@fglock
fglock deleted the fix/io-async-thread-results branch September 8, 2026 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant