Skip to content

Failures when GitHub team name does not match Rust team name #1889

Open
@ehuss

Description

@ehuss

The notifications feature seems to fail when someone @'s a team where the team name does not match its GitHub team name.

This results in this error message:

2025-01-22T20:20:04.573850Z ERROR request{uuid=acf45229-ce61-4502-8867-7644ae50da21}: triagebot::handlers::notification: team ping (rust-lang/initiative-trait-system-refactor) failed to resolve to a known team

project-trait-system-refactor uses team-name to define a different GitHub team name: https://github.com/rust-lang/team/blob/bf46e5282e95a3057fd65d638a2f66e24efa55de/teams/project-trait-system-refactor.toml#L27

Might be good to audit if there are any other places which make the assumption that Rust team names match GitHub team names. I'm pretty sure r? assignment also makes this assumption.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-notificationsArea: the notifications manager

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions