Skip to content

trunk-merge/pr-1251/edad1f88-9ede-470f-b1e1-83e4ae6e9dd1 - #1275

Closed
trunk-io[bot] wants to merge 9 commits into
mainfrom
trunk-merge/pr-1251/edad1f88-9ede-470f-b1e1-83e4ae6e9dd1
Closed

trunk-io[bot] wants to merge 9 commits into
mainfrom
trunk-merge/pr-1251/edad1f88-9ede-470f-b1e1-83e4ae6e9dd1

Conversation

@trunk-io

@trunk-io trunk-io Bot commented Oct 29, 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 41f781fcce459e370e5db0a9f039001d1d775014.

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 1251.

Dependencies

This pull request depends on the changes from pull requests 1252 and 1250.

dfrankland and others added 9 commits October 29, 2026 17:28
…sults are found

With --allow-empty-test-results=false (or its alias
--allow-missing-junit-files=false), an upload that finds no test results
exits 70 with just "No test output files found to upload." It now names
where it looked and the flag that made it fail:

  No test results found to upload in: ./*. Failing because
  --allow-empty-test-results (or its alias --allow-missing-junit-files) is
  false; set it to true to continue without test results.

Both spellings are named because clap can't tell which was passed, and
the GitHub Action passes the alias.

Part of TRUNK-19074.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`trunk-analytics-cli test -- <command>` exited 0 when the command
couldn't be started, for example because of a typo in its name. It
printed "Unable to connect to trunk's server", so a CI job with a broken
test command passed.

The error from starting the process is an io::Error, which the error
report treats as a refused connection, and those exit 0 by design. Now
it's raised like the CLI's other can't-continue errors, so `test` exits
70 and prints "Couldn't run the test command `<command>`: <reason>".

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
`upload --allow-forked-pr-uploads` without `--test-collection-id` (or with
a blank one) exited 0. The check was added to stop exactly this
misconfiguration from passing as a green step. Its error had no exit
code of its own, though, so it failed open like any unclassified error.

It's now raised as an InterruptingError, like the CLI's other
can't-continue errors, so the run exits 70.

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

trunk-staging-io Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Static Badge   Static Badge   Static Badge

Failed Test Failure Summary Logs
pending_quarantine_test should be quarantined when run with variant A test marked as pending was expected to fail but unexpectedly passed. Logs ↗︎
variant_quarantine_test should be quarantined when run with variant The quarantined variant test failed because it expected 2 + 2 to equal 5, but the result was 4. Logs ↗︎

View Full Report ↗︎ ⋅ Docs

@codecov-commenter

codecov-commenter commented Oct 29, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.29630% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 85.65%. Comparing base (41f781f) to head (9f5a7a0).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
cli/src/context.rs 88.88% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1275      +/-   ##
==========================================
+ Coverage   85.42%   85.65%   +0.23%     
==========================================
  Files          86       86              
  Lines       19235    19253      +18     
==========================================
+ Hits        16431    16491      +60     
+ Misses       2804     2762      -42     

☔ 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 closed this Oct 29, 2026
@trunk-io
trunk-io Bot deleted the trunk-merge/pr-1251/edad1f88-9ede-470f-b1e1-83e4ae6e9dd1 branch October 29, 2026 19:38
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