Skip to content

ci: check how background test failures surface (do not merge) - #5799

Closed
ric-oliv wants to merge 3 commits into
mainfrom
ci/check-background-test-failure
Closed

ric-oliv wants to merge 3 commits into
mainfrom
ci/check-background-test-failure

Conversation

@ric-oliv

Copy link
Copy Markdown
Member

This draft is only here to check #5785's failure path. Please don't review or merge it. I'll close it and delete the branch once the run finishes.

It's #5785's branch plus two tests in Sentry.Serilog.Tests that fail on purpose. One always fails, and one Verify test has no approved snapshot, so it writes a .received.txt file. They're in Sentry.Serilog.Tests so the device test workflows don't start.

On the legs that run the unit tests in the background, I want to see:

  • the job fail at "Wait for the tests", after the integration tests,
  • Codecov skipped,
  • the received snapshot uploaded.

#skip-changelog

ric-oliv and others added 3 commits October 23, 2026 15:57
On the build legs, the unit tests and the integration tests run one after
the other, though the integration tests only need the packages. On win-x64
the Test step takes 5.8 minutes and Integration test 14.

Outside the publishing build, Test now runs as a background step. The job
packs and runs the integration tests next to it, then waits for it before
uploading coverage. The macOS publishing build keeps the current order,
because its sparse checkout removes the test outputs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every solution build runs before.Sentry.sln.targets, which calls
git submodule update --init --recursive. With the tests in the background,
dotnet test and dotnet pack started in the same second on linux-x64, and
the second git call failed on the lock for a submodule's config file, so
the tests failed before they ran. Packing takes under a minute, so the
tests now start once it's done.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A throwaway, not for merging. One test always fails, and one Verify
test has no approved snapshot, so CI shows how a failing background
test step surfaces and whether the received snapshot gets uploaded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ric-oliv ric-oliv closed this Oct 24, 2026
@ric-oliv
ric-oliv deleted the ci/check-background-test-failure branch October 24, 2026 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant