matrix-org / matrix-org/matrix-hookshot

GitHub notifications can exceed matrix's maximum event size

Open
#203 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

S-Tolerable T-Defect
Dominant language
TypeScript
Stars
450
Forks
95
Avg merge
1d 2h
Merged PRs (30d)
23

Description

Very long posts are cut off by matrix's message size limit, e.g. https://github.com/vector-im/element-web/issues/20467#issuecomment-1038839125

You could split them up, however that's not great in the middle of a code block. I would rather it not post the code block at all but simply link to the comment instead.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the GitHub notification formatting and Matrix message-sending entry points, then inspect how long posts and code blocks are handled. Done means oversized notifications no longer exceed Matrix's event limit and a code block that cannot fit is omitted in favor of a link to the GitHub comment.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, typescript
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.