Repository navigation
Conversation
Adds showcase/aimock/README.md covering: what aimock is and why the showcase uses it; the roles of feature-parity.json and smoke.json; the hand-maintained sync policy and its two layers of load-time schema validation (Dockerfile --validate-on-load + CI fixture test from #3973); how to add/update a fixture; drift risk surfaces and response; and the CI workflows that exercise the fixtures.
jpr5
requested review from
marthakelly,
mme,
ranst91 and
tylerslaton
as code owners
April 16, 2026 21:19
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📣 Social Copy GeneratorGenerate social media copies (Twitter/X, LinkedIn, Blog Post) for this PR using Claude.
|
Contributor
Author
|
Consolidated into #4021 (Bundle 5). |
This branch was successfully 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
showcase/aimock/README.md— the missing operator doc for the showcase aimock fixture server. Action inventory reference: J6.Covers:
--proxy-onlymode so unmatched requests fall through to the real provider.feature-parity.json(per-packagetest_e2e-showcase-on-demandfixtures for the 9 demos across 17 packages) vssmoke.json(minimal/api/smokeround-trip fixture).--validate-on-loadfrom fix(aimock): validate fixtures at load time to prevent runtime 500s #3973, CIaimock-fixtures.test.tsschema check) catch schema breakage but not semantic drift.test_e2e-showcase-on-demand.yml(formerlyshowcase_aimock-e2e.yml),showcase_validate.yml,showcase_deploy.yml,showcase_smoke-monitor.yml.Key finding
The sync policy is not automated. When a package's agent changes what it prompts the LLM with (new tool name, new prompt prefix), nothing in CI notices that the existing
feature-parity.jsonfixture now matches the wrong request or returns a now-inappropriate response. The only signal is a downstream Playwright assertion failure, and a human has to trace the failure back to the fixture. Surfacing this explicitly is the main value of the doc; if we want real drift detection, the path is to wire aimock's--recordmode into a periodic workflow that re-captures against live providers and diffs — but that is not built today.Test plan
pnpm --filter @copilotkit/showcase-scripts test aimock-fixturespasses (no fixture changes)