Skip to content

Perforce depots not appearing in Code Mapping dropdown despite successful p4 depots query #116148

@masinette

Description

@masinette

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Install the Perforce integration with valid credentials.
  2. Confirm the connection is working (server logs show successful user-login and user-depots commands from Sentry).
  3. Confirm the configured service account has depot access by running p4 depots as that user.
  4. Navigate to Settings > Integrations > Perforce > Configurations > Code Mappings > Add Mapping.
  5. Observe that the depot dropdown is empty.

Additional Context

Removing and reinstalling the integration multiple times did not resolve the issue.
Server logs confirm user-login and user-depots commands are reaching the Perforce server successfully.
Running p4 depots manually as the service account returns the expected depots.

*user-reported bug. Intercom ticket #102195765

Expected Result

Depots accessible to the configured service account should appear in the dropdown.

Actual Result

The dropdown is empty, despite the server logs confirming that Sentry is successfully querying p4 depots and the service account having access to the depots.

Product Area

Unknown

Link

No response

DSN

No response

Version

No response

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    Status

    Waiting for: Support

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions