Skip to content

trunk-merge/pr-1247/85daf061-ba2c-4d99-9e4f-9833c6793aa6 - #1276

Closed
trunk-io[bot] wants to merge 12 commits into
mainfrom
trunk-merge/pr-1247/85daf061-ba2c-4d99-9e4f-9833c6793aa6
Closed

trunk-io[bot] wants to merge 12 commits into
mainfrom
trunk-merge/pr-1247/85daf061-ba2c-4d99-9e4f-9833c6793aa6

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

Dependencies

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

dfrankland and others added 12 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>
The gem documents TRUNK_DISABLE_QUARANTINING ("Set to 'true' to disable
quarantining"), but it only ever reached the upload step. The check
that runs when a test fails never read it, so failures were still
looked up and quarantined.

With TRUNK_DISABLE_QUARANTINING=true, a failure is no longer looked up
or quarantined, and the run ends with a note saying so. The gem's upload
telemetry reports the quarantine query result as Disabled rather than
Skipped, as the CLI does for --disable-quarantining.

Co-Authored-By: Claude Opus 5.5 (1M context) <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 quarantine 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 97.29730% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 85.67%. Comparing base (41f781f) to head (0b80094).
⚠️ 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    #1276      +/-   ##
==========================================
+ Coverage   85.42%   85.67%   +0.25%     
==========================================
  Files          86       86              
  Lines       19235    19259      +24     
==========================================
+ Hits        16431    16500      +69     
+ Misses       2804     2759      -45     

☔ 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-1247/85daf061-ba2c-4d99-9e4f-9833c6793aa6 branch October 29, 2026 19:39
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