Files
Jeremy FowersandClaude Opus 5.5 465b172a61 fix(docs): only re-commit API examples whose response shape changed (#4114)
* Only re-commit API examples whose response shape changed

The recorded examples show the shape of each response, but backend update
PRs re-recorded them on every pin bump and committed whatever values came
back, plus CRLF files from the Windows recording runner. #4106 changed
19k lines with no real content change; #3964 changed 6.5k lines, one of
which was a real shape change.

- Key the example cache on the request only, not the backend pin
- Add --refresh RECIPE: re-run the examples a recipe serves and keep each
  recorded response unless its shape (status, content type, keys, value
  types, SSE event names) changed
- The llama.cpp, sd.cpp and vLLM update workflows pass --refresh
- Force LF for the generated API pages and the cache
- A llama.cpp update run dispatched from a branch opens its PR against
  that branch

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

* Drop the branch-dispatch PR targeting used to test the workflow

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

* Fix API example refresh validation and stream shape comparison

* Address remaining API example refresh review feedback

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-11-15 20:18:32 +00:00
..