Skip to content

Codex/bounded format imports - #1

Merged
jogibear9988 merged 4 commits into
mainfrom
codex/bounded-format-imports
Nov 21, 2026
Merged

jogibear9988 merged 4 commits into
mainfrom
codex/bounded-format-imports

Conversation

@jogibear9988

Copy link
Copy Markdown
Member

No description provided.

Resolve defaultSampleType by integer value, retain exact uint64 function/location identities, and validate string-table/source-line indices. Copy location-specific frame metadata instead of mutating shared function definitions, preserving separate call-site lines.

Add preferred/fallback metric, colliding low-word uint64 ID and source-line regressions. Update the reviewed pprof snapshot: per-location frames split correctly while aggregate weights remain unchanged. Both pprof suites pass (4 tests, 3 snapshots).
Recognize classic Android method traces v1-v3 before protobuf/text sniffing; scan binary records twice with explicit CPU/wall/dual clocks and no parsed-event array. Preserve method signatures, threads, source metadata and clipped observation windows; reject malformed or unsupported layouts.

Read classic ZIP32 STORE/DEFLATE Java snapshots through bounded incremental UTF-8 lines into shared output builders. Validate catalogue/header agreement, paths, actual expansion, CRC and data descriptors. Enforce 32 MiB compressed, 512 entries, 16 MiB per entry and 64 MiB expanded total, with signature-only oversized File preflight and cancellation.

Add independent synthetic fixtures, 12 Android regressions and 14 ZIP regressions; retain passing existing Java text tests. Document supported subsets and remaining model memory costs.
Use the existing generic worker importer for every recording of at least 1 MiB, independent of extension. Cover perf, folded stacks, pprof, JFR, Android and ZIP while retaining duration streaming and DOM/CSP fallbacks.

Preserve progress cancellation metadata for yielding ZIP fallback, preflight oversized worker ZIP Files before full reads, and reject transferred-buffer fallback without ownership. Regress actual generic imports and snapshot roundtrips, cancellation, gzip reads, fallback and limits. Generic input/model and snapshot memory remain proportional to the recording.
Update in-app Help, README and packaged guides for classic Android traces and bounded Java snapshot ZIPs. Record worker fallback/model memory limits and pprof source identity semantics.

Classify upstream jlfwong#40 and jlfwong#173 as implemented for the explicitly documented subsets; retain unsupported variants and keep large-trace OOM issues partial. Record 458 passing Jest tests, 307 snapshots, five Node tests, builds, browser checks and unchanged private PLC export hash. Document ARM64 runtime and real-device validation limits.
@jogibear9988
jogibear9988 merged commit 6e2e26f into main Nov 21, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant