Conversation
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 an opt-in stack-sized persistent execution-thread entrypoint. Sequential execution reuses only a registered worker with sufficient stack; ordinary callers and larger stack requests retain the scoped-thread fallback. Concurrent execution and Cairo Native cache implementation are unchanged.
Based on 4c5fd9e, the exact dependency of Madara continuous-nonce batching PR starkware-libs#1255. Companion Madara draft starkware-libs#1256 (madara-alliance/madara#1256) wires its existing executor loop through this entrypoint.
Validation: six standalone Rust 1.89 thread-lifecycle tests passed, including borrowed fallback work, TLS reuse, larger-stack fallback, child-thread isolation, panic propagation and replacement isolation. Non-Native helper compilation passed. Full Madara integration cargo check and four Native-enabled/disabled rejection/reversion/nonce/shutdown regressions passed in release workflow 34696401227. Seven benchmark cells passed; the largest portfolio cell OOM-killed at its unchanged 12 GiB limit after 3,999 of 5,000 invokes. Keep draft: memory retention attribution/profiling and a successful full PM150 run remain unresolved. See the companion draft for exact numbers and limitations. No Cairo Native implementation changes.