feat(examples): make the feed reader the end-to-end services showcase - #352
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Reworks
examples/service-feed-readerinto the canonical demonstration of the full services loop: fetch → service parse → typed record → model update → recorded replay.Cmd.fetchfor 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/servicesclient — the example previously called its service with rawCmd.requestbytes.src/shared.ts; the service does real parsing with the static tier and returns typed items the markup renders.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.Example suite, ts-services e2e, docs check, and the gate pass; the only failure is the pre-existing
toggle-big-viewrender-budget case.