Skip to content

Add operation logging and release Runtime 1.4.0 - #23

Merged
sagnik11 merged 1 commit into
mainfrom
autter/runtime-operation-evidence
Oct 5, 2026
Merged

sagnik11 merged 1 commit into
mainfrom
autter/runtime-operation-evidence

Conversation

@sagnik11

@sagnik11 sagnik11 commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

Customer operations can finish without throwing even when the intended result failed. Runtime 1.4.0 adds structured diagnostic logs and explicit operation outcomes, so a checkout can report reserved inventory, an unconfirmed payment, and skipped order creation with linked trace context.

The Node and Next.js server APIs record nested context, measured steps and one completed operation summary. The ingester accepts authenticated OTLP JSON/protobuf at /v1/logs and creates the separate runtime_logs table through migration 0011-runtime-logs. Ordinary logs remain diagnostic evidence; exceptions and failed outcomes use the existing trace issue pipeline. Buffering, retries, privacy scrubbing and flush failures are bounded and reported.

Validation: Runtime builds passed; 40 Node tests, 8 browser tests and 67 ingester tests passed; browser size remains within its 5 kB budget. Isolated ClickHouse 24.8 validation covered schema migration, SDK ingestion and scoped linked evidence.

Rollout: deploy the ingester before publishing the 1.4.0 SDKs, then deploy platform evidence consumers. The browser package remains 1.3.3; Next.js requires the new Node package.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@sagnik11
sagnik11 merged commit 6b98e04 into main Oct 5, 2026
2 of 4 checks passed

@autter-dev autter-dev Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Autter PR review for #23 terminated unexpectedly (runner stopped before review completed (SIGTERM)). Push a new commit to re-run the review.

@autter-dev

autter-dev Bot commented Oct 5, 2026

Copy link
Copy Markdown

Autter review failed

Autter PR review for #23 terminated unexpectedly (runner stopped before review completed (SIGTERM)). Push a new commit to re-run the review.

The merge gate is blocked until this review finishes successfully.

Retry

  • Click Retry review on the autter/review-gate check below, or
  • Comment @autter review on this PR

Autter will post a new comment when the retry starts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant