Skip to content

feat(preprod): Add analytics to the assemble endpoint #93871

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

trevor-e
Copy link
Member

Adds some simple analytics to our endpoint so we can begin building a dashboard in Amplitude.

@trevor-e trevor-e requested a review from a team as a code owner June 18, 2025 22:10
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 18, 2025
Copy link

codecov bot commented Jun 18, 2025

❌ 22 Tests Failed:

Tests completed Failed Passed Skipped
26630 22 26608 241
View the top 3 failed test(s) by shortest run time
tests.sentry.preprod.api.endpoints.test_organization_preprod_artifact_assemble.ProjectPreprodArtifactAssembleTest::test_assemble_json_schema_chunks_wrong_type
Stack Traces | 2.13s run time
#x1B[1m#x1B[.../api/endpoints/test_organization_preprod_artifact_assemble.py#x1B[0m:246: in test_assemble_json_schema_chunks_wrong_type
    assert response.status_code == 400, response.content
#x1B[1m#x1B[31mE   AssertionError: b'{"detail":"Internal Error","errorId":null}'#x1B[0m
#x1B[1m#x1B[31mE   assert 500 == 400#x1B[0m
#x1B[1m#x1B[31mE    +  where 500 = <Response status_code=500, "application/json">.status_code#x1B[0m
tests.sentry.preprod.api.endpoints.test_organization_preprod_artifact_assemble.ProjectPreprodArtifactAssembleTest::test_assemble_json_schema_integration
Stack Traces | 2.14s run time
#x1B[1m#x1B[.../api/endpoints/test_organization_preprod_artifact_assemble.py#x1B[0m:185: in test_assemble_json_schema_integration
    assert response.status_code == 400
#x1B[1m#x1B[31mE   assert 500 == 400#x1B[0m
#x1B[1m#x1B[31mE    +  where 500 = <Response status_code=500, "application/json">.status_code#x1B[0m
tests.sentry.preprod.api.endpoints.test_organization_preprod_artifact_assemble.ProjectPreprodArtifactAssembleTest::test_assemble_with_metadata
Stack Traces | 2.17s run time
#x1B[1m#x1B[.../api/endpoints/test_organization_preprod_artifact_assemble.py#x1B[0m:367: in test_assemble_with_metadata
    assert response.status_code == 200, response.content
#x1B[1m#x1B[31mE   AssertionError: b'{"detail":"Internal Error","errorId":null}'#x1B[0m
#x1B[1m#x1B[31mE   assert 500 == 200#x1B[0m
#x1B[1m#x1B[31mE    +  where 500 = <Response status_code=500, "application/json">.status_code#x1B[0m

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants