Skip to content

hydro_deploy v0.13.0

Choose a tag to compare

@hydro-project-bot hydro-project-bot released this 11 Apr 23:32
· 538 commits to main since this release

New Features

  • implement profiling for macOS and Windows using samply

Bug Fixes

  • handle -1 addresses from samply, fix _counter() rollover
    This fixes samply profiling on my "ancient" 2019 x86-64 macbook pro
    15.3.2 (24D81)

    This pull request aims to fix the handling of –1 address values from
    samply by updating tracing filenames and refactoring related error and
    type handling. Key changes include:

    • Better error messages when dtrace or samply are not instaled.
    • Fix integer rollover in _counter() by using u64 instead of
      inferred i32.
    • Refactor samply profile conversion for asynchronous frame lookup.
    Show a summary per file
    File Description
    hydro_lang/src/rewrites/analyze_counter.rs Adds custom panic with
    measurement details if regex matching fails. (Used to diagnose
    _counter() i32 rollover)
    hydro_deploy/core/src/localhost/samply.rs Updates type for
    addresses/resources, refactors frame lookup to use asynchronous
    join_all, and adjusts string output for missing symbols.
    hydro_deploy/core/src/localhost/mod.rs Improves error handling
    during command spawning with conditional context messages for when
    samply or dtrace executables are not found.
    hydro_deploy/core/src/localhost/launched_binary.rs Uses
    serde_path_to_error for improved deserialization error context.
    dfir_lang/src/graph/ops/dest_sink.rs Standardizes error messages by
    removing extraneous punctuation.
    dfir_lang/src/graph/ops/_counter.rs Adds explicit type annotation
    for a cell initialization to prevent i32 rollover.

Bug Fixes (BREAKING)

  • fix perf setup, remove GCP startup_script, use TracingOptions::setup_command instead

Commit Statistics

  • 3 commits contributed to the release over the course of 19 calendar days.
  • 3 commits were understood as conventional.
  • 3 unique issues were worked on: #1800, #1812, #1814

Commit Details

view details
  • #1800
    • Fix perf setup, remove GCP startup_script, use TracingOptions::setup_command instead (52221ec)
  • #1812
    • Implement profiling for macOS and Windows using samply (6d24901)
  • #1814
    • Handle -1 addresses from samply, fix _counter() rollover (fbb5fab)