Skip to content

trunk-merge/pr-1205/c7ef6a77-b817-42eb-a91d-0aad752700fc - #1206

Closed
trunk-io[bot] wants to merge 2 commits into
mainfrom
trunk-merge/pr-1205/c7ef6a77-b817-42eb-a91d-0aad752700fc
Closed

trunk-io[bot] wants to merge 2 commits into
mainfrom
trunk-merge/pr-1205/c7ef6a77-b817-42eb-a91d-0aad752700fc

Conversation

@trunk-io

@trunk-io trunk-io Bot commented Sep 24, 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 266f3051ce4e223b70e8364bcb800af5ada1dd04.

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

acatxnamedvirtue and others added 2 commits September 22, 2026 15:22
A forked `pull_request` run gets no repository secrets, so it can present
neither an org token nor (for a collection-first org) a public repo id.
`--allow-forked-pr-uploads` / `TRUNK_ALLOW_FORKED_PR_UPLOADS` opts such a
run into a lane authorized server-side by the test collection's own
opt-in, using the `--test-collection-id` the workflow already passes.

The flag is a mode selector, not a credential — it is sent as
`x-trunk-allow-forked-pr-uploads: true` and grants nothing on its own.
Requiring it is the point: without it, "no token" would silently become an
anonymous upload, and because this lane fails open on authorization errors
the misconfiguration would surface as a warning and a green CI step. A job
whose `TRUNK_API_TOKEN` secret fails to interpolate still errors out.

It also errors early when set without `--test-collection-id`: there would
be nothing for the server to authorize against, and that failure is far
clearer at arg-parse time than as a 401 the run then swallows.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@codecov-commenter

codecov-commenter commented Sep 24, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.47312% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.96%. Comparing base (266f305) to head (5af69dd).

Files with missing lines Patch % Lines
cli/src/upload_command.rs 30.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1206      +/-   ##
==========================================
+ Coverage   83.70%   83.96%   +0.25%     
==========================================
  Files          74       74              
  Lines       17667    17745      +78     
==========================================
+ Hits        14789    14899     +110     
+ Misses       2878     2846      -32     

☔ 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-staging-io

trunk-staging-io Bot commented Sep 24, 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 Logs ↗︎
variant_quarantine_test should be quarantined when run with variant Logs ↗︎

View Full Report ↗︎ ⋅ Docs

@trunk-io trunk-io Bot closed this Sep 24, 2026
@trunk-io
trunk-io Bot deleted the trunk-merge/pr-1205/c7ef6a77-b817-42eb-a91d-0aad752700fc branch September 24, 2026 17:23
@trunk-io

trunk-io Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Author

Static Badge   Static Badge   Static Badge

View Full Report ↗︎ ⋅ Docs

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