Skip to content

feat(telemetry): redesign OpenTelemetry tracing with Metalama AOP

852d91d
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Redesign OpenTelemetry tracing with Metalama AOP #40

feat(telemetry): redesign OpenTelemetry tracing with Metalama AOP
852d91d
Select commit
Loading
Failed to load commit list.
GitHub Actions / .NET test results succeeded Jun 28, 2025 in 0s

27 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
tests/CrowdParlay.Social.IntegrationTests/TestResults/_pkrvmbietmlfzoi_2025-06-28_13_52_41.trx 23✅ 28s
tests/CrowdParlay.Social.UnitTests/TestResults/_pkrvmbietmlfzoi_2025-06-28_13_52_16.trx 4✅ 1s

✅ tests/CrowdParlay.Social.IntegrationTests/TestResults/_pkrvmbietmlfzoi_2025-06-28_13_52_41.trx

23 tests were completed in 28s with 23 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CrowdParlay.Social.IntegrationTests.Tests.AuthenticationTests 2✅ 1s
CrowdParlay.Social.IntegrationTests.Tests.CommentsTests 6✅ 2s
CrowdParlay.Social.IntegrationTests.Tests.DiscussionsTests 6✅ 1s
CrowdParlay.Social.IntegrationTests.Tests.HttpContractsTests 3✅ 687ms
CrowdParlay.Social.IntegrationTests.Tests.ReactionsTests 2✅ 1s
CrowdParlay.Social.IntegrationTests.Tests.SignalRTests 1✅ 1s
CrowdParlay.Social.IntegrationTests.Tests.TracingTests 2✅ 969ms
CrowdParlay.Social.IntegrationTests.Tests.UsersTests 1✅ 173ms

✅ CrowdParlay.Social.IntegrationTests.Tests.AuthenticationTests

✅ Create a discussion providing access JWT as Bearer token
✅ Search discussions returns discussions with viewer reactions

✅ CrowdParlay.Social.IntegrationTests.Tests.CommentsTests

✅ Create comment
✅ Create comment with unknown discussion
✅ Get comment with unknown ID
✅ Get replies to comment
✅ Get replies(flatten: False)
✅ Get replies(flatten: True)

✅ CrowdParlay.Social.IntegrationTests.Tests.DiscussionsTests

✅ Create discussions in parallel(degreeOfParallelism: 1)
✅ Create discussions in parallel(degreeOfParallelism: 100)
✅ Create discussions in parallel(degreeOfParallelism: 2)
✅ Get discussion with reactions
✅ Get discussions by author
✅ Get discussions by author of no discussions

✅ CrowdParlay.Social.IntegrationTests.Tests.HttpContractsTests

✅ Preflight request to SignalR returns specific CORS allowed origins
✅ Resource not found error is returned as RFC 7807 problem details
✅ Responses are JSON-serialized in snake case

✅ CrowdParlay.Social.IntegrationTests.Tests.ReactionsTests

✅ Set reactions
✅ Setting reactions overwrites existing reactions

✅ CrowdParlay.Social.IntegrationTests.Tests.SignalRTests

✅ Listen to new comments in discussion

✅ CrowdParlay.Social.IntegrationTests.Tests.TracingTests

✅ CommentsServiceProducesTraces
✅ UsersServiceProducesTraces

✅ CrowdParlay.Social.IntegrationTests.Tests.UsersTests

✅ Get user by ID returns cached user

✅ tests/CrowdParlay.Social.UnitTests/TestResults/_pkrvmbietmlfzoi_2025-06-28_13_52_16.trx

4 tests were completed in 1s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CrowdParlay.Social.UnitTests.UsersServiceCachingDecoratorTests 4✅ 143ms

✅ CrowdParlay.Social.UnitTests.UsersServiceCachingDecoratorTests

✅ Get user by ID returns cached result if possible(userPresentInCache: False)
✅ Get user by ID returns cached result if possible(userPresentInCache: True)
✅ Get users by IDs returns cached results if possible(usersPresentInCache: False)
✅ Get users by IDs returns cached results if possible(usersPresentInCache: True)