Skip to content

Print only test failures by default, full logs in files - #2510

Draft
yuandrew wants to merge 2 commits into
mainfrom
try-out-ci-shenanigans
Draft

Print only test failures by default, full logs in files #2510
yuandrew wants to merge 2 commits into
mainfrom
try-out-ci-shenanigans

Conversation

@yuandrew

@yuandrew yuandrew commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

What was changed

Only print tests run and test failure logs.

Unit test output goes from ~7600 to ~40 lines
Integ test output goes from ~6000 to

Why?

Inspired by temporalio/sdk-typescript#2270, we never care about all of the lot spew for passing tests, only for the failures. So let's make only-failure output by default, while maintaining access to full logs with files if someone actually cares

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@yuandrew yuandrew added the skip-changelog PR changes do not require changelog updates label Jul 29, 2026
@yuandrew
yuandrew force-pushed the try-out-ci-shenanigans branch from 1df4454 to ec7437d Compare July 29, 2026 21:50
Comment thread test/integration_test.go
// We cannot check PollActivityTaskQueue metric because eager activities
// affect poll count
ts.assertMetricCountAtLeast("temporal_long_request", 3, "operation", "PollWorkflowTaskQueue")
ts.Fail("intentional failure to demonstrate CI test output")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE: Will remove before merging, but keeping here until we're ready to merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog PR changes do not require changelog updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant