Skip to content

chore(showcase): store demo assets uniformly as Git LFS pointers - #6163

Merged
jpr5 merged 2 commits into
mainfrom
chore/showcase-demo-assets-uniform-lfs
Jul 25, 2026
Merged

jpr5 merged 2 commits into
mainfrom
chore/showcase-demo-assets-uniform-lfs

Conversation

@jpr5

@jpr5 jpr5 commented Jul 24, 2026 •

Copy link
Copy Markdown
Contributor

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

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

Demo assets under showcase/integrations/*/public/{demo-files,demo-audio}/
were stored two different ways. Ten integrations committed them as LFS
pointers (the root .gitattributes convention); eight carved themselves out
with a per-integration .gitattributes that re-declared the same paths
`-filter -diff -merge`, committing raw binaries instead.

Those carve-outs were added when the image build did not fetch LFS, 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 hardcodes `lfs: true` (7bde1ee), so every
integration image now gets real binaries regardless of storage form. The
overrides are dead weight that only buys divergence.

Delete all eight override files and renormalize the 21 affected assets
through the LFS clean filter. Each override contained nothing but demo-asset
exemptions, so each is removed in full; the root .gitattributes is untouched.

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 -- no new LFS
objects are introduced and no pointer can dangle:

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

All three OIDs return download actions from the LFS batch API and were
downloaded and confirmed to hash to their OID.
@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:43:10 PDT — 0 finding(s).

@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@6163

@copilotkit/agentcore-runner

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

@copilotkit/angular

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

@copilotkit/channels

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

@copilotkit/channels-core

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

@copilotkit/channels-discord

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

@copilotkit/channels-intelligence

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

@copilotkit/channels-slack

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

@copilotkit/channels-teams

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

@copilotkit/channels-telegram

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

@copilotkit/channels-ui

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

@copilotkit/channels-whatsapp

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

@copilotkit/core

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

@copilotkit/react-core

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

@copilotkit/react-native

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

@copilotkit/react-textarea

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

@copilotkit/react-ui

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

@copilotkit/runtime

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

@copilotkit/runtime-client-gql

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

@copilotkit/sdk-js

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

@copilotkit/shared

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

@copilotkit/sqlite-runner

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

@copilotkit/voice

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

@copilotkit/vue

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

@copilotkit/web-components

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

@copilotkit/web-inspector

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

commit: 8a726e7

@jpr5
jpr5 marked this pull request as ready for review July 25, 2026 16:59
@jpr5
jpr5 merged commit 1c24e06 into main Jul 25, 2026
30 of 31 checks passed
@jpr5
jpr5 deleted the chore/showcase-demo-assets-uniform-lfs branch July 25, 2026 16:59
jpr5 added a commit that referenced this pull request Jul 26, 2026
PR #6163 converted showcase/integrations/*/public/demo-files/* to Git LFS.
showcase_validate.yml's python-unit-tests job checks out without LFS, so the
working tree holds 129-byte pointer text instead of the real assets. The new
ms-agent-python multimodal test is the first Python test to read those bytes:
pypdf reads the pointer, extracts nothing, and the test fails with
"real pypdf text extraction produced nothing".

Fetch only the demo-file assets (40 objects, ~320 KB) rather than setting
lfs: true, which would pull all ~248 tracked objects (~475 MB, including
13-26 MB README gifs) into a 2-4 minute job under a 10 minute cap. A job that
hits timeout-minutes reports 'cancelled' -- neither success nor failure -- and
silently suppresses alerting, so the timeout margin is worth protecting.

The repo is public, so LFS downloads resolve anonymously and the pull works
with persist-credentials: false. A post-pull %PDF- header check fails the step
immediately if the pull ever no-ops, instead of surfacing minutes later as a
misleading pytest assertion.
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