Skip to content

v2.0.6

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Mar 05:52
· 1 commit to main since this release

stackql-deploy v2.0.6

Fixes

  • Fixed eager rendering of statecheck queries that caused hard failures when this.* variables were not yet available (e.g. post-create exists re-run fails due to eventual consistency). statecheck now uses JIT rendering like exports, deferring gracefully when template variables are unresolved.
  • When a deferred statecheck cannot be rendered post-deploy, the build falls through to exports-as-proxy validation or accepts the create/update based on successful execution.
  • Applied the same fix to teardown, where statecheck used as an exists fallback would crash on unresolved variables instead of skipping the resource.
  • Fixed --dry-run failures for resources that depend on exports from upstream resources. create and update query rendering now defers gracefully in dry-run mode when upstream exports are unavailable, and placeholder (<evaluated>) values are injected for unresolved exports so downstream resources can still render.
  • When a post-create exists re-run fails to find a newly created resource (eventual consistency), the exists query is automatically retried using the statecheck retry settings if available, giving async providers time to make the resource discoverable.

Features

  • New optional troubleshoot IQL anchor for post-failure diagnostics. When a build post-deploy check fails or a teardown delete cannot be confirmed, a user-defined diagnostic query is automatically rendered and executed, with results logged as pretty-printed JSON. Supports operation-specific variants (troubleshoot:create, troubleshoot:update, troubleshoot:delete) with fallback to a generic troubleshoot anchor. Typically used with return_vals to capture an async operation handle (e.g. RequestToken) from RETURNING * and query its status via {{ this.<field> }}. See resource query files documentation for details.
  • The RETURNING * log message (storing RETURNING * result...) is now logged at debug level instead of info.

Download

Platform Architecture Asset
Linux x86_64 stackql-deploy-linux-x86_64.tar.gz
Linux arm64 stackql-deploy-linux-arm64.tar.gz
macOS Universal (Apple Silicon + Intel) stackql-deploy-macos-universal.tar.gz
Windows x86_64 stackql-deploy-windows-x86_64.zip

Each archive contains a single binary named stackql-deploy (or stackql-deploy.exe on Windows). Verify your download with SHA256SUMS.

Install (quick)

Linux / macOS:

curl -L https://get-stackql-deploy.rs -o stackql-deploy.tar.gz && tar xz stackql-deploy.tar.gz

Windows (PowerShell):

Invoke-WebRequest -Uri https://get-stackql-deploy.rs -OutFile stackql-deploy.zip
Expand-Archive stackql-deploy.zip -DestinationPath .

cargo:

cargo install stackql-deploy

Full documentation: stackql-deploy.io - Source: github.com/stackql/stackql-deploy