Skip to content

examples: expand timeout scenarios#245

Merged
WineChord merged 1 commit into
trpc-group:mainfrom
Rememorio:add_timeout_examples
Jun 24, 2026
Merged

examples: expand timeout scenarios#245
WineChord merged 1 commit into
trpc-group:mainfrom
Rememorio:add_timeout_examples

Conversation

@Rememorio

@Rememorio Rememorio commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Expand the timeout example into a client -> forward server -> backend server call chain.
  • Add generated public Chat proto stubs for the timeout flow.
  • Document full-link timeout scenarios without relying on internal services.

Tests

  • go test ./features/timeout/... -count=1 from examples/
  • go test ./... -count=1 from examples/
  • git diff --check main...HEAD
  • Scanned changed files for internal-only links and local paths

@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.42410%. Comparing base (53fe5d2) to head (01a7f54).

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main        #245         +/-   ##
===================================================
+ Coverage   85.30338%   85.42410%   +0.12071%     
===================================================
  Files            215         215                 
  Lines          19052       19052                 
===================================================
+ Hits           16252       16275         +23     
+ Misses          2118        2102         -16     
+ Partials         682         675          -7     
Flag Coverage Δ
unittests 85.42410% <ø> (+0.12071%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Rememorio Rememorio force-pushed the add_timeout_examples branch from c2ff3e9 to 01a7f54 Compare June 22, 2026 06:24

@WineChord WineChord left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@WineChord WineChord merged commit c2e8b48 into trpc-group:main Jun 24, 2026
7 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants