Skip to content

Support path/subdirectory filtering in releases set-commits for monorepo setups #1156

Description

@dalnoki

Problem Statement

Currently, sentry-cli releases set-commits associates commits at the repository level only. The --commit flag accepts REPO@SHA or REPO@prev-sha..current-sha but has no option to filter commits by path or subdirectory.

For monorepo setups where multiple apps share a single repository, this means a release for a specific app (e.g. an Expo mobile app) will include commits from unrelated areas of the repo (e.g. backend, web) within the same range.

Solution Brainstorm

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions