Skip to content

trunk-merge/pr-1131/cf3510f6-d4cb-4746-a027-913699a5bf8d#1133

Closed
trunk-io[bot] wants to merge 2 commits into
mainfrom
trunk-merge/pr-1131/cf3510f6-d4cb-4746-a027-913699a5bf8d
Closed

trunk-merge/pr-1131/cf3510f6-d4cb-4746-a027-913699a5bf8d#1133
trunk-io[bot] wants to merge 2 commits into
mainfrom
trunk-merge/pr-1131/cf3510f6-d4cb-4746-a027-913699a5bf8d

Conversation

@trunk-io

@trunk-io trunk-io Bot commented Jun 30, 2026

Copy link
Copy Markdown
Trunk Merge Pull Request Banner

This pull request was created and is being managed by Trunk Merge.

This pull request is based on the main branch at SHA 0714b9acbaef42b98436f6cc73091f04761ba9e3.

See more details here.

When CI completes, this pull request will be closed automatically.

Pull Requests Being Tested

This pull request is testing the changes from pull request 1131.

dfrankland and others added 2 commits June 29, 2026 23:03
The API client's retry loop only honored a retry *count*
(TRUNK_API_CLIENT_RETRY_COUNT); the total wall-clock time was otherwise
unbounded (per-request timeouts + up to ~62s of exponential backoff
across retries), so slow/failing calls could run for minutes.

Add an optional overall deadline, read from
TRUNK_API_CLIENT_RETRY_DEADLINE_SECS. The retry loop now gives up once
the elapsed time plus the next backoff would exceed the budget,
returning the most recent error. Pairs with TRUNK_API_CLIENT_RETRY_COUNT
to tune how fast and how often the CLI gives up.

Replace tokio-retry's RetryIf with an explicit loop so the deadline can
short-circuit without needing to construct an error from nothing (the
generic A::Error includes reqwest::Error, which has no public
constructor). Behavior is identical to before when the deadline is
unset. Capture the new env var in bundle metadata for debugging.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@trunk-staging-io

trunk-staging-io Bot commented Jun 30, 2026

Copy link
Copy Markdown

Static BadgeStatic BadgeStatic BadgeStatic Badge

Failed Test Failure Summary Logs
variant_quarantine_test should be quarantined when run with variant A test expected the sum of 2 + 2 to be 5, but it was 4, indicating a failing assertion. Logs ↗︎

View Full Report ↗︎Docs

@codecov-commenter

codecov-commenter commented Jun 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.73%. Comparing base (0714b9a) to head (2faa443).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1133      +/-   ##
==========================================
+ Coverage   82.43%   82.73%   +0.29%     
==========================================
  Files          70       70              
  Lines       15505    15554      +49     
==========================================
+ Hits        12782    12868      +86     
+ Misses       2723     2686      -37     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@trunk-io

trunk-io Bot commented Jun 30, 2026

Copy link
Copy Markdown
Author

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@trunk-io trunk-io Bot closed this Jun 30, 2026
@trunk-io trunk-io Bot deleted the trunk-merge/pr-1131/cf3510f6-d4cb-4746-a027-913699a5bf8d branch June 30, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants