Repository navigation
feat: add Experiment report templates - #1516
Draft
Cedric Vidal (cedricvidal) wants to merge 3 commits into
Draft
Cedric Vidal (cedricvidal) wants to merge 3 commits into
Cedric Vidal (cedricvidal) wants to merge 3 commits into
Conversation
Extend versioned report templates to Experiment executions with immutable template identities, independent scheduling and retries, API and CLI parity, Portal configuration and report history, migration coverage, prompt evaluations, and documentation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: a1387f4c-83dd-48cb-9e8c-07398fefd60e
6 tasks done
Cedric Vidal (cedricvidal)
added this pull request to stack #1518
October 17, 2026 00:58
Test Results (Node.js 22)test: Run #279
❌ Some tests failed!
|
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: a1387f4c-83dd-48cb-9e8c-07398fefd60e
Test Results (Node.js 22)test: Run #293
❌ Some tests failed!
|
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: a1387f4c-83dd-48cb-9e8c-07398fefd60e
Test Results (Node.js 22)test: Run #298
❌ Some tests failed!
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds reusable, project-scoped Experiment report templates as the next layer on the Experiment successor stack.
run | experimentsubjects, immutable content versions, enablement, and manual / always / linked-run triggers.pp-readout, with independent dependency state, exact-execution claims, stale-message protection, and append-only retries.Demos
Before
N/A — this is a new Experiment report-template workflow.
After
Creation and immutable versioning, multi-template Experiment configuration, independent processing categories, exact report history, and safe retry:
experiment-report-templates-walkthrough.mp4
Template immutable version history
Multi-type report history and retry
Testing
pnpm test— passed: 292 files, 3,509 tests.pnpm --filter shared build && pnpm --filter db-migrations build && pnpm --filter api build && pnpm --filter readout-handler build && pnpm --filter report-generator build && pnpm --filter cli build && pnpm --filter portal build— passed.pnpm --filter api generate:openapi— passed; committed snapshots/specification regenerated.pnpm eval:static-prompts:validate-data— passed.pnpm eval:static-prompts:smoke— passed offline smoke.pnpm --dir website build— passed.git diff --check— passed.no space left on devicewhile creating/var/tmp/libpod_builder…; the single targeted retry stopped before build because the reduced profile omitted the requiredentra-local-initdependency. No pruning or unrelated Docker resources were touched.yuv420p, 1440×900, 25 fps, faststart (moovbeforemdat), 38.12 seconds.Documentation and compatibility
Updated
docs/architecture/experiments.md,docs/architecture/app-design.md,docs/architecture/post-processing.md,docs/architecture/prompt-evaluations.md, and the website Experiment guide.Migration 035 backfills legacy report templates as enabled
subject: runtemplates with immutable version 1 records and adds Cosmos-compatible lookup indexes.pp-readoutremains the built-in Experiment readout; no historical artifact is reinterpreted as a configurable template report.Checklist
up()/down()and keep it CosmosDB-compatible.NOTICE/NOTICE-REVIEW.txtwithpnpm noticeas needed. N/A — no dependency changes.