Skip to content

feat(examples): make the feed reader the end-to-end services showcase - #352

Merged
ctate merged 3 commits into
mainfrom
service-showcase-example
Aug 14, 2026
Merged

feat(examples): make the feed reader the end-to-end services showcase#352
ctate merged 3 commits into
mainfrom
service-showcase-example

Conversation

@ctate

@ctate ctate commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Reworks examples/service-feed-reader into the canonical demonstration of the full services loop: fetch → service parse → typed record → model update → recorded replay.

  • The core issues Cmd.fetch for feed bytes (a checked-in fixture serves tests and offline runs, so no test touches the network) and hands them to the service through the generated @native-sdk/services client — the example previously called its service with raw Cmd.request bytes.
  • Request and result are contract-encodable records declared once in src/shared.ts; the service does real parsing with the static tier and returns typed items the markup renders.
  • Replay is proven, not claimed: a new battery (tests/ts-services/feed_reader_e2e_tests.zig, wired into the ts-services and ts-core e2e steps) records a session through fetch delivery and service results, then replays it byte-identically with the service never running.
  • The example README walks the loop; the services chapter and packages page point at this example.

Example suite, ts-services e2e, docs check, and the gate pass; the only failure is the pre-existing toggle-big-view render-budget case.

@vercel

vercel Bot commented Aug 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
native-sdk Ready Ready Preview Aug 14, 2026 3:07am

@ctate
ctate merged commit e924d7f into main Aug 14, 2026
28 checks passed
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