Skip to content

docs(showcase): correct stale aimock fixture/Dockerfile claims in RAILWAY.md - #5683

Merged
jpr5 merged 1 commit into
mainfrom
docs/railway-md-aimock-fixtures-correction
Jun 24, 2026
Merged

jpr5 merged 1 commit into
mainfrom
docs/railway-md-aimock-fixtures-correction

Conversation

@jpr5

@jpr5 jpr5 commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

showcase/aimock/RAILWAY.md described the aimock fixture infrastructure as it worked during an earlier migration phase, not as it works today. The stale claims actively misled debugging. This PR corrects them to match the real, verified infra.

Before → After

Claim Before (stale) After (correct)
Fixture delivery (§4/§5) Three fixtures fetched at boot from GitHub-raw URLs: d5-all.json, smoke.json, feature-parity.json Fixtures are baked into the image at build time under /fixtures/{shared,d4,d6}; no remote fetch
d5-all.json Authoritative D5 bundle, re-bundled from harness/fixtures/d5/* Gone — a one-time migration source split into the per-slug showcase/aimock/d6/<slug>/ tree (the source of truth)
startCommand --fixtures (§5) 3 raw.githubusercontent.com URLs --fixtures /fixtures/shared --fixtures /fixtures/d4 --fixtures /fixtures/d6 (the baked-in dirs). Added a warning that a single --fixtures /fixtures parent loads nothing
Runtime image (§3) Bare ghcr.io/copilotkit/aimock:<version> pulled directly showcase-aimock image, FROM ghcr.io/copilotkit/aimock:latest + baked fixtures, built by showcase_build.yml
Dockerfile (§8) "Dead code / legacy wrapper, safe to remove" LIVE — showcase_build.yml builds it (dockerfile: showcase/aimock/Dockerfile) and it bakes shared/, d4/, d6/ into /fixtures/. Do not remove
Env vars (§6), references (§9) Referenced public GitHub-raw fixture URLs and ~5 min raw-edge cache propagation Local baked dirs; propagation is via image rebuild + Railway deploy

Also documents the working Railway mutation auth path by mechanism only (§2): account-scoped RAILWAY_TOKEN from the DevOps showcase 1Password item via GraphQL Authorization: Bearer — the CLI session token is not authorized for showcase-project mutations. No token value is in the doc.

Verification

  • showcase/aimock/d5-all.json does not exist; the tree is shared/, d4/, d6/.
  • showcase/aimock/Dockerfile is FROM ghcr.io/copilotkit/aimock:latest + COPY shared|d4|d6 -> /fixtures/....
  • .github/workflows/showcase_build.yml matrix entry showcase-aimock builds dockerfile: showcase/aimock/Dockerfile, context showcase/aimock.

Docs-only change. Do not merge / do not enable auto-merge.

…LWAY.md

The showcase-aimock RAILWAY.md described fixtures as fetched from GitHub-raw
URLs at boot and called the Dockerfile dead code. Both are false and actively
misled debugging: fixtures are baked into the image at build time under
/fixtures/{shared,d4,d6}, the Dockerfile is the live image builder driven by
showcase_build.yml, and the d5-all.json bundle no longer exists (split into
the per-slug d6/ tree). Corrects sections 3, 4, 5, 6, 7, 8, 9 to match the
real infra, fixes the startCommand to load the three baked-in subdirectories,
and documents the account-scoped RAILWAY_TOKEN mutation path by mechanism.
@github-actions

Copy link
Copy Markdown
Contributor

📣 Social Copy Generator

Generate social media copies (Twitter/X, LinkedIn, Blog Post) for this PR using Claude.

  • Generate social media copies

@github-actions

Copy link
Copy Markdown
Contributor

Production Digest-Pinning Audit

All 40 services digest-pinned.

Run 2026-06-24 11:52:37 PDT — 0 finding(s).

@jpr5
jpr5 merged commit eb3bb6a into main Jun 24, 2026
21 checks passed
@jpr5
jpr5 deleted the docs/railway-md-aimock-fixtures-correction branch June 24, 2026 20:28
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