Skip to content

[DO NOT MERGE] prove selective testing catches public issue-views publish - #122953

Draft
sentry-junior[bot] wants to merge 2 commits into
masterfrom
junior/prove-selective-publish-matrix
Draft

[DO NOT MERGE] prove selective testing catches public issue-views publish#122953
sentry-junior[bot] wants to merge 2 commits into
masterfrom
junior/prove-selective-publish-matrix

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

[DO NOT MERGE]

Proof PR that the selective-testing path filter would have caught Charlie's issue-views publish break.

What's on the branch

  1. Path-filter fix from ci(selective): force Seer public API matrix on publish_status edits #122950: changed src/sentry/**/endpoints/**.py force-includes tests/sentry/seer/endpoints/test_organization_agent_token.py
  2. Reapply of feat(api): Publish issue view listing endpoint #122605 (Charlie's listing publish) on top of current master, which still has feat(api): Publish typed issue view creation endpoint #122537's POST → PUBLIC

Expected CI signal

  • select-tests should include the Seer public-API matrix because the endpoint path changed
  • Backend should fail on AgentTokenPublicGetMatrixTest::…OrganizationGroupSearchViews_post_agent_token (404 behind organizations:issue-views)

If that failure shows up on this PR, the selective guard works. Close without merging afterward.

Requested by dan.

--

View Junior Session [Sentry]

sentry-junior Bot and others added 2 commits August 27, 2026 23:15
Force-include the Seer public-API matrix when changed files match
src/sentry/**/endpoints/**.py so publish_status flips cannot skip it.

Co-Authored-By: Dan Fuller <dfuller@sentry.io>
This reverts commit cc1dbf8.

Co-Authored-By: Dan Fuller <dfuller@sentry.io>
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Aug 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Backend Test Failures

Failures on 71fd2af in this run:

tests/sentry/seer/endpoints/test_organization_agent_token.py::AgentTokenPublicGetMatrixTest::test_public_mutation_102_OrganizationGroupSearchViews_post_sessionlog
[gw1] linux -- Python 3.13.1 /home/runner/work/sentry/sentry/.venv/bin/python3
tests/sentry/seer/endpoints/test_organization_agent_token.py:2258: in test_matrix_cell
    self._assert_public_mutation_authentication(endpoint, authentication)
tests/sentry/seer/endpoints/test_organization_agent_token.py:2066: in _assert_public_mutation_authentication
    assert baseline.status_code < 400, (
E   AssertionError: ('OrganizationGroupSearchViewsEndpoint', 'POST', b'')
E   assert 404 < 400
E    +  where 404 = <Response status_code=404>.status_code
tests/sentry/seer/endpoints/test_organization_agent_token.py::AgentTokenPublicGetMatrixTest::test_public_mutation_103_OrganizationGroupSearchViews_post_user_tokenlog
[gw1] linux -- Python 3.13.1 /home/runner/work/sentry/sentry/.venv/bin/python3
tests/sentry/seer/endpoints/test_organization_agent_token.py:2258: in test_matrix_cell
    self._assert_public_mutation_authentication(endpoint, authentication)
tests/sentry/seer/endpoints/test_organization_agent_token.py:2066: in _assert_public_mutation_authentication
    assert baseline.status_code < 400, (
E   AssertionError: ('OrganizationGroupSearchViewsEndpoint', 'POST', b'')
E   assert 404 < 400
E    +  where 404 = <Response status_code=404>.status_code
tests/sentry/seer/endpoints/test_organization_agent_token.py::AgentTokenPublicGetMatrixTest::test_public_mutation_104_OrganizationGroupSearchViews_post_viewer_contextlog
[gw1] linux -- Python 3.13.1 /home/runner/work/sentry/sentry/.venv/bin/python3
tests/sentry/seer/endpoints/test_organization_agent_token.py:2258: in test_matrix_cell
    self._assert_public_mutation_authentication(endpoint, authentication)
tests/sentry/seer/endpoints/test_organization_agent_token.py:2066: in _assert_public_mutation_authentication
    assert baseline.status_code < 400, (
E   AssertionError: ('OrganizationGroupSearchViewsEndpoint', 'POST', b'')
E   assert 404 < 400
E    +  where 404 = <Response status_code=404>.status_code
tests/sentry/seer/endpoints/test_organization_agent_token.py::AgentTokenPublicGetMatrixTest::test_public_mutation_105_OrganizationGroupSearchViews_post_agent_tokenlog
[gw1] linux -- Python 3.13.1 /home/runner/work/sentry/sentry/.venv/bin/python3
tests/sentry/seer/endpoints/test_organization_agent_token.py:2258: in test_matrix_cell
    self._assert_public_mutation_authentication(endpoint, authentication)
tests/sentry/seer/endpoints/test_organization_agent_token.py:2066: in _assert_public_mutation_authentication
    assert baseline.status_code < 400, (
E   AssertionError: ('OrganizationGroupSearchViewsEndpoint', 'POST', b'')
E   assert 404 < 400
E    +  where 404 = <Response status_code=404>.status_code
tests/sentry/seer/endpoints/test_organization_agent_token.py::AgentTokenPublicGetMatrixTest::test_public_mutation_106_OrganizationGroupSearchViews_post_scoped_down_agent_tokenlog
[gw1] linux -- Python 3.13.1 /home/runner/work/sentry/sentry/.venv/bin/python3
tests/sentry/seer/endpoints/test_organization_agent_token.py:2258: in test_matrix_cell
    self._assert_public_mutation_authentication(endpoint, authentication)
tests/sentry/seer/endpoints/test_organization_agent_token.py:2066: in _assert_public_mutation_authentication
    assert baseline.status_code < 400, (
E   AssertionError: ('OrganizationGroupSearchViewsEndpoint', 'POST', b'')
E   assert 404 < 400
E    +  where 404 = <Response status_code=404>.status_code
tests/sentry/seer/endpoints/test_organization_agent_token.py::AgentTokenPublicGetMatrixTest::test_public_mutation_107_OrganizationGroupSearchViews_post_approved_agent_tokenlog
[gw1] linux -- Python 3.13.1 /home/runner/work/sentry/sentry/.venv/bin/python3
tests/sentry/seer/endpoints/test_organization_agent_token.py:2258: in test_matrix_cell
    self._assert_public_mutation_authentication(endpoint, authentication)
tests/sentry/seer/endpoints/test_organization_agent_token.py:2066: in _assert_public_mutation_authentication
    assert baseline.status_code < 400, (
E   AssertionError: ('OrganizationGroupSearchViewsEndpoint', 'POST', b'')
E   assert 404 < 400
E    +  where 404 = <Response status_code=404>.status_code

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.

0 participants