Skip to content

Grantiva CLI 2.0.0

Latest

Choose a tag to compare

@kylebrowning kylebrowning released this 03 Sep 21:24
97f703b

Grantiva CLI 2.0.0 is a reliability and safety release built from the full post-1.9 audit of the CLI, runner, CI, MCP, and Console surfaces.

Major fixes

  • Visual regression and CI integrity: CI failures can no longer erase already-uploaded results, log delivery is drained before exit, multipart artifacts stay aligned with their screens, and comparisons use only captures produced by the current invocation.
  • Runner lifecycle correctness: runner process groups are terminated cleanly, foreground startup timeouts are cancellable, simulator leases remain owned for the session lifetime, stale PIDs are verified before signaling, and cleanup completes before commands return.
  • Reliable flow and artifact staging: same-named flows no longer overwrite each other, relative runFlow references survive staging, app IDs are injected without duplicate YAML keys, stale report artifacts are cleared, and captures/traces are attributed from the runner manifest.
  • Safe filesystem handling: screen names are preserved through canonical encoded filenames, captures and diff images cannot escape their output directories, invalid aliases are rejected, and failure screenshot paths are quoted correctly.
  • Project and build resolution: Xcode projects and workspaces are detected deterministically, hidden containers are ignored, workspace changes invalidate the detection cache, build settings are consistently applied, and shell arguments are safely quoted.
  • Streaming and diagnostics: fragmented simulator log lines and UTF-8 boundaries are preserved, SSE streams handle all line endings and enforce bounded lines, shell pipes are drained without deadlocks, and readiness files retry transient write failures.
  • Console command safety: destructive claims, app, webhook, alert, API-key, team, invite, and release operations refuse non-interactive execution without explicit confirmation. Resource IDs, filters, paging, and mutation payloads now receive consistent validation.
  • API and MCP contracts: endpoint paths and PATCH routing are corrected, nullable device profiles decode safely, MCP simulator identifiers and VRT tool contracts are validated, and auth/login use typed clients with malformed URLs rejected cleanly.
  • Much broader regression coverage: CI, runner lifecycle, Diff, Xcode build, app/project resolution, auth storage, hierarchy, logging, runner management, SSE, and Console execution paths now have direct tests.

Additional capabilities

  • Added recorded feature-flag evaluation lookup.
  • Added analytics device detail lookup.
  • Added direct get commands for administrative resources.
  • Refreshed the documented CLI command surface and removed obsolete driver/configuration code.

Full changelog: v1.9.0...v2.0.0