Skip to content

fix(showcase): bundle multimodal sample assets for agno and mastra - #6157

Merged
jpr5 merged 2 commits into
mainfrom
fix/multimodal-missing-demo-files
Jul 25, 2026
Merged

jpr5 merged 2 commits into
mainfrom
fix/multimodal-missing-demo-files

Conversation

@jpr5

@jpr5 jpr5 commented Jul 24, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ DEPENDENCY — this PR does not fix agno/mastra on its own

The assets here are committed as plain Git LFS pointers, governed by the repo-root *.png / *.pdf LFS rules, with no per-integration .gitattributes override. LFS tracking stays uniform across the fleet — demo assets are not carved out of LFS per integration.

Integration image builds currently do not fetch LFS: every entry in ALL_SERVICES in .github/workflows/showcase_build.yml is "lfs": false. Until that is fixed, the built agno/mastra images will ship 130-byte pointer stubs, the component's magic-byte guard will reject them, and the D5 multimodal cells stay red.

This PR requires the build-side LFS-fetch fix to land first, or to be merged together with it. Merging this alone changes nothing for agno/mastra.

The earlier RED → GREEN proof in this PR was obtained with real binaries in the image (the .gitattributes override, since removed) and no longer describes what this branch produces. It is retained below, clearly marked SUPERSEDED. No new green proof is claimed, and none can be produced until the build-side fix exists. Re-verification happens once both changes are combined.


What

agno and mastra were the only 2 of 20 showcase integrations with no public/demo-files/ directory ever committed. This adds the two bundled sample assets (plus the provenance README) to both, LFS-tracked under the repo-root rules.

The failure

The Attachments demo fetches its bundled sample and validates the magic bytes before building the message (sample-attachment-buttons.tsx → fetchUrl: "/demo-files/sample.png"). With the asset absent, it never gets that far. Verbatim console output from the D5 probe, identical on both slugs:

[error] Failed to load resource: the server responded with a status of 404 (Not Found)
[error] [multimodal-demo] sample-attachment send failed Error: Could not fetch sample "sample.png" — HTTP 404. Is the file bundled under public/demo-files/sample.png?

Page body at failure:

Bundled samples:
Try with sample image
Try with sample PDF
Could not fetch sample "sample.png" — HTTP 404. Is the file bundled under public/demo-files/sample.png?
How can I help you today?

userMsgCount: 0 — nothing was ever sent, so waitForTurnComplete timed out on turn 1 and the cell surfaced the generic conversation-error bucket. The backends are fine: both integrations have real vision-capable multimodal agents (agno/src/agents/multimodal_agent.py, mastra/src/mastra/agents/index.ts) and correct aimock fixtures whose userMessage keys match the component's autoPrompt strings verbatim. This is purely a missing-asset / packaging bug — a different bug from the LFS-pointer problem, and the reason this PR is still needed.

Why only these 2 of 20

public/demo-files/ is not part of the shared/ symlink mechanism — unlike _shared/, tools/, and shared-tools/, it is a per-integration duplicated directory. That is exactly how two integrations came to be missing it. Confirmed against origin/main: the directory has never existed in either integration's history, while all 18 others resolve to a real commit.

What was added, and from where

sample.png (10083 B), sample.pdf (2486 B), README.md (1174 B) copied byte-for-byte from showcase/integrations/langgraph-python/public/demo-files/, the canonical source. Real files, not symlinks — matching the other 18 integrations. sha256 verified identical.

Committed blob form

Both binaries are committed as LFS pointers. No .gitattributes is added by this PR:

$ git show --stat HEAD
 showcase/integrations/agno/public/demo-files/README.md    | 22 ++++++++++++++++++++++
 showcase/integrations/agno/public/demo-files/sample.pdf   |  3 +++
 showcase/integrations/agno/public/demo-files/sample.png   |  3 +++
 showcase/integrations/mastra/public/demo-files/README.md  | 22 ++++++++++++++++++++++
 showcase/integrations/mastra/public/demo-files/sample.pdf |  3 +++
 showcase/integrations/mastra/public/demo-files/sample.png |  3 +++
 6 files changed, 56 insertions(+)

$ git cat-file -p HEAD:showcase/integrations/agno/public/demo-files/sample.png
version https://git-lfs.github.com/spec/v1
oid sha256:01aa5681de99461247543e9215c1e4da3242e26b2bee11593fcdbe209672d973
size 10083

$ git cat-file -p HEAD:showcase/integrations/agno/public/demo-files/sample.pdf
version https://git-lfs.github.com/spec/v1
oid sha256:3da2afae36a1a81fd2c02f15e54bfc38b6c22e41655c31a5b54ff1e0e3daab41
size 2486

mastra is byte-identical to agno for both files. Git blob sizes are 130 / 129 bytes (pointer text), matching the pointer-mode integrations already on main (llamaindex, ag2, pydantic-ai, …), which reference these same two OIDs.

LFS objects are real, not dangling

A pointer with no backing object is worse than either alternative, so this was verified against the server rather than the local cache. The OIDs are the ones already stored for the identical assets in ten other integrations, so no new upload was required (git lfs push --dry-run origin HEAD reports nothing to transfer). Server-side existence, and then the actual bytes, were confirmed through the LFS batch API:

POST https://github.com/copilotkit/copilotkit.git/info/lfs/objects/batch  (operation=download)
  01aa5681de994612  size=10083  download action present
  3da2afae36a1a81f  size=2486   download action present

$ curl "<download href for 01aa5681…>" -o /tmp/lfs-dl.png
$ shasum -a 256 /tmp/lfs-dl.png
01aa5681de99461247543e9215c1e4da3242e26b2bee11593fcdbe209672d973
$ file /tmp/lfs-dl.png
PNG image data, 393 x 90, 8-bit/color RGBA, non-interlaced

The object downloaded from GitHub's LFS store is a real PNG whose hash matches the pointer.

Scope

Static assets only. No source, no fixtures, no manifests, no runtime code, no lockfile churn, no workflow changes.


SUPERSEDED — verification below no longer applies

Everything from here down was produced when this branch carried per-integration .gitattributes overrides that committed the assets as real binaries. Those overrides have been removed. The image-level and RED → GREEN evidence therefore describes a state this branch no longer produces. It is kept for the record of what was tested and why the missing-asset diagnosis is sound — not as a claim that this branch is green.

Specifically, still valid from the run below: the RED evidence (both slugs failed with a 404 on the missing asset, and the langgraph-python CONTROL was green), and the finding that the attachment pipeline past the fetch works once the asset is genuinely present in the image. No longer valid: the GREEN result, because it depended on real binaries reaching the runtime layer, which now requires the build-side LFS fetch.

Superseded image-level and RED → GREEN evidence (click to expand)

Image-level verification (SUPERSEDED)

A file in git that Docker never copies fixes nothing, so this was checked in the built images, not just the source tree. Both Dockerfiles do COPY --from=frontend /app/public ./public, and neither .dockerignore excludes the path.

Before (showcase build agno mastra from this branch's base):

=== showcase-agno:local ===
ls: cannot access '/app/public/demo-files': No such file or directory
=== showcase-mastra:local ===
ls: cannot access '/app/public/demo-files': No such file or directory

After (same command, post-change — with the since-removed .gitattributes overrides):

=== showcase-agno:local (post-change) ===
-rw-r--r-- 1 app app  1174 Jul 24 22:43 README.md
-rw-r--r-- 1 app app  2486 Jul 24 22:43 sample.pdf
-rw-r--r-- 1 app app 10083 Jul 24 22:43 sample.png
png magic: 0000000 211   P   N   G
pdf magic: 0000000   %   P   D   F

=== showcase-mastra:local (post-change) ===
-rw-r--r-- 1 app app  1174 Jul 24 22:43 README.md
-rw-r--r-- 1 app app  2486 Jul 24 22:43 sample.pdf
-rw-r--r-- 1 app app 10083 Jul 24 22:43 sample.png
png magic: 0000000 211   P   N   G
pdf magic: 0000000   %   P   D   F

Served over HTTP from the recreated containers:

agno   /demos/multimodal            200
agno   /demo-files/sample.png       200
agno   /demo-files/sample.pdf       200
mastra /demos/multimodal            200
mastra /demo-files/sample.png       200
mastra /demo-files/sample.pdf       200

(pre-change, same endpoints: page 200, both assets 404)

RED → GREEN → CONTROL (GREEN half SUPERSEDED)

All three exercised the real failure surface — the actual Playwright D5 probe driving the live demo page against the built image, not tests against fakes.

RED — before the change (still valid)

bin/showcase test mastra:multimodal --d5 --direct --verbose

[conversation-runner] turn 1/2 — FAILED { errorCategory: 'assertion-failed', ... }
probe.e2e-full.runFeature.conversation-failed {"featureType":"multimodal","slug":"mastra","failureTurn":1,"turnsCompleted":0,"totalTurns":2,"error":"waitForTurnComplete: turn 1 did not complete within 60000ms (reason=dom-missing, runsFinished=0, count=0, attrPresent=true, runningNow=false, runStartCount=0)"}
...
"bodyTextSnippet":"Bundled samples:\nTry with sample image\nTry with sample PDF\nCould not fetch sample \"sample.png\" — HTTP 404. Is the file bundled under public/demo-files/sample.png?\nHow can I help you today?..."
"consoleLogs":["[error] Failed to load resource: the server responded with a status of 404 (Not Found)","[error] [multimodal-demo] sample-attachment send failed Error: Could not fetch sample \"sample.png\" — HTTP 404. Is the file bundled under public/demo-files/sample.png?"]
probe.e2e-full.service-complete {"slug":"mastra","passed":0,"failed":1,"skipped":0,"incapable":0,"total":1,"state":"red","durationMs":121319}
  ✗ d5-single-pill-e2e:mastra red (121.5s)
  0 passed, 1 failed (121.5s)
⚠ Tests failed for mastra:multimodal (exit 1)

bin/showcase test agno:multimodal --d5 --direct --verbose

probe.e2e-full.runFeature.flap-diagnostics {"slug":"agno","featureType":"multimodal","error":"waitForTurnComplete: turn 1 did not complete within 60000ms (reason=dom-missing, runsFinished=0, count=0, attrPresent=true, runningNow=false, runStartCount=0)"}
"bodyTextSnippet":"Bundled samples:\nTry with sample image\nTry with sample PDF\nCould not fetch sample \"sample.png\" — HTTP 404. Is the file bundled under public/demo-files/sample.png?\nHow can I help you today?..."
"consoleLogs":["[error] Failed to load resource: the server responded with a status of 404 (Not Found)","[error] [multimodal-demo] sample-attachment send failed Error: Could not fetch sample \"sample.png\" — HTTP 404. Is the file bundled under public/demo-files/sample.png?"]
probe.e2e-full.service-complete {"slug":"agno","passed":0,"failed":1,"skipped":0,"incapable":0,"total":1,"state":"red","durationMs":120976}
⚠ Tests failed for agno:multimodal (exit 1)

GREEN — SUPERSEDED, does not describe this branch

Obtained with the since-removed .gitattributes overrides, i.e. with real binaries baked into the image. Same commands, after showcase build agno mastra + showcase recreate agno mastra.

agno:

[conversation-runner] turn 1/2 — assertions passed
[conversation-runner] turn 2/2 — assertions passed
probe.e2e-full.service-complete {"slug":"agno","passed":1,"failed":0,"skipped":0,"incapable":0,"total":1,"state":"green","durationMs":8492}
✓ Tests passed for agno:multimodal

mastra:

[conversation-runner] turn 1/2 — assertions passed
[conversation-runner] turn 2/2 — assertions passed
probe.e2e-full.feature-complete {"slug":"mastra","featureType":"multimodal","pass":true,"durationMs":7462}
probe.e2e-full.service-complete {"slug":"mastra","passed":1,"failed":0,"skipped":0,"incapable":0,"total":1,"state":"green","durationMs":7828}
✓ Tests passed for mastra:multimodal

Both turns passed on both slugs — the image turn and the PDF turn. What this settled and still stands: the attachment pipeline past the fetch had never once executed on these two services, and it works when the real asset is present. What it does not establish: that this branch as it now stands is green.

CONTROL — an already-green integration, unchanged (still valid)

bin/showcase test langgraph-python:multimodal --d5 --direct --verbose (no code touched):

[conversation-runner] turn 1/2 — assertions passed
[conversation-runner] turn 2/2 — assistant settled { bubbleIndex: 1, textLength: 233, hasAssertions: true }
[conversation-runner] turn 2/2 — assertions passed
probe.e2e-full.feature-complete {"slug":"langgraph-python","featureType":"multimodal","pass":true,"durationMs":8783}
probe.e2e-full.service-complete {"slug":"langgraph-python","passed":1,"failed":0,"skipped":0,"incapable":0,"total":1,"state":"green","durationMs":9547}

Confirms the local setup, the shared probe, the shared frontend and the shared fixtures were all healthy — the two REDs above were real per-integration failures, not a setup artifact.


Fleet state, for whoever lands the build fix

Measured on origin/main, demo-files/sample.png splits three ways across the 20 integrations:

  • 10 pointer-mode (130-byte LFS pointers, no override): ag2, built-in-agent, claude-sdk-python, claude-sdk-typescript, crewai-crews, langroid, llamaindex, ms-agent-harness-dotnet, pydantic-ai, spring-ai
  • 8 raw-blob mode (10083-byte real binaries, carved out of LFS by a per-integration .gitattributes): google-adk, langgraph-fastapi, langgraph-python, langgraph-typescript, ms-agent-dotnet, ms-agent-python, strands-typescript, strands
  • 2 missing entirely: agno, mastra — what this PR adds, in pointer mode

So main is currently inconsistent in both directions. This PR puts its two integrations on the uniform-LFS side. The remaining 8 raw-blob overrides should be removed by the build-side fix so the whole fleet is pointer-mode plus an LFS-fetching build.

Noted, not fixed (out of scope)

  • showcase/integrations/mastra/shared-tools is a real directory on origin/main (mode 040000), not the symlink the iron rules require. Pre-existing erosion, unrelated to this change, worth a separate PR.
  • The mastra multimodal page's <title> renders as "LangChain - Python" — a frontend-parity oddity visible in the probe diagnostics. Unrelated.

@github-actions

github-actions Bot commented Jul 24, 2026 •

Copy link
Copy Markdown
Contributor

Production Digest-Pinning Audit

All 41 services digest-pinned.

Run 2026-07-25 09:42:54 PDT — 0 finding(s).

agno and mastra were the only 2 of 20 integrations with no
`public/demo-files/` directory ever committed. Their Attachments demo
fetches `/demo-files/sample.png` before building the message, so the
demo failed at the fetch with:

    [multimodal-demo] sample-attachment send failed Error: Could not
    fetch sample "sample.png" — HTTP 404. Is the file bundled under
    public/demo-files/sample.png?

Nothing was ever sent to the agent — `userMsgCount: 0` — so the D5
probe timed out on turn 1. Both integrations already have working
vision-capable multimodal agents and correct aimock fixtures; this was
purely a missing-asset/packaging bug.

Copies sample.png / sample.pdf / README.md byte-for-byte from
langgraph-python (the canonical source) into each integration's own
`public/demo-files/` — a per-integration duplicated directory, not part
of the `shared/` symlink mechanism, which is exactly how two
integrations came to be missing it.

The assets are committed as plain Git LFS pointers, governed by the
repo-root `*.png` / `*.pdf` LFS rules, with no per-integration
`.gitattributes` override. LFS tracking stays uniform across the
fleet; the deploy-time problem (integration image builds do not fetch
LFS) is fixed in the build, not by carving these files out of LFS.

The pointer OIDs are the ones already stored for the identical assets
in the other integrations, so the backing LFS objects exist server-side
and are not dangling:

    sample.png  sha256:01aa5681de99461247543e9215c1e4da3242e26b2bee11593fcdbe209672d973  10083
    sample.pdf  sha256:3da2afae36a1a81fd2c02f15e54bfc38b6c22e41655c31a5b54ff1e0e3daab41   2486

NOTE: this change does not make agno/mastra pass on its own. It
requires the build-side LFS fetch fix to land first or together.
@jpr5
jpr5 force-pushed the fix/multimodal-missing-demo-files branch from 7bff0bd to e1c8013 Compare July 24, 2026 23:16
jpr5 added a commit that referenced this pull request Jul 25, 2026
… assets (#6160)

## Correction first: the deploy path was already fixed

This PR was opened to migrate ~12 integrations' demo assets out of LFS.
That approach was dropped — the assets stay uniformly LFS-tracked and
the build is the single place this gets resolved.

While establishing scope, one premise turned out to be false and it
matters for how this gets prioritised:

**`showcase_build.yml` does not read the per-slot `"lfs"` flag.**
`ALL_SERVICES` does carry `"lfs":false` for every integration, which
reads as though integration images ship pointer stubs. They do not. The
image-building `build` job (lines 418–604, containing the
`depot/build-push-action` that pushes the deployed image) **hardcodes
`lfs: true`**, added 2026-06-07 in `7bde1eef3aa` — *"ci(showcase): pull
Git LFS assets during build so demo images ship real binaries"* — for
exactly this bug. The only reader of the flag was
`showcase_build_check.yml`.

Evidence, from a real CI run on `main` (`30116731237`, job
`89559665519`, `build (built-in-agent, …)`, 2026-07-24) — note
`built-in-agent` is `"lfs":false` in `ALL_SERVICES`:

```
lfs: true
[command]/usr/bin/git lfs version
git-lfs/3.7.1 (GitHub; linux amd64; go 1.24.4)
[command]/usr/bin/git lfs install --local
##[group]Fetching LFS objects
[command]/usr/bin/git lfs fetch origin refs/remotes/origin/main
```

And confirmed end-to-end against what prod and staging actually serve —
all 10 pointer-committed integrations, both assets:

```
PROD     ag2 built-in-agent claude-sdk-python claude-sdk-typescript crewai-crews
         langroid llamaindex ms-agent-harness-dotnet pydantic-ai spring-ai
           sample.png  200  10083 B  ‰PNG   real asset
           sample.pdf  200   2486 B  %PDF   real asset
STAGING  ag2, llamaindex, spring-ai, google-adk
           sample.png  200  10083 B  ‰PNG   real asset
PROD/STG agno, mastra   sample.png/pdf  404  absent   <- separate bug, PR #6157
```

**So: zero integration images ship stubs, and there are no broken
multimodal cells from this cause.** The catalogued blast radius is not
expanded. The `agno`/`mastra` failures are `HTTP 404` from files being
**absent**, a different root cause.

Two consequences worth flagging:

- **#6157 is not blocked on this PR.** Once it adds `agno`/`mastra`'s
assets — as plain LFS-tracked files, no overrides — `showcase_build.yml`
already fetches them, so their images get the real bytes on the next
build.
- This PR is **hardening**, not an incident fix.

## What this PR actually changes

Two paths genuinely did not fetch LFS:

| workflow | before | after | impact |
|---|---|---|---|
| `showcase_build.yml` | `lfs: true` (hardcoded) | unchanged | deploy
images already correct |
| `showcase_build_check.yml` | `lfs: ${{ matrix.service.lfs }}` →
**false** | `lfs: true` | pre-merge check baked pointer stubs;
build-only so nothing deployed, but PR CI could never catch a broken
asset |
| `test_e2e-showcase-on-demand.yml` | **no `lfs` input** | `lfs: true` |
**real spec failures** — see below |
| `showcase_capture-previews.yml` | `lfs: true` | unchanged | already
correct |
| `test_showcase-frontend-matrix.yml` | `lfs: true` | unchanged |
already correct |
| `showcase_validate.yml` | none | unchanged | static validation, serves
no assets |

`test_e2e-showcase-on-demand.yml` was the meaningful gap. It runs `npx
next dev` on the integration package and drives it with Playwright,
serving `public/` **straight from the working tree** — so with no LFS
fetch, `multimodal.spec.ts` clicks "Try with sample image", gets a
~130-byte pointer stub served as `image/png`, and fails the magic-byte
guard in `sample-attachment-buttons.tsx` with nothing wrong in the code
under test. Nine of the ten affected integrations ship that spec (all
but `ms-agent-harness-dotnet`).

## Making it not recur

The per-slot `"lfs"` field is **deleted** from both `ALL_SERVICES`
definitions. After the change above it had no consumers —
`showcase_build.yml` ignored it in favour of a hardcoded `true`, and
`showcase_build_check.yml` was its only reader.

Deleting it rather than setting it to `true` is deliberate: a dead flag
that reads as authoritative is how this got mis-set in the first place,
and it is what made the state so hard to reason about here. With no
flag, **integration #21 cannot be added with LFS fetching silently off**
— there is nothing to set and nothing to forget. Both JSON blobs were
re-parsed after the edit (28 and 26 services, zero `lfs` keys).

**Residual risk, stated plainly:** every fetch site is now a literal
`lfs: true`, so correctness rests on a *new workflow* that serves
integration assets remembering to include it. That is a smaller and more
visible surface than a per-service flag, but it is not structurally
enforced. A CI guard asserting that any workflow checking out
`showcase/integrations/*` passes `lfs: true` would close it; not in this
PR.

## Verified affected list — 10 integrations, not 12

Pointer-committed `public/demo-files/sample.{png,pdf}` on `main`,
established from the **committed tree** (local LFS smudge makes the
working tree lie — `ls -l` shows 10083 B for a 130 B pointer):

`ag2`, `built-in-agent`, `claude-sdk-python`, `claude-sdk-typescript`,
`crewai-crews`, `langroid`, `llamaindex`, `ms-agent-harness-dotnet`,
`pydantic-ai`, `spring-ai`

Sizes via the LFS-unaware `git/trees` API: `sample.png` 130 B,
`sample.pdf` 129 B (real: 10083 B / 2486 B). Note the **contents** API
is LFS-aware and reports the resolved 10083 B for pointers too, so it
cannot be used to tell them apart.

The "12" figure conflated two root causes: these 10 have pointer stubs
(correct LFS state, harmless), while `agno`/`mastra` had the files
**absent** (`HTTP 404`, genuinely broken, #6157).

Already carrying per-integration overrides, untouched here:
`google-adk`, `langgraph-python`, `langgraph-fastapi`,
`langgraph-typescript`, `strands`, `strands-typescript`,
`ms-agent-dotnet`, `ms-agent-python`. Consolidating those onto the
uniform LFS convention is a separate follow-up.

## Bandwidth cost

Negligible for the assets themselves — `sample.png` 10083 B +
`sample.pdf` 2486 B ≈ **12.3 KB per integration**.

But `actions/checkout` with `lfs: true` fetches **every** LFS object in
the tree, not just demo files: **203 objects, ~495 MB** (largest are
multi-MB GIFs under `examples/` and `assets/`, up to 65 MB). That is the
real cost driver, and `showcase_build.yml` has already been paying it
for all ~20 integration builds since 2026-06-07 — this PR adds it to the
build-check and on-demand-e2e paths. Worth a follow-up look at whether
those two need a scoped `git lfs pull --include` instead of a blanket
fetch; flagging rather than solving it here, since it is a pre-existing
cost profile.

## Proof

**Local Docker builds were deliberately NOT used as evidence.** A local
build smudges LFS from the local checkout and passes regardless of what
CI does, so it proves nothing. All evidence above is CI-side or from
live prod/staging:

- CI checkout log showing `git lfs fetch` in the deploy build job
(quoted above).
- Live prod + staging HTTP probes returning real magic bytes and exact
byte sizes from CI-built images.
- Remote blob sizes read via the LFS-unaware `git/trees` API.

`actionlint` on all three edited workflows: **24 findings before, 24
after** — none introduced (all pre-existing shellcheck info/style plus
the custom `depot-*` runner label). YAML re-parsed and both
`ALL_SERVICES` blobs re-validated.

---

## CI-side before/after for the `build_check` path

Same integration (`crewai-crews`, one of the ten pointer-committed
ones), from real CI logs:

**BEFORE** — run `30132714792`, job `89610715113` (branch predating this
change):
```
  lfs: false
```
No `git lfs install`, no `Fetching LFS objects` group. The image was
built from a pointer stub.

**AFTER** — run `30133303667`, job `89612372095` (this PR):
```
  lfs: true
[command]/usr/bin/git lfs version
git-lfs/3.7.1 (GitHub; linux amd64; go 1.24.4)
[command]/usr/bin/git lfs install --local
Git LFS initialized.
##[group]Fetching LFS objects
[command]/usr/bin/git lfs fetch origin refs/remotes/pull/6160/merge
```

Build Check on this PR: **26 build jobs, 25 success, 0 failure** (one
still finishing at time of writing).

## Prod + staging multimodal cell state

Read from PocketBase (`showcase-pocketbase-production` /
`pocketbase-staging-eec0`), not from dashboard chip colours.

| | prod | staging |
|---|---|---|
| `e2e:*/multimodal` | **20/20 green** | **20/20 green** |
| `d5:*/multimodal` | 14 green, **6 red** | 15 green, **5 red** |

Red `d5` cells: `agno`, `built-in-agent`¹, `crewai-crews`, `llamaindex`,
`mastra`, `ms-agent-python` (¹ prod only — green on staging, i.e.
flapping).

**None of these are asset failures.** Every one reports the same
signature:

```
waitForTurnComplete: turn N did not complete within 60000ms (reason=dom-missing, runsFinished=0)
```

Not `is a Git LFS pointer, not the real asset`, and not `Could not fetch
sample … HTTP 404`. A scan of **500** prod status records found **zero**
occurrences of any LFS-pointer, `sample.png`/`sample.pdf` fetch, or
magic-byte error.

The correlation is absent in both directions:

| | |
|---|---|
| pointer-committed **and green** | 7 of 10 — `ag2`,
`claude-sdk-python`, `claude-sdk-typescript`, `langroid`,
`ms-agent-harness-dotnet`, `pydantic-ai`, `spring-ai` |
| **red** despite a real committed blob | `ms-agent-python` (has its own
override, real 10083 B / 2486 B assets) |
| real blob and green | `google-adk`, `langgraph-*`, `strands*`,
`ms-agent-dotnet` |

So pointer-committed status does not predict cell state, which is what
you'd expect once the deploy path fetches LFS.

**Reported separately and loudly:** four of those reds —
`built-in-agent`, `crewai-crews`, `llamaindex`, `ms-agent-python` — are
long-standing genuine failures with `fail_count` between **1713 and
2008** on prod, unrelated to this PR and unrelated to `agno`/`mastra`'s
missing files. They share the `waitForTurnComplete … dom-missing`
turn-timeout signature and need their own investigation. Staging shows
the same set at `fail_count=61`.
@pkg-pr-new

pkg-pr-new Bot commented Jul 25, 2026

Copy link
Copy Markdown

Open in StackBlitz

@copilotkit/a2ui-renderer

pnpm add https://pkg.pr.new/@copilotkit/a2ui-renderer@6157

@copilotkit/agentcore-runner

pnpm add https://pkg.pr.new/@copilotkit/agentcore-runner@6157

@copilotkit/angular

pnpm add https://pkg.pr.new/@copilotkit/angular@6157

@copilotkit/channels

pnpm add https://pkg.pr.new/@copilotkit/channels@6157

@copilotkit/channels-core

pnpm add https://pkg.pr.new/@copilotkit/channels-core@6157

@copilotkit/channels-discord

pnpm add https://pkg.pr.new/@copilotkit/channels-discord@6157

@copilotkit/channels-intelligence

pnpm add https://pkg.pr.new/@copilotkit/channels-intelligence@6157

@copilotkit/channels-slack

pnpm add https://pkg.pr.new/@copilotkit/channels-slack@6157

@copilotkit/channels-teams

pnpm add https://pkg.pr.new/@copilotkit/channels-teams@6157

@copilotkit/channels-telegram

pnpm add https://pkg.pr.new/@copilotkit/channels-telegram@6157

@copilotkit/channels-ui

pnpm add https://pkg.pr.new/@copilotkit/channels-ui@6157

@copilotkit/channels-whatsapp

pnpm add https://pkg.pr.new/@copilotkit/channels-whatsapp@6157

@copilotkit/core

pnpm add https://pkg.pr.new/@copilotkit/core@6157

@copilotkit/react-core

pnpm add https://pkg.pr.new/@copilotkit/react-core@6157

@copilotkit/react-native

pnpm add https://pkg.pr.new/@copilotkit/react-native@6157

@copilotkit/react-textarea

pnpm add https://pkg.pr.new/@copilotkit/react-textarea@6157

@copilotkit/react-ui

pnpm add https://pkg.pr.new/@copilotkit/react-ui@6157

@copilotkit/runtime

pnpm add https://pkg.pr.new/@copilotkit/runtime@6157

@copilotkit/runtime-client-gql

pnpm add https://pkg.pr.new/@copilotkit/runtime-client-gql@6157

@copilotkit/sdk-js

pnpm add https://pkg.pr.new/@copilotkit/sdk-js@6157

@copilotkit/shared

pnpm add https://pkg.pr.new/@copilotkit/shared@6157

@copilotkit/sqlite-runner

pnpm add https://pkg.pr.new/@copilotkit/sqlite-runner@6157

@copilotkit/voice

pnpm add https://pkg.pr.new/@copilotkit/voice@6157

@copilotkit/vue

pnpm add https://pkg.pr.new/@copilotkit/vue@6157

@copilotkit/web-components

pnpm add https://pkg.pr.new/@copilotkit/web-components@6157

@copilotkit/web-inspector

pnpm add https://pkg.pr.new/@copilotkit/web-inspector@6157

commit: fb28e93

@jpr5
jpr5 marked this pull request as ready for review July 25, 2026 16:58
@jpr5
jpr5 merged commit 5a1812e into main Jul 25, 2026
24 of 25 checks passed
@jpr5
jpr5 deleted the fix/multimodal-missing-demo-files branch July 25, 2026 16:58
jpr5 added a commit that referenced this pull request Jul 25, 2026
## What

Demo assets under
`showcase/integrations/*/public/{demo-files,demo-audio}/` were stored
two different ways. This makes all of them LFS pointers — the root
`.gitattributes` convention that the majority already follow.

**Before this PR, on `main`:**

| form | integrations |
|---|---|
| **LFS pointers** (10) | `ag2`, `built-in-agent`, `claude-sdk-python`,
`claude-sdk-typescript`, `crewai-crews`, `langroid`, `llamaindex`,
`ms-agent-harness-dotnet`, `pydantic-ai`, `spring-ai` |
| **Raw blobs + per-integration `.gitattributes` override** (8) |
`google-adk`, `langgraph-fastapi`, `langgraph-python`,
`langgraph-typescript`, `ms-agent-dotnet`, `ms-agent-python`, `strands`,
`strands-typescript` |
| **Missing entirely** (2) | `agno`, `mastra` — being added as pointers
on #6157 |

Committed sizes: pointer-mode `sample.png` 130 B / `sample.pdf` 129 B /
`sample.wav` 130 B; raw-mode `sample.png` 10083 B / `sample.pdf` 2486 B
/ `sample.wav` 87078 B.

## Why the overrides existed, and why they no longer need to

Each override re-declared the same paths `-filter -diff -merge` so the
files would be committed as real binaries. The stated reason (in their
own comments) was that the image build didn't run `git lfs pull`, so a
pointer stub shipped into the image and the multimodal sample-attachment
magic-bytes guard rejected it.

That premise no longer holds. The deploy build's Checkout step in
`showcase_build.yml` hardcodes `lfs: true` (added in `7bde1eef3aa`), so
every integration image gets real binaries regardless of storage form.
The 10 pointer-mode integrations already ship through that exact
pipeline today. The overrides are now dead weight that only buys
divergence.

## What changed

- Deleted all 8 override `.gitattributes`. Each contained **nothing
but** demo-asset exemptions (the `langgraph-*`/`strands*` ones also
exempted `public/demo-audio/sample.wav`), so each is removed in full.
- Renormalized the 21 affected assets through the LFS clean filter.
- Root `.gitattributes` untouched. `.github/` untouched. `agno`/`mastra`
untouched.

Deleting an override necessarily un-exempts that integration's
`demo-audio/sample.wav` too, so the 5 raw `.wav` files are converted in
the same pass — leaving them raw under an inherited `filter=lfs` would
produce a permanently dirty checkout.

## Byte-identity

Storage form changes, content does not. Every asset's sha256 **already
equals** the LFS OID the pointer-mode integrations reference, so each
renormalized blob is bit-for-bit the pointer blob already committed on
`main`:

```
sample.png  10083 B  oid 01aa5681de99461247543e9215c1e4da3242e26b2bee11593fcdbe209672d973
sample.pdf   2486 B  oid 3da2afae36a1a81fd2c02f15e54bfc38b6c22e41655c31a5b54ff1e0e3daab41
sample.wav  87078 B  oid bd4aa7b049f1c3e324dfd15af4068d7f8fbf2eae1dd044df270dddc5f38a5c57
```

Verified per file (21/21): worktree sha256 before == worktree sha256
after == the pointer's OID, and each staged blob hash equals the
canonical pointer blob (`a780acbd` png / `6446acbb` pdf / `f156ab54`
wav) already on `main`.

**No new LFS objects are introduced at all**, so a dangling pointer is
impossible by construction. Confirmed anyway:

- LFS batch API returns `download` actions for all three OIDs.
- All three objects downloaded and confirmed to hash to their OID.
- `git lfs push --dry-run origin <branch>` reports nothing to upload.
- `git lfs fsck --pointers HEAD` reports no new violations (only the two
pre-existing `examples/teams/appPackage/*.png` ones, also present on
`main`).

## On the CI signal, and the real proof

Being precise about what CI here does and does not prove:

- **`showcase_build.yml`** (deploy, `lfs: true`) is the job that
determines whether the deployed image gets real assets. It runs **only
on push to `main`**, not on PRs. It is unchanged by this PR.
- **`showcase_build_check.yml`** (the PR job) checks out with `lfs: ${{
matrix.service.lfs }}`, which is `false` for all 8 converted
integrations. Its images therefore contain pointer stubs. It is
build-only (`push: false`, no smoke test, no asset assertion), so it
will pass — but **a green `build_check` here does not prove real assets
ship.** I am not resting the case on it.

I did **not** rely on a local Docker build either — it smudges LFS from
the local checkout and would prove nothing.

### The real proof: prod already serves pointer-mode assets correctly

Instead of a weak build signal, here is what the **live deployed prod
images** serve today. Pointer-mode integrations are unchanged by this PR
and demonstrate that the pointer storage form already ships real bytes
through the `lfs: true` deploy checkout — for all three asset types:

```
--- .png : POINTER-mode on main (unchanged) ---
ag2                   200  10083  01aa5681de  REAL-exact-match
spring-ai             200  10083  01aa5681de  REAL-exact-match
llamaindex            200  10083  01aa5681de  REAL-exact-match
pydantic-ai           200  10083  01aa5681de  REAL-exact-match
langroid              200  10083  01aa5681de  REAL-exact-match
--- .png : RAW-mode on main (converted by this PR) ---
langgraph-python      200  10083  01aa5681de  REAL-exact-match
strands               200  10083  01aa5681de  REAL-exact-match
google-adk            200  10083  01aa5681de  REAL-exact-match
ms-agent-python       200  10083  01aa5681de  REAL-exact-match
langgraph-typescript  200  10083  01aa5681de  REAL-exact-match

--- .wav : ALREADY pointer-mode on main (precedent for the 5 wav conversions) ---
google-adk            200  87078  bd4aa7b049  REAL-exact-match
ms-agent-python       200  87078  bd4aa7b049  REAL-exact-match
ms-agent-dotnet       200  87078  bd4aa7b049  REAL-exact-match
ag2                   200  87078  bd4aa7b049  REAL-exact-match
spring-ai             200  87078  bd4aa7b049  REAL-exact-match
--- .wav : RAW on main (converted by this PR) ---
langgraph-python      200  87078  bd4aa7b049  REAL-exact-match
strands               200  87078  bd4aa7b049  REAL-exact-match
langgraph-typescript  200  87078  bd4aa7b049  REAL-exact-match
langgraph-fastapi     200  87078  bd4aa7b049  REAL-exact-match
strands-typescript    200  87078  bd4aa7b049  REAL-exact-match

--- .pdf : pointer-mode vs raw-mode ---
ag2            (ptr)  200   2486  3da2afae36  REAL-exact-match
spring-ai      (ptr)  200   2486  3da2afae36  REAL-exact-match
langgraph-python(raw) 200   2486  3da2afae36  REAL-exact-match
strands        (raw)  200   2486  3da2afae36  REAL-exact-match
```

Both storage forms already serve **byte-identical** content in prod
(sha256 equals the LFS OID in every case), including `.wav` where 3
integrations are already pointer-mode. Converting raw to pointer
therefore cannot change what prod serves: both forms resolve to the same
bytes through the same deploy checkout. That is the safety argument —
verified, not asserted.

## Sequencing

- **#6160** (`ci(showcase): fetch Git LFS in every workflow that serves
integration assets`) should merge **first**. It makes
`showcase_build_check.yml` fetch LFS and removes the dead per-slot `lfs`
flag; after it lands, `build_check` on this kind of change becomes a
real signal instead of a weak one. No file overlap with this PR (it
touches only `.github/workflows/`), so no merge conflict either way.
- **#6157** (agno/mastra assets) is independent — disjoint paths, any
order, no conflict.

This PR assumes the deploy build's hardcoded `lfs: true` already on
`main` and complements #6160's non-deploy workflow coverage.

## Cell impact

**Changed-cell set: empty (expected and predicted).** This changes
storage form only. The prod probes above show both storage forms already
serve byte-identical content, so the multimodal cells for the 8
converted integrations have no mechanism by which to change state. The
cells cannot be re-measured against this branch pre-merge (the deploy
build runs only on push to `main`), so this is a prediction grounded in
the byte-identity and prod-parity evidence rather than a post-deploy
dashboard reading — worth a dashboard confirmation after merge.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01PYdjeveT8Xof9TyHWMLoJr
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