Repository navigation
ci(showcase): fetch Git LFS in every workflow that serves integration assets - #6160
Merged
Merged
Conversation
Contributor
Production Digest-Pinning AuditAll 41 services digest-pinned. Run 2026-07-24 16:08:58 PDT — 0 finding(s). |
… assets Demo assets stay uniformly LFS-tracked. The build is the single place this gets resolved, so every workflow that checks out and then serves or bakes integration `public/` assets now fetches LFS objects. `showcase_build.yml` (the workflow that builds and pushes the deployed images) has hardcoded `lfs: true` since 7bde1ee, so the deploy path was already correct. Two paths were not: - `showcase_build_check.yml` read `lfs: ${{ matrix.service.lfs }}`, which was `false` for every integration, so the pre-merge build check baked pointer stubs into the images it built. Build-only, so nothing deployed, but it meant PR CI could never catch a broken demo asset. - `test_e2e-showcase-on-demand.yml` passed no `lfs` input at all. That job runs `next dev` on the integration package and drives it with Playwright, serving `public/` straight from the working tree, so `multimodal.spec.ts` would click "Try with sample image", receive a ~130-byte pointer stub as `image/png`, and fail on the magic-byte guard — with nothing wrong in the code under test. Nine integrations ship that spec. Both now use a uniform `lfs: true`. Also deletes the per-slot `"lfs"` field from both `ALL_SERVICES` definitions. After the above there were no consumers left: `showcase_build.yml` ignored it in favour of a hardcoded `true`, and `showcase_build_check.yml` was its only reader. Leaving a dead flag that reads as authoritative is how this was mis-set in the first place, and deleting it means a new integration cannot be added with LFS fetching silently off — there is no flag to forget. No asset or .gitattributes changes: LFS is used as intended and a committed pointer remains the correct on-disk state for an LFS-tracked file.
jpr5
force-pushed
the
fix/showcase-demo-files-lfs-fleetwide
branch
from
July 24, 2026 23:15
db776cb to
b36d3b9
Compare
Contributor
|
Size Change: 0 B Total Size: 1.19 MB ℹ️ View Unchanged
|
jpr5
marked this pull request as ready for review
July 25, 2026 15:00
jpr5
requested review from
marthakelly,
mme,
ranst91 and
tylerslaton
as code owners
July 25, 2026 15:00
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
jpr5
added a commit
that referenced
this pull request
Jul 26, 2026
…hat it actually shipped (#6171) ## The hole A partially-cancelled showcase build was **indistinguishable from a clean one in both directions**: it emitted no alert, and it suppressed post-deploy verification — while having actually redeployed real images to staging. Three merges landed on `main` on 2026-07-25 with **zero post-deploy verification**. Reconstructed from the API, with run IDs: | # | build run | conclusion | what happened | |---|---|---|---| | #5483 | `30162754730` | cancelled | `shell-docs` killed at 10m04s. Alert **did** fire (all-failed path). No verify. | | — | `30162770765` | cancelled | `shell` killed at 10m04s. **Silent.** No verify. | | #6160 | `30162773601` | cancelled | 5 slots killed, **23 redeployed to staging**. **Silent.** No verify. | | #6168 | `30162784491` | success | clean — and its verify was then cancelled by a sibling. | ### The chain, for run `30162773601` 1. #6160's workflow edit forced a full-fleet rebuild. Five slots died — `shell`, `shell-docs`, `shell-dashboard`, `shell-dojo`, `showcase-aimock`. 2. The intersection guard correctly excluded them. `redeploy-staging` **succeeded** and uploaded `redeploy-summary`, redeploying the 23 that built. 3. The run concluded **`cancelled`** (5 legs cancelled, 0 failed → GitHub rolls the run up to `cancelled`). 4. `notify` was **skipped** → no Slack, no PR comment. 5. `showcase_deploy.yml` requires `conclusion == 'success'` → never started. 23 services redeployed, unverified. 6. The one legitimate verify — run `30163309977`, from #6168's successful build — started 15:17:13 and was **cancelled at 15:17:22** by run `30163312882`, which was triggered by a *different* partially-cancelled build and then skipped every job anyway. ## Which links I verified in the YAML, and where the brief was wrong | Link | Verdict | |---|---| | Intersection guard excludes cancelled slots | ✅ Confirmed — `showcase_build.yml` `redeploy-staging` intersects matrix ∩ `status == "success"`. | | Run concluded `cancelled`, not failure/success | ✅ Confirmed via API on all three runs. | | `showcase_deploy.yml` requires `conclusion == 'success'` | ✅ Confirmed verbatim on `resolve-matrix`. | | Global `showcase-verify-deploy` concurrency group preempted a sibling | ✅ Confirmed — group had no commit key, `cancel-in-progress: true`; timestamps above show the 9-second preemption. | | **`notify`'s condition is `if: failure()`** | ❌ **Wrong.** It is already `!cancelled() && (failure() \|\| any_success == 'false')`. | | **The suppressor is `failure()` not matching `cancelled`** | ❌ **Wrong, and the proposed fix would not have worked.** See below. | | **Depot `Step canceled by GitHub` is a flake** | ❌ **Wrong.** It is a `timeout-minutes` kill. See "Root cause". | ### Why `if: failure() || cancelled()` would NOT have fixed this I built a throwaway probe workflow on a scratch branch — a matrix with one leg killed by `timeout-minutes` and one green leg, plus dependent jobs guarded by each candidate expression. **Probe run [`30166429073`](https://github.com/CopilotKit/CopilotKit/actions/runs/30166429073)**: | probe | result | conclusion | |---|---|---| | killed leg's `job.status` | `cancelled` | a timeout kill reports as *cancelled* | | matrix rollup `needs.legs.result` | `cancelled` | | | `if: cancelled()` | **SKIPPED** | `cancelled()` evaluated **FALSE** | | `if: failure()` | **SKIPPED** | `failure()` evaluated **FALSE** | | pre-fix `notify` condition | **SKIPPED** | ← the bug, reproduced | | post-fix `notify` condition | **RAN** | ← the fix, proven | | workflow run conclusion | `cancelled` | matches production | `cancelled()` is **workflow-scoped**: ["Returns `true` if the workflow was cancelled."](https://docs.github.com/en/actions/reference/evaluate-expressions-in-workflows-and-actions) Individual legs dying does not cancel the *run*, so it is false. And `failure()` ["returns `true` if any ancestor job fails"](https://docs.github.com/en/actions/reference/evaluate-expressions-in-workflows-and-actions) — a **cancelled** ancestor did not *fail*, so it is false too. With 23 slots green, `any_success` is `'true'`. Every clause the old guard had went the wrong way. Independently corroborated in production: in run `30162773601`, both `!cancelled()`-guarded jobs (`aggregate-build-results`, `redeploy-staging`) **ran**, which is only possible if `cancelled()` was false. ## Root cause of the cancellations: a timeout, not a flake From the Depot log of the killed `shell` leg: ``` 15:04:03 depot build --file showcase/shell/Dockerfile ... --push 15:13:29 #25 [builder 15/15] RUN cd scripts && ... generate-registry.ts DONE 54.3s 15:13:32 failed to solve: Canceled: context canceled 15:13:32 ##[error]Step canceled by GitHub 15:13:32 BUILD_STATUS: cancelled ``` Started 15:03:28, killed 15:13:34 — **exactly `timeout-minutes: 10`**. Same for the other three shell slots; `showcase-aimock` died at exactly its 5. The build was making real but slow progress the whole time (repeated docker.io base-image pull stalls, `#9 ...` for seven minutes) and was 2 steps from done. So **a retry is the wrong lever twice over**: a cancelled job cannot run further steps, and the build was not erroring. The underlying cause is Depot builder contention — three full-fleet rebuilds ran concurrently (~84 simultaneous amd64 builds). Measured budgets: | slot | warm | contended | budget | |---|---|---|---| | shell / shell-docs / shell-dashboard / shell-dojo | 2–5 min | killed at 10 | **10 → 20** | | showcase-aimock | 2 min | killed at 5 | **5 → 12** | | showcase-pocketbase | — | **8.8 min** (near-miss) | **10 → 15** | | webhooks | 0.6 min | — | 5 (unchanged, `skip_build`) | The `context: "."` slots build the whole monorepo root and are the heaviest in the fleet, yet carried the *smallest* budgets — inverted. ## The design **1. Stop laundering the signal** (`build-outputs.ts`, per-slot writer). `cancelled` becomes a first-class `BuildOutcome` instead of being mapped to `skipped`. The per-slot result is the *only* place the cancellation survives, because the status functions can't see it. `successSet` still excludes it, so the redeploy intersection is unchanged — a slot that pushed no image still cannot enter the redeploy CSV. **2. Alert on it** — aggregator publishes `any_cancelled` + `cancelled_services`; `notify` gains an `any_cancelled == 'true'` clause (the exact expression proven by the probe), and its PR comment now distinguishes *incomplete* from *failed*. **3. Red the run, don't leave it `cancelled`** — new `notify-cancelled-builds` job exits non-zero, so the conclusion is `failure`. A slot killed by its timeout budget *is* a failure, and `cancelled` is precisely what suppressed everything downstream. **4. Verify the partial deploy anyway** — the `conclusion == 'success'` gate becomes a terminal-conclusion allowlist (`success|failure|cancelled|timed_out`). > **Tradeoff, stated plainly.** Relaxing the gate rather than only failing loudly is deliberate: a build that redeployed 23 services *needs* verifying, and gating on `success` guaranteed it never would. It is safe because the decision of *what* to verify never depended on the rollup — no `redeploy-summary` artifact still means `has_services=false` and verify is skipped, and the redeploy gate still narrows to the per-service success set, so a cancelled slot can never be probed against a stale `:latest` and reported healthy. The cost is one extra no-op deploy run for builds that die before redeploying. Note this *also* fixes the same hole for `conclusion == 'failure'`, which was equally unverified. **5. Key verification per commit** — `showcase-verify-deploy-${{ github.event.workflow_run.head_sha || github.sha }}`, so a later cancelled run can no longer destroy an earlier successful run's verification. `cancel-in-progress: true` is kept, so re-verifying the *same* commit still supersedes. (`github` context is [documented as available](https://docs.github.com/en/actions/reference/workflows-and-actions/contexts) in `concurrency`.) **6. Realistic timeout budgets** — separate commit, droppable independently. Mitigation, not the root fix; the durable lever is a non-cancelling concurrency queue on the build workflow, noted inline as a follow-up since this workflow deliberately has *no* concurrency group. ### On alerting for a genuine manual cancel It stays **silent**, and that is correct. `!cancelled()` is retained on both notify jobs as the flake-vs-intentional discriminator, and the probe proves it discriminates: a human cancelling the whole RUN makes `cancelled()` true → silent; a leg-level timeout leaves it false → alerts. Belt and braces — on a run-level cancel, `aggregate-build-results` is itself skipped by its own `!cancelled()` guard, so `any_cancelled` resolves to `''` rather than `'true'`. Two independent reasons for silence, zero manual-cancel noise. ## What I proved - **Real end-to-end red-green on GitHub Actions** — probe run [`30166429073`](https://github.com/CopilotKit/CopilotKit/actions/runs/30166429073), table above. Old condition skipped, new condition ran, on a genuinely timeout-killed matrix leg. Scratch branch deleted; the run is permanent. - **Local red-green on the TS layer** — 8 tests failing before the fix (`cancelledSet is not a function`, `invalid "status" (must be success|failure|skipped)`), 46 passing after. - **Local red-green on the live workflow expression.** `redeploy-guard.test.ts` parses the **actual `if:` strings out of the YAML** and evaluates them. Pointed at `origin/main`'s YAML, the new `GREEN: the live guard FIRES on the production partial-cancel` test fails (`expected false to be true`) and is the *only* failure; pointed at this branch, all 31 pass. The pre-fix guard is pinned as a literal so the test permanently encodes the difference rather than just the current behaviour. - **No new alert noise** — explicit tests that `notify` stays silent on a clean build, on a human run-cancel, and on a no-changes push. That last one exposed a latent inaccuracy in the test harness's own model (a skipped aggregator's outputs are `''`, not `'false'`), now fixed. - **Lint** — `actionlint` finding count unchanged at 10 vs the `origin/main` baseline (all pre-existing: the unknown `depot-ubuntu-24.04-4` label and shellcheck `info` notes on untouched scripts). `zizmor` with the repo's own config at `min-severity: low`: *No findings to report*. - **Suite** — 77 tests green across the three touched files. Full `showcase/scripts` suite has 5 pre-existing failing files (`emit-railway-envs-json`, `generate-catalog`, `generate-registry`, `integration-smoke-registry`); I reproduced the identical 5 files / 8 tests on a pristine `origin/main` worktree, so they are unrelated to this change. ## What remains unproven until it runs on `main` - The **production** partial-cancel path end-to-end. The probe reproduced the expression semantics on a synthetic matrix, not the real 28-slot fleet with real Depot builds; the Slack message and PR-comment rendering have not been exercised against a live webhook. - The relaxed deploy gate firing on a real `cancelled`/`failure` build — including the "no artifact → skipped, no noise" path. - The per-commit concurrency group under real rapid-fire merges. - Whether 20 minutes is actually enough for `shell` under peak Depot contention. It was ~3 steps from done at 10; 20 is inference from that, not measurement. `\n` handling in the new Slack payload follows the existing `fromJSON('"\n"')` convention in this file, but is not verified against a live webhook.
pull Bot
pushed a commit
to HinchK/copilotkit
that referenced
this pull request
Jul 26, 2026
Build run 30162773601 (merge of CopilotKit#6160) forced a full-fleet rebuild; 5 of 28 slots were killed by their `timeout-minutes` budget, the other 23 built and WERE redeployed to staging, and the run emitted no signal at all: `notify` was skipped, so no Slack alert and no PR comment, and the run rolled up to conclusion `cancelled`. No existing guard could catch it. Measured on purpose-built probe run 30166429073 (matrix leg killed by `timeout-minutes`, sibling leg green): killed leg `job.status` ........ cancelled matrix rollup `needs.*.result` . cancelled `if: cancelled()` .............. SKIPPED (evaluated FALSE) `if: failure()` ................ SKIPPED (evaluated FALSE) pre-fix `notify` condition ..... SKIPPED <- the bug post-fix `notify` condition .... RAN <- the fix run conclusion ................. cancelled So `failure() || cancelled()` would NOT have fixed this. The signal has to come from the per-slot build results. - stop laundering `cancelled` into `skipped` in the per-slot writer - expose `any_cancelled` / `cancelled_services` from the aggregator job - add `notify-cancelled-builds`: exits non-zero so the run concludes `failure` rather than `cancelled` (a slot killed by its timeout budget is a failure, and `cancelled` is what suppressed everything), and Slacks the affected service names - add the `any_cancelled` clause to `notify` so the merge author gets the PR comment, with wording that distinguishes incomplete from failed `!cancelled()` is retained on both jobs as the intentional-vs-flake discriminator: a human cancelling the whole RUN makes `cancelled()` true and stays silent, while a leg-level timeout leaves it false and alerts. Extends redeploy-guard.test.ts, which evaluates the LIVE `if:` strings from the workflow, with the exact production scenario. It pins the pre-fix guard string as a literal so the test proves the difference the fix makes, not merely the current behaviour.
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.
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.ymldoes not read the per-slot"lfs"flag.ALL_SERVICESdoes carry"lfs":falsefor every integration, which reads as though integration images ship pointer stubs. They do not. The image-buildingbuildjob (lines 418–604, containing thedepot/build-push-actionthat pushes the deployed image) hardcodeslfs: true, added 2026-06-07 in7bde1eef3aa— "ci(showcase): pull Git LFS assets during build so demo images ship real binaries" — for exactly this bug. The only reader of the flag wasshowcase_build_check.yml.Evidence, from a real CI run on
main(30116731237, job89559665519,build (built-in-agent, …), 2026-07-24) — notebuilt-in-agentis"lfs":falseinALL_SERVICES:And confirmed end-to-end against what prod and staging actually serve — all 10 pointer-committed integrations, both assets:
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/mastrafailures areHTTP 404from files being absent, a different root cause.Two consequences worth flagging:
agno/mastra's assets — as plain LFS-tracked files, no overrides —showcase_build.ymlalready fetches them, so their images get the real bytes on the next build.What this PR actually changes
Two paths genuinely did not fetch LFS:
showcase_build.ymllfs: true(hardcoded)showcase_build_check.ymllfs: ${{ matrix.service.lfs }}→ falselfs: truetest_e2e-showcase-on-demand.ymllfsinputlfs: trueshowcase_capture-previews.ymllfs: truetest_showcase-frontend-matrix.ymllfs: trueshowcase_validate.ymltest_e2e-showcase-on-demand.ymlwas the meaningful gap. It runsnpx next devon the integration package and drives it with Playwright, servingpublic/straight from the working tree — so with no LFS fetch,multimodal.spec.tsclicks "Try with sample image", gets a ~130-byte pointer stub served asimage/png, and fails the magic-byte guard insample-attachment-buttons.tsxwith nothing wrong in the code under test. Nine of the ten affected integrations ship that spec (all butms-agent-harness-dotnet).Making it not recur
The per-slot
"lfs"field is deleted from bothALL_SERVICESdefinitions. After the change above it had no consumers —showcase_build.ymlignored it in favour of a hardcodedtrue, andshowcase_build_check.ymlwas its only reader.Deleting it rather than setting it to
trueis 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, zerolfskeys).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 outshowcase/integrations/*passeslfs: truewould close it; not in this PR.Verified affected list — 10 integrations, not 12
Pointer-committed
public/demo-files/sample.{png,pdf}onmain, established from the committed tree (local LFS smudge makes the working tree lie —ls -lshows 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-aiSizes via the LFS-unaware
git/treesAPI:sample.png130 B,sample.pdf129 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/mastrahad 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.png10083 B +sample.pdf2486 B ≈ 12.3 KB per integration.But
actions/checkoutwithlfs: truefetches every LFS object in the tree, not just demo files: 203 objects, ~495 MB (largest are multi-MB GIFs underexamples/andassets/, up to 65 MB). That is the real cost driver, andshowcase_build.ymlhas 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 scopedgit lfs pull --includeinstead 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:
git lfs fetchin the deploy build job (quoted above).git/treesAPI.actionlinton all three edited workflows: 24 findings before, 24 after — none introduced (all pre-existing shellcheck info/style plus the customdepot-*runner label). YAML re-parsed and bothALL_SERVICESblobs re-validated.CI-side before/after for the
build_checkpathSame integration (
crewai-crews, one of the ten pointer-committed ones), from real CI logs:BEFORE — run
30132714792, job89610715113(branch predating this change):No
git lfs install, noFetching LFS objectsgroup. The image was built from a pointer stub.AFTER — run
30133303667, job89612372095(this PR):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.e2e:*/multimodald5:*/multimodalRed
d5cells: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:
Not
is a Git LFS pointer, not the real asset, and notCould not fetch sample … HTTP 404. A scan of 500 prod status records found zero occurrences of any LFS-pointer,sample.png/sample.pdffetch, or magic-byte error.The correlation is absent in both directions:
ag2,claude-sdk-python,claude-sdk-typescript,langroid,ms-agent-harness-dotnet,pydantic-ai,spring-aims-agent-python(has its own override, real 10083 B / 2486 B assets)google-adk,langgraph-*,strands*,ms-agent-dotnetSo 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 withfail_countbetween 1713 and 2008 on prod, unrelated to this PR and unrelated toagno/mastra's missing files. They share thewaitForTurnComplete … dom-missingturn-timeout signature and need their own investigation. Staging shows the same set atfail_count=61.