Repository navigation
Bound LevelDB file handles and preserve exhaustion diagnostics - #2403
Merged
Merged
Conversation
Level the applicable ALEAPP #1646 fixes with regression coverage. Co-Authored-By: OpenAI Codex (GPT-6) <[email protected]>
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.
What this changes
Port the applicable fix from abrignoni/ALEAPP#1658. LevelDB reads one file per active iterator and closes handles after failures or interrupted scans. HTML logging falls back to console/GUI on EMFILE/ENFILE. Existing decoder differences remain intact.
Validation
976 unit tests passed (42 skipped), including 160 tables at a 64-descriptor limit; no new lint warnings. Focused corpus comparison preserves all 63 exported rows, SQLite/TSV cells, KML, and raw record metadata/order/repeat passes.
Anything reviewers should know
HTML cannot be appended while descriptors are exhausted. No new database formats or corruption recovery are added. Native GUI self-check excluded locally; CI covers the supported runtime matrix.
Co-Authored-By: OpenAI Codex (GPT-6) [email protected]