openkal-linux 0.7.1 and openkal-macos 0.6.1 - #283
Merged
Conversation
Both fix one defect. `kal_timeout_read` and `kal_timeout_write` decoded a borrowed `kal_stream` handle with the decoder for an owned one. A bare descriptor N has exactly the shape of a packed handle naming N-1, so the decode succeeded and the wait was performed upon N-1 while the transfer was performed upon N. Reported through openkal-musl in mcpplibs/openkal-linux#13 as `std::filesystem::copy_file` answering `Resource temporarily unavailable` for two ordinary files. openkal-macos 0.6.1 also runs this package's own `tests/` for the first time: no workflow had ever invoked them. Measured before this commit: both CN mirror assets return 200 and their sha256 is identical to the GitHub tag tarball named beside them.
This was referenced Aug 29, 2026
Merged
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.
Two backends, one defect.
kal_timeout_readandkal_timeout_writedecoded a borrowedkal_streamhandle withokl::unpack/okm::unpack, which is the decoder for an owned handle. Those backends pack an owned handle as(generation << 32) | (fd + 1), so a bare descriptorNhas exactly the shape of a packed handle namingN-1and the decode succeeded. The wait was performed upon descriptorN-1and the transfer uponN.Reported through openkal-musl in mcpplibs/openkal-linux#13 as
std::filesystem::copy_fileansweringResource temporarily unavailablefor two ordinary files: libc++ opens a copy's source withO_NONBLOCK, openkal-musl routes that through this interface, andEAGAINis not in libc++'s fallback list.openkal-macos 0.6.1 additionally runs that package's own
tests/for the first time — no workflow had ever invoked them — and fixes what the first run found.Measured before opening this
Every CN asset was fetched and hashed rather than assumed, because the mirror tool has reported
uploadedfor an object that afterwards answered 404.Locally:
check_mirror_urls,check_package_name,check_cross_package_refs,check_platform_version_parityandcheck_duplicate_versionsall pass.Both descriptors carry three platform tables and the new version is added to all three, as the existing entries are.