Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: SocketDev/socket-python-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.4.10
Choose a base ref
Loading
...
head repository: SocketDev/socket-python-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.4.11
Choose a head ref
Loading
  • 1 commit
  • 9 files changed
  • 1 contributor

Commits on Jun 19, 2026

  1. Add units to reachability timeout/memory-limit flags (#236)

    --reach-analysis-timeout now accepts an optional duration unit (s/m/h, e.g.
    90s, 10m, 1h) and --reach-analysis-memory-limit an optional size unit (MB/GB,
    case-insensitive, e.g. 512MB, 8GB). Values are forwarded verbatim to the
    reachability engine (@coana-tech/cli), which owns parsing and validation, so
    the unit grammar and error messages live in a single source of truth.
    
    To pass values through unchanged, the four flags (incl. the hidden
    --reach-timeout/--reach-memory-limit aliases) drop type=int and accept raw
    strings; the dataclass fields become Optional[str]. A defensive str() is kept
    at the coana forward point so config-file JSON numbers (which bypass argparse's
    type converter via set_defaults) still reach subprocess as strings, and the
    guard uses `is not None` so an explicit empty string flows through and triggers
    coana's own error rather than being silently dropped.
    
    Bare numbers remain accepted for backward compatibility (seconds for the
    timeout, MB for the memory limit) but are no longer documented. Bumped the
    pinned @coana-tech/cli version to 15.5.0, which ships the unit parser.
    
    Docs (cli-reference) and CHANGELOG updated; unit tests cover unit-bearing
    values, bare-int back-compat, and int coercion.
    mtorp authored Jun 19, 2026
    Configuration menu
    Copy the full SHA
    6e3996d View commit details
    Browse the repository at this point in the history
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.