Repository navigation
chore(showcase): store demo assets uniformly as Git LFS pointers - #6163
Merged
Merged
Conversation
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.
Contributor
Production Digest-Pinning AuditAll 41 services digest-pinned. Run 2026-07-25 09:43:10 PDT — 0 finding(s). |
@copilotkit/a2ui-renderer
@copilotkit/agentcore-runner
@copilotkit/angular
@copilotkit/channels
@copilotkit/channels-core
@copilotkit/channels-discord
@copilotkit/channels-intelligence
@copilotkit/channels-slack
@copilotkit/channels-teams
@copilotkit/channels-telegram
@copilotkit/channels-ui
@copilotkit/channels-whatsapp
@copilotkit/core
@copilotkit/react-core
@copilotkit/react-native
@copilotkit/react-textarea
@copilotkit/react-ui
@copilotkit/runtime
@copilotkit/runtime-client-gql
@copilotkit/sdk-js
@copilotkit/shared
@copilotkit/sqlite-runner
@copilotkit/voice
@copilotkit/vue
@copilotkit/web-components
@copilotkit/web-inspector
commit: |
jpr5
marked this pull request as ready for review
July 25, 2026 16:59
jpr5
requested review from
marthakelly,
mme,
ranst91 and
tylerslaton
as code owners
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.
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
Demo assets under
showcase/integrations/*/public/{demo-files,demo-audio}/were stored two different ways. This makes all of them LFS pointers — the root.gitattributesconvention that the majority already follow.Before this PR, on
main:ag2,built-in-agent,claude-sdk-python,claude-sdk-typescript,crewai-crews,langroid,llamaindex,ms-agent-harness-dotnet,pydantic-ai,spring-ai.gitattributesoverride (8)google-adk,langgraph-fastapi,langgraph-python,langgraph-typescript,ms-agent-dotnet,ms-agent-python,strands,strands-typescriptagno,mastra— being added as pointers on #6157Committed sizes: pointer-mode
sample.png130 B /sample.pdf129 B /sample.wav130 B; raw-modesample.png10083 B /sample.pdf2486 B /sample.wav87078 B.Why the overrides existed, and why they no longer need to
Each override re-declared the same paths
-filter -diff -mergeso the files would be committed as real binaries. The stated reason (in their own comments) was that the image build didn't rungit 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.ymlhardcodeslfs: true(added in7bde1eef3aa), 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
.gitattributes. Each contained nothing but demo-asset exemptions (thelanggraph-*/strands*ones also exemptedpublic/demo-audio/sample.wav), so each is removed in full..gitattributesuntouched..github/untouched.agno/mastrauntouched.Deleting an override necessarily un-exempts that integration's
demo-audio/sample.wavtoo, so the 5 raw.wavfiles are converted in the same pass — leaving them raw under an inheritedfilter=lfswould 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: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 (
a780acbdpng /6446acbbpdf /f156ab54wav) already onmain.No new LFS objects are introduced at all, so a dangling pointer is impossible by construction. Confirmed anyway:
downloadactions for all three OIDs.git lfs push --dry-run origin <branch>reports nothing to upload.git lfs fsck --pointers HEADreports no new violations (only the two pre-existingexamples/teams/appPackage/*.pngones, also present onmain).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 tomain, not on PRs. It is unchanged by this PR.showcase_build_check.yml(the PR job) checks out withlfs: ${{ matrix.service.lfs }}, which isfalsefor 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 greenbuild_checkhere 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: truedeploy checkout — for all three asset types:Both storage forms already serve byte-identical content in prod (sha256 equals the LFS OID in every case), including
.wavwhere 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
ci(showcase): fetch Git LFS in every workflow that serves integration assets) should merge first. It makesshowcase_build_check.ymlfetch LFS and removes the dead per-slotlfsflag; after it lands,build_checkon 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.This PR assumes the deploy build's hardcoded
lfs: truealready onmainand 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