Repository navigation
Conversation
…are --fixtures /fixtures DOES recurse)
jpr5
requested review from
marthakelly,
mme,
ranst91 and
tylerslaton
as code owners
June 25, 2026 16:29
Contributor
📣 Social Copy GeneratorGenerate social media copies (Twitter/X, LinkedIn, Blog Post) for this PR using Claude.
|
Contributor
Production Digest-Pinning AuditAll 40 services digest-pinned. Run 2026-06-25 09:30:13 PDT — 0 finding(s). |
2 tasks
Contributor
Author
|
Superseded by #5704, which consolidates this aimock RAILWAY.md fixtures-recursion correction together with the full claim-by-claim accuracy audit fixes across showcase/TESTING.md, showcase/RAILWAY.md, and showcase/aimock/RAILWAY.md. Closing in favor of the single consolidated PR. |
jpr5
added a commit
that referenced
this pull request
Jun 25, 2026
… (claim audit) (#5704) ## Summary Claim-by-claim accuracy audit of the three showcase ops docs surfaced 32 WRONG + 2 STALE factual claims. This PR fixes every actionable one, surgically and consistent with each doc's tone. Each fix was re-verified against the repo / live Railway before writing (RED = current text wrong; GREEN = new text matches reality). UNVERIFIABLE claims were left unchanged. **Supersedes #5702** — that PR only corrected the aimock recursion warning; this PR applies BOTH that correction AND the §5 startCommand code-block fix. ### showcase/TESTING.md (15 fixes) - QA file count: ~498 across **20** packages (was "153 files, 17 packages"). `ls showcase/integrations/*/qa/*.md | wc -l` => 498. - "PASS 17 packages" → "PASS 20 packages" (9 cells). `ls -d showcase/integrations/*/ | grep -v _shared | wc -l` => 20. - Per-package E2E: ~33–41 specs/package (was "9"); removed fabricated `renderer-selector.spec.ts` claim + Known-gap #5. - Aimock fixtures: removed non-existent `feature-parity.json`; fixed `smoke.json` → `shared/smoke.json`. - python-sdk: Python 3.10–3.14 matrix (was 3.12). - Removed `.changeset` from `test_e2e-dojo` and `test_e2e-legacy-v1` path filters (not in triggers). - Corrected `showcase_validate.yml` path filter. - Removed non-existent `test_smoke-starter-deployed.yml` matrix row + footnote. - **test/unit paths-ignore reversal:** `test/unit` does NOT fire on `showcase/**` or `sdk-python/**` PRs — both ARE in `test_unit.yml` paths-ignore (the doc claimed the opposite). Added `static/quality` to the sdk-python PR list; fixed danger path to `sdk-python/copilotkit/langgraph_agent.py`. - Classic branch protection is fully **disabled** (API returns 404) — there is no live `required_status_checks.contexts` array. - Depot footnote: runner is `depot-ubuntu-24.04-4` and most workflows (not just dojo) run on Depot. ### showcase/RAILWAY.md (8 fixes) - **Pending Service Provisioning section was fully stale:** `built-in-agent` is provisioned with real `railway_id f4f8371a-...` in the `ALL_SERVICES` matrix in `showcase_build.yml`; `grep PLACEHOLDER-CREATE-RAILWAY-SERVICE` => 0 matches repo-wide. Rewrote section, removed the fail-loud paragraph. - Fabricated `generate-starters.ts` → real `extract-starter.ts` / `provision-starter-fleet.ts`. - **autoUpdates 41→24/40:** live prod env (b14919f4) has 40 services, only **24** with `autoUpdates.type=minor`, 16 with none; minor services carry an all-day/every-day `schedule` array (not "no schedule"). - **showcase_build-vs-deploy attribution:** `serviceInstanceRedeploy` (via `redeploy-env.ts`) runs from `showcase_build.yml` ("Build & Push"); `showcase_deploy.yml` ("Verify Deploy") only health-checks it. Fixed in Auto-Updates section, Known Quirks, and the "Add to ALL_SERVICES matrix" step. - `smoke.yml` is auto-discovery driven — no edit needed to add a `showcase-*` service. ### showcase/aimock/RAILWAY.md (6 fixes) - §1: runs the `showcase-aimock` wrapper image (not the bare `@copilotkit/aimock` container). - §3: published `linux/amd64` only (arm64 not published). - §4 browser-pool: `BROWSER_POOL_MAX_CONTEXTS=24` (was 40); D5 peak 4×4=16 contexts ~4.8 GB; knob is `FEATURE_CONCURRENCY_D6` in `d6-all-pills.ts` (no `e2e-deep.ts` exists). - **§5 startCommand:** both live prod (b14919f4) and staging (8edfef02) aimock instances run a single `--fixtures /fixtures` (before the provider flags), not three subdir flags. Replaced the code block + flag table row and **corrected the recursion warning** (a single `--fixtures /fixtures` loads the whole baked tree — verified live, healthy). - §7: verify curl payload `"ping"` → `"Respond with exactly: OK"` (the actual `smoke.json` match string). ## RED→GREEN evidence (highest-impact) - **qa count:** `ls showcase/integrations/*/qa/*.md | wc -l` => 498; 20 packages. - **test/unit paths-ignore:** `test_unit.yml` paths-ignore includes both `showcase/**` and `sdk-python/**` — directly reverses the doc's parenthetical. - **showcase_build vs deploy:** `showcase_build.yml:810 npx tsx showcase/scripts/redeploy-env.ts staging ...`; `showcase_deploy.yml` name = "Showcase: Verify Deploy", no redeploy call. - **autoUpdates 24/40:** live GraphQL on prod env b14919f4 — 40 services, 24 minor, 16 none; minor schedule = 7 days, startHour 0 / endHour 24. - **aimock §5 startCommand:** live GraphQL on prod + staging — `node /app/dist/cli.js --proxy-only --fixtures /fixtures --provider-openai ... --validate-on-load --host 0.0.0.0 --port 4010`. Audit ref: claim-by-claim audit @ commit 99f24fa. Full fix-log retained out-of-tree at `aimock-docs-fix-log.md`. ## Test plan - [ ] `oxfmt --check` passes on the three docs (verified locally). - [ ] Docs-only change; no code/CI behavior affected.
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.
What was wrong
showcase/aimock/RAILWAY.md§5 (introduced by #5683) claimed:This is empirically false for every deployed aimock version. The deployed loader (
/app/dist/fixture-loader.js,loadFixturesFromDir) recurses fully into every subdirectory at any depth. The false "one level only" behavior matches the locally-installed dev dep@copilotkit/[email protected](used only for test tooling, NOT deployed) — that mismatch is the likely source of the bad inference. #5683 had a structural-only verification section with no runtime test.Verified evidence (8107-fixture proof + version note)
loadFixturesFromDirends withfor (const sub of subdirs) fixtures.push(...loadFixturesFromDir(join(dirPath, sub), logger))— unbounded recursion — identical in prod 1.33.0 (@sha256:7a35786e…) and staging/:latest1.34.0 (@sha256:888fa0…).:latest(1.34.0) image with bare--fixtures /fixtures:d4/llamaindexfixture verbatim ("You said your name is Alice."). Prod 1.33.0 behaves identically (Loaded 8090 fixture(s), same deep tree). Live prod (bare/fixtures) also serves deep fixtures.The incident this caused
The false claim led an operator to set staging's
startCommandto the per-directory form, creating a staging<->prodstartCommanddivergence that tripped the promote pipeline's P6 check (aimock REFUSE), which blocked the tier-2 google-adk promote. Resolved out-of-band by reverting staging to bare/fixtures(matching prod); both are now byte-identical and google-adk is live. This PR fixes the doc so the per-dir form isn't silently reintroduced.RED -> GREEN
/fixtures"does NOT recurse … loads nothing useful and every request falls through to the proxy."--fixtures /fixturesloads the whole tree (/fixtures/{shared,d4,d6}/**), is the canonical/recommended form, and the per-dir form is not required — grounded in the 1.33.0/1.34.0 + 8107-fixture evidence, with a caution to re-verify if a future aimock changes loader recursion.Source of the bad claim: #5683.
Docs-only change. Edits
showcase/aimock/RAILWAY.mdonly.