Skip to content

GEN-2136: Establish provider-neutral live trace stream artifacts - #189

Merged
exe-dev-github-integration[bot] merged 1 commit into
mainfrom
gen-2136-trace-stream
Oct 9, 2026
Merged

exe-dev-github-integration[bot] merged 1 commit into
mainfrom
gen-2136-trace-stream

Conversation

@asselstine

Copy link
Copy Markdown
Collaborator

Live traces currently tail native sessions, and terminal session uploads replace the projection. This change adds a documented primary trace-source contract, tails declared execution streams with the existing offset/hash-chain protections, and reconciles completed runs from a separate immutable, content-addressed stream artifact. Native sessions remain separate audit artifacts; existing native-only runs retain their parser and collection behavior.

Source declarations are persisted at launch and exposed in run detail/diagnostics. Artifact metadata retains provider, source path/media type, and format/CLI/harness versions when supplied. The supervisor keeps stdout/stderr separate and creates declared stream files without truncating them. The common JSONL v1 contract is documented in docs/execution-trace-stream.md; provider producers remain scoped to GEN-2137/2138/2139. Apply migration 0010_trace_sources before deploying.

Validation:

  • npm run check: passed across the workspace, including 262 tests, API boundaries, TypeScript, and Worker dry-run builds (trace, auth, and queue PostgreSQL suites enabled).
  • New PostgreSQL trace suite passed again using its own freshly created/migrated database; it automatically runs with CI's AUTH_TEST_DATABASE_URL.
  • Real shell/file boundary coverage exercises live offsets and truncation; repository tests cover partial UTF-8/JSON tails, retries, rotation, concurrent uploads, exact terminal bytes, native audit separation, and corrupt-projection rollback.
  • git diff --check: passed.

An expanded run enabling TEST_DATABASE_URL exposed an existing job-edit test failure (queue_full). It reproduces unchanged on origin/main (1e4cf60). The normal workspace check passed with those five optional job-edit database tests skipped.

Linear: https://linear.app/generation/issue/GEN-2136/establish-provider-neutral-live-trace-stream-artifacts

@linear

linear Bot commented Oct 9, 2026

Copy link
Copy Markdown

GEN-2136

@exe-dev-github-integration
exe-dev-github-integration Bot added this pull request to the merge queue Oct 9, 2026
Merged via the queue into main with commit 9b46b08 Oct 9, 2026
2 checks passed
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