Repository navigation
Upgrade tracer to 4.3.1 and visualizer to 0.18.13 - #30
Conversation
mepcotterell
left a comment
There was a problem hiding this comment.
Reviewed head: 44e20c1
Balanced review and CodeQL review
Scope: full PR diff from b6b2e2b: pyproject.toml, uv.lock, README.md, HACKING.md. Reviewed pin loading, cache verification, package configuration inclusion, version synchronization, and upstream 4.3.0...4.3.1 changes. No application Java/Python/TypeScript runtime changes. No actionable findings in the reviewed scope.
CodeQL 2.27.1: fresh Python and JavaScript databases; quality checks passed with zero extractor errors. Verified archive bytes for all 71 tracked application/test/script Python files and exact source bytes for all 44 tracked JS/TS/CJS files. Official Python queries 1.8.13 and JavaScript queries 2.4.8, security-and-quality plus security-experimental; community queries 0.8.2 for each language. Explicit suite verification passed: 233 Python queries, 245 JavaScript queries. Local threat sources enabled in addition to default remote sources. Python community extension pack 0.8.2 loaded; no project-specific model additions needed for this pin-only integration change. Trail of Bits installed pack covers Java only, outside this application's Python/JS analysis.
Raw results: Python 532 (372 source/sink/partial-flow diagnostics; 160 other alerts); JavaScript 396 (314 source/sink diagnostics; 82 other alerts). Every raw entry has a disposition in the local triage.json. No actionable upgrade finding remained after checking code and docs/known-exceptions.md.
Triage evidence:
- Local CLI path/command/download capabilities are intentional: argv subprocess execution, operator-selected paths and URLs, and output templates containing primitive named values. No new remote boundary.
- HTML is sanitized by DOMPurify before live insertion; connector jQuery calls take HTMLElement/null. Trace dictionaries and cloned objects use null prototypes. D3/jQuery calls are local rendering; multidimensional allocations check integer dimensions and input length.
- TAR extraction uses filter=data. ZIP extraction checks resolved paths and symlink confinement in util/archives.py.
- Cyclic import candidates cross TYPE_CHECKING only. Unsupported OS/architecture branches raise before use. ExitStack owns the reported output file.
- Public hashes/paths/versions do not require constant-time secret comparison. Timeout calls receive function callbacks. Probe/cache/cleanup exceptions implement documented fallbacks. Test-only alerts exercise deliberate failures or assertions. DISABLE_HEADLESS_MODE is a retained compatibility name.
Limits: scan covers extracted first-party Python and JS/TS, scripts and tests; excludes dependencies/generated bundles, Java teaching programs and external tracer binaries. Source/sink diagnostics describe recognized models, not proof of complete modeling. This is not an audit of Maven Central or upstream implementation. GitHub executable JAR matches the release SHA-256 and reports 4.3.1; upstream release CI passed, but GitHub attestation lookup returned HTTP 404.
Validation: make check passed (684 Python tests; 261 frontend tests; 2091/2091 statements, zero missing); make test-examples passed (34 examples, 415 images); make build and make check-wheel passed; installed-wheel quickstart PNG/SVG passed. Hosted CI pending.
Summary
Upgrade the checksum-pinned standalone tracer to the published stable 4.3.1 release and bump the visualizer patch version. Synchronize the lockfile and installation examples.
Maven Central now publishes
io.github.cs1302uga:cs1302-tracer:4.3.1. That artifact is a library JAR withoutMain-Class; retain GitHub's standalone executable for this CLI integration. Downloaded both artifacts and verified their SHA-256 values against publication metadata. Upstream's tag comparison has no Java runtime-source changes; the Maven coordinate change needs no consumer adaptation here.Evidence
After: executable reports
code-tracer 4.3.1 (9125142b95053f20016d13702dfb9855abe49406); SHA-256b3d09709ddb6842db7aeb0c2f7c79bc7a77ac8a93d0e980c8523a89febcc84c0.make check: Ruff, Markdown/link checks, Basedpyright, 684 Python tests and 261 frontend tests passed. Exact configured Python statement coverage: 2,091/2,091, zero missing; existing exclusions unchanged. Branch and frontend percentage coverage are not configured.make test-exampleswith JDK 25: 34 examples, 415 rendered images passed.make buildandmake check-wheel: passed. Wheel contains 0.18.13 and the verified 4.3.1 pin. Installed-wheel README quickstart outside the checkout produced PNG and SVG; representative PNG inspected.44e20c1cd25733e544532d29781e1764f43e9f82.Merge Danger
Door: two-way. Revert the pin and patch metadata to roll back.
Blast Radius: tracing. All consumers download the new standalone JAR; runtime APIs and trace schemas are unchanged according to upstream tagged documentation. No merge or release publication is included in this PR.