Skip to content

Upgrade tracer to 4.3.1 and visualizer to 0.18.13 - #30

Merged
mepcotterell merged 1 commit into
mainfrom
mepcotterell/upgrade-tracer-3
Nov 9, 2026
Merged

mepcotterell merged 1 commit into
mainfrom
mepcotterell/upgrade-tracer-3

Conversation

@mepcotterell

@mepcotterell mepcotterell commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

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.

- tracer 4.3.0 / visualizer 0.18.12
+ tracer 4.3.1 / visualizer 0.18.13

Maven Central now publishes io.github.cs1302uga:cs1302-tracer:4.3.1. That artifact is a library JAR without Main-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

  • Before: tracer 4.3.0 and package 0.18.12.
    After: executable reports code-tracer 4.3.1 (9125142b95053f20016d13702dfb9855abe49406); SHA-256 b3d09709ddb6842db7aeb0c2f7c79bc7a77ac8a93d0e980c8523a89febcc84c0.
  • 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-examples with JDK 25: 34 examples, 415 rendered images passed.
  • make build and make 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.
  • Initial renderer/example attempt overlapped a frontend rebuild and failed readiness; full checks and examples passed after build completion. Existing webpack size advisories remain.
  • Balanced review: no actionable findings in the full four-file change. Fresh CodeQL Python/JS databases passed quality and explicit suite gates; 233 Python and 245 JS queries (official security-and-quality + experimental, community packs, local threat sources). All raw entries triaged; no actionable upgrade findings. Generated bundles, dependencies, Java fixtures and the upstream binary are outside this application scan.
  • Local environment: macOS, Python 3.14.6, JDK 25. Hosted CI passed: Markdown/local links, preparation/lint, and Python 3.13 with JDK 21 and 25. The release job was skipped as expected for a PR. Final verified head: 44e20c1cd25733e544532d29781e1764f43e9f82.
  • Upstream release CI passed. GitHub attestation lookup for the executable returned HTTP 404; checksum and version verification are not an attestation substitute.

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.

@mepcotterell mepcotterell left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@mepcotterell
mepcotterell merged commit 1f1deda into main Nov 9, 2026
5 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