Fix LoggerPatch CI failure; bump aws_lambda_ric to 3.2.0#1133
Merged
myronmarston merged 1 commit intomainfrom Apr 16, 2026
Merged
Fix LoggerPatch CI failure; bump aws_lambda_ric to 3.2.0#1133myronmarston merged 1 commit intomainfrom
myronmarston merged 1 commit intomainfrom
Conversation
GHA runner image ubuntu24/20260413.86 (kernel 6.17.0-1010-azure) causes IO.new(fd, 'wb') to raise Errno::EBADF in forked subprocesses. TelemetryLogger#initialize silently rescues this and skips applying LoggerPatch, failing our compatibility assertion. Rework install_aws_lambda_runtime_monkey_patches to use the 3.2.0 API: - TelemetryLogger.from_env applies LoggerPatch without any IO - Set up telemetry sink on $stdout manually - Apply mutate_kernel_puts via allocate.send (bypasses constructor) - Assert both mutations applied; verify Logger+LoggerPatch compatibility Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2dcf63b to
46aed7b
Compare
1 task
jwils
approved these changes
Apr 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ubuntu24/20260413.86(kernel6.17.0-1010-azure) causesIO.new(fd, 'wb')to raiseErrno::EBADFin forked subprocesses, breakingTelemetryLogger.new("1")which silently skips applyingLoggerPatchinstall_aws_lambda_runtime_monkey_patchesto use the 3.2.0 API:TelemetryLogger.from_envappliesLoggerPatchwithout any IO; telemetry sink andmutate_kernel_putsset up manuallyaws_lambda_ricfrom~> 3.1to~> 3.2Test plan
script/run_gem_specs🤖 Generated with Claude Code