Fix bug resulting in SystemError during CLI operations on Python 3.14 - #362
Merged
Conversation
While uneeded for Exosphere to function, this also resolves an issue where it was possible to trigger a SystemError: buffer overflow on Python 3.14 in some circumstances when the local terminal is being used concurrently by multiple tasks, such as 'inventory refresh'. This is due to an upstream Fabric/Invoke bug, but since we do not need stdin at any point at all, we simply disable it in the connection configuration and setup so it simply does not happen.
mrdaemon
force-pushed
the
bugfix/buffer-overflow-invoke
branch
from
August 19, 2026 21:36
a291d65 to
769efc7
Compare
mrdaemon
marked this pull request as ready for review
August 19, 2026 21:38
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.
Work around Fabric bug by disabling stdin forwarding to commands.
While unneeded for Exosphere to function, this resolves an issue
where it was possible to trigger a
SystemError: buffer overflowonPython 3.14 in some circumstances when the local terminal is being used
concurrently by multiple tasks, such as 'inventory refresh'.
This is due to an upstream Fabric/Invoke bug, but since we do not need
stdin at any point at all, we simply disable it in the connection
configuration and setup so it simply does not happen.