Repository navigation
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0f76250858
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
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.
Loading the same DLL twice could give both modules one ID and leave nested frames unresolved. Each error now assigns its own module IDs and matches frames to the assembly instance that produced them. Repeated loads can reuse file metadata at any module position.
All six CI checks passed on
2bdfbeb. Locally, 159 error-plugin and serializer tests passed with 12 existing skips. Windows .NET 10 and .NET Framework resultsWith 1,536 distinct modules, warm conversion took 3.71 ms versus 1.68 ms on main. The cache holds 1,024 file paths. As on main, simultaneous submissions of the same exception instance can still produce multiple events.
Verification and implementation details
Module and cache ownership
An ID is the module’s one-based position in the current error. The root error builds the assembly list once and shares it with inner errors, stack frames and Framework target methods. Filtered frames keep the existing
-1sentinel. The assembly references go out of scope after conversion. Frame mappingThe shared cache stores read-only strings, timestamps and the manifest module version ID. A matching path and version ID skip version-attribute reflection and timestamp I/O. Every module position can use a cache hit or a free slot. Once full, the cache allows FIFO eviction only for the first 1,024 emitted positions so one large capture cannot evict its entire working set. Cache writes and eviction share a lock. Each event receives a new module and data dictionary. Metadata reader · Event module construction
If a DLL repeats a version attribute, the SDK uses the first value reflection returns for that kind. The display version still prefers informational, then file, then assembly identity. A malformed module is isolated so other modules and frames can still be captured. Version readers
Local synthetic verification
Warm conversion and retained memory
Release on macOS arm64 and .NET 10.0.14. Each cell is the median of five fresh processes per revision, with rotated order, 150 warm-ups and seven timed batches of 200 local conversions. Each process generated its own DLLs.
A diagnostic build measured which managed objects became collectible after releasing the cache, once the fixture load context had unloaded. Median exclusive retention across five fresh processes was 515,000 bytes for 768 entries and 660,408 bytes for 1,024 entries. With 1,536 modules emitted it retained 1,024 entries and 660,160 bytes. Path lengths, metadata and runtime storage affect these totals.