rescue: Fix ESM/CommonJS module issues and improve RW lock max handling - #149
Merged
ORESoftware merged 4 commits intoSep 6, 2026
Conversation
- Fixed ReferenceError: exports is not defined in ES module scope - Updated utils.ts and package-json-loader.ts to handle import.meta safely - Improved post-build script to correctly remove import.meta from CommonJS builds - Enhanced maxRead initialization for RW locks with defensive checks - Separated maxRead and maxWrite for RW locks while keeping max for normal locks - Fixed test cleanup and exit handling - Increased test timeout to 60s for long-running tests - All core functionality tests passing (11/17, remaining are long-running stress tests)
Owner
Author
|
Published the semantic reconciliation to the existing PR head at Verification completed locally:
The branch was fetched/pruned against |
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.
Rescued orphaned/stranded work found on
Macs-MacBook-Proatores/live-mutex.rescue/orphan-17fa86f26b2a-fix-esm-commonjs-module-issues-and-impro@17fa86f26b2adevdev: 52 files, +762/-5077Commits:
Found by a fleet-wide sweep for unreachable commits, never-pushed branches and stashes.
These commits were reachable only through the reflog, so a
git gcwould have deleted them.Per
AGENTS-cherry-pick-directive.md, if this is superseded, walk it feature by feature andport what
devlacks rather than closing it outright.