Skip to content

Zulip topic is only renamed for messages after MCP issue rename occurs #1228

@camelid

Description

@camelid

It happened here. triagebot renamed the topic of the "renaming this Zulip topic" message, which effectively splits the topic in two, when it should have renamed the topic of the original "new proposal" message.

The code that is responsible for renaming the topic is here:

let zulip_update_req = crate::zulip::UpdateMessageApiRequest {
message_id: zulip_send_res.message_id,
topic: Some(&new_topic),
propagate_mode: None,
content: None,
};

Another bug is that renaming the Zulip topic breaks the link in the MCP issue—which is what #711 was originally trying to fix (see #701, the short summary is that someone manually renamed the Zulip topic, which broke the link in the MCP issue).

Fixing these issues is probably going to be difficult. I'm not sure what the right solution is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions