Skip to content

GitLab topic filters are case-sensitive on project topics #1388

Description

@DivyamTalwar

Problem

GitLab connection topic filters normalize configured topics to lowercase, but compare them against project topics without normalizing the project side. A project topic like Backend does not match a config topic or glob such as backend.

Reproduction

Evaluate GitLab project filtering with include.topics: ["backend"] and a project whose API response includes topics: ["Backend"].

Expected

Topic include/exclude matching should be case-insensitive and symmetric between configured topics and project topics.

Actual

Configured topics are lowercased, while project topics retain their original case, so mixed-case GitLab topics can fail otherwise matching filters.

Impact

GitLab sync can unexpectedly include or exclude repositories when GitLab projects use mixed-case topics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions