Skip to content

AxonFlow v11.6.1

Choose a tag to compare

@saurabhjain1592 saurabhjain1592 released this 01 Dec 12:22
9a367a5

[11.6.1] - 2026-12-01: Orchestrator audit records stored on Hosted

Patch over v11.6.0. One fix: on Hosted (Community SaaS), audit
records written by the orchestrator were refused by row-level security and
not stored. It changes one API answer on every deployment: read "Changed"
below before upgrading. No schema change.

Community

Fixed / hardened

  • Hosted (Community SaaS): orchestrator audit records are stored. On
    Hosted, audit records written by the orchestrator were refused by row-level
    security and not stored: tool-call records (tool_call_audit),
    governed-request records, and workflow and plan operation records. Records
    written by the agent were not affected. The orchestrator now writes each
    record inside its organization's scope. Self-hosted deployments were not
    affected.
  • One record that cannot be stored no longer takes its batch with it. The
    orchestrator wrote audit records in batches of up to 100 in one transaction,
    so one failing record discarded the batch. Each record is now isolated.
  • A NUL character in a tool's name, input, output or error text, or in a
    prompt or response, no longer loses the record.
    It is stored with the NUL
    removed.
  • A record the orchestrator cannot store is reported. A log line starting
    [AUDIT-WRITE-FAILED] and the counter
    axonflow_orchestrator_audit_write_failures_total{reason}; a record refused
    for its own content is logged as [AUDIT-ROW-REJECTED]. The earlier
    per-record line Failed to insert audit entry is gone, replaced by these
    two. The line Failed to write audit batch is still logged when a batch
    had a record that was not stored.

Changed

  • POST /api/v1/audit/tool-call answers only after the record is stored.
    This also applies to the MCP tool audit_tool_call, which uses it.
    • 201 with an audit_id now means the record is stored. Before, it meant
      the record was queued.
    • 503 with Retry-After and no audit_id when the record was not stored:
      the audit database is unavailable, or the write took more than 3 seconds.
      Before, these cases answered 201.
    • 422 with no audit_id when the record's own content cannot be stored
      (for example a header value longer than its column). Retrying the same
      request does not help.
    • Callers that treated any answer as success now see an error in these
      cases. The Go, Python and TypeScript SDKs return an error; the Java SDK
      retries a 503; the Claude Code, Codex and Cursor plugins send this call
      in the background and are unaffected.
    • Two clients make this call on the tool path. The Google ADK plugin waits
      for it before it returns the tool result, so it now sees an error in these
      cases. The n8n node, in its default open mode, emits
      _axonflow_unreachable: true in place of the 201 body; in closed mode
      the run fails.
    • If the connection to the database is lost after the record is committed, a
      503 can be answered for a record that exists, and a retry then stores a
      second record.
  • The orchestrator's audit database pool is limited to 10 connections. It
    had no limit.

Enterprise

Fixed / hardened

  • Hosted: the audit record of a human approval or rejection is stored. It
    was refused by row-level security in the same way.
  • Hosted: the audit record of a failed service-credential rotation or
    revocation is stored
    .
  • Hosted: an alarm on the first orchestrator audit record that cannot be
    stored
    (the alarms stack gains a metric filter and an alarm).

Migration

  • None. No schema change. Upgrading from v11.6.0 moves the agent, orchestrator
    and customer-portal images and the version string. Hosted operators also
    update the alarms stack.

Full notes: https://docs.getaxonflow.com/docs/releases/v11-6-1 · Enterprise source commit a8c8402475a794ae4e748dc2c716094ecebd2429 · Community mirror commit 9a367a58808c782ee14dd58f004201b176a207d5