test(interpreter): finalizer edge-case tests (promotion & reentrant)#2
Merged
thurzinhos merged 26 commits intomainfrom Aug 23, 2025
Merged
test(interpreter): finalizer edge-case tests (promotion & reentrant)#2thurzinhos merged 26 commits intomainfrom
thurzinhos merged 26 commits intomainfrom
Conversation
…ssages in decrement_paths_exhaustive
…ginal behavior; keep inc_children on debug heap_register
…o live refs; remove debug traces; tests green (interpreter)
…llocation, weak/unowned)
…ibute promotions during finalize_arena
…er-arena, idempotence)
…n ordering, mutual promotion)
…N and compact output
…inalized_per_arena in metrics; add test
- Updated tests in various files to replace direct `unwrap()` calls with assertions that provide clearer error messages on failure. - Added checks for lexer token scanning results to ensure proper error handling. - Introduced assertions for interpreter execution results to capture potential runtime errors. - Enhanced diagnostics in tests related to `performant` blocks and type inference to ensure compliance with new rules. - Added new tests for `performant` type errors to validate static checks. - Improved documentation on `performant` rules and examples to clarify usage and restrictions.
… for metrics validation
…trics) and record commits
…on; tests: add metrics_arena_demo and metrics value assertions
…s (Arc adaptation in-progress)
…o avoid borrow conflicts; tests green
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.
Adds two tests: finalizer rebind promotion and reentrant allocation inside finalizer to harden Arc strong/weak semantics and prevent regressions. Tests pass locally.