Skip to content

trunk-merge/pr-1170/067b5f11-dee8-4356-9047-9df15904cd3b - #1175

Closed
trunk-io[bot] wants to merge 4 commits into
mainfrom
trunk-merge/pr-1170/067b5f11-dee8-4356-9047-9df15904cd3b
Closed

trunk-merge/pr-1170/067b5f11-dee8-4356-9047-9df15904cd3b#1175
trunk-io[bot] wants to merge 4 commits into
mainfrom
trunk-merge/pr-1170/067b5f11-dee8-4356-9047-9df15904cd3b

Conversation

@trunk-io

@trunk-io trunk-io Bot commented Aug 27, 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 8c100a4ed6601942309b99936f0668483ab100ff.

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 1170, stacked on pull request 1173.

TylerJang27 and others added 4 commits August 27, 2026 16:22
GitHub evaluates a job's `if:` before expanding its matrix, so a matrix job
skipped at job level reports one check run under the unexpanded name --
`Build CLI for ${{ matrix.platform.target }}` rather than one context per
platform. Any per-leg context required by branch protection then never
reports and the PR hangs on "Expected -- Waiting for status to be reported".

Each PR workflow now ends in a `gate` job that always runs and passes when
every job it needs finished success-or-skipped. That gives branch protection
one stable context per workflow instead of 12 hand-typed matrix-leg names
that also break on any matrix edit (runner labels and Xcode versions are
currently baked into them).

Each gate's `needs` lists the jobs that are required checks today, so the
required set is preserved rather than widened. It also removes a latent
ambiguity: the required context `build` currently matches the `build` job in
both ruby.yml and wasm.yml.

No behavior change on its own -- the gate only aggregates results.
The gate only reads `needs.*.result`, so anything beyond a few seconds means
it is wedged rather than working -- and a wedged required check blocks merges
until the default 6h job timeout expires.
Adds the Dynamic CI Filter in pre-job mode to the four PR workflows
(pull_request, pyo3, ruby, wasm): one upstream job asks Trunk for a
per-job verdict and every downstream job gates on its output.

Gating is scoped to pull_request explicitly -- every gate leads with
`github.event_name != 'pull_request' ||`, so push (main), tags and
workflow_dispatch run everything outright rather than relying on the
skipped filter job's empty outputs.

Unlike trunk2, TRUNK_PUBLIC_API_ADDRESS is left unset so the action talks
to prod (api.trunk.io) with TRUNK_PROD_ORG_API_TOKEN -- this repo's merge
queue and CI history are in prod, not staging.
@trunk-io trunk-io Bot closed this Aug 27, 2026
@trunk-io
trunk-io Bot deleted the trunk-merge/pr-1170/067b5f11-dee8-4356-9047-9df15904cd3b branch August 27, 2026 17:59
@trunk-staging-io

Copy link
Copy Markdown

Static BadgeStatic BadgeStatic 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 A test expected the sum of 2 + 2 to be 5, but it was actually 4, indicating a failing assertion. Logs ↗︎

View Full Report ↗︎Docs

@trunk-io

trunk-io Bot commented Aug 27, 2026

Copy link
Copy Markdown
Author

Static BadgeStatic BadgeStatic 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 A test expected the sum of 2 + 2 to be 5, but it was actually 4, indicating a failing assertion. Logs ↗︎

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.

1 participant