• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

decentraland / agent-server / 23814227455
26%
main: 34%

Build:
Build:
LAST BUILD BRANCH: feat/two-agents-account
DEFAULT BRANCH: main
Ran 31 Mar 2026 06:54PM UTC
Jobs 1
Files 13
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 Mar 2026 06:53PM UTC coverage: 26.231% (+0.004%) from 26.227%
23814227455

Pull #63

github

root
fix: wire extractEventText into fetchThread and formatMessages

Both fetchThread (slack.ts) and formatMessages (read-slack-thread.ts)
were using `m.text || ""` directly, which silently drops message
content posted exclusively via attachments or blocks (e.g. GitHub
Slack app notifications).

The extractEventText helper already existed and correctly merged
text + attachments + blocks, but was never called in the thread-
fetching path.

Changes:
- Extract extractBlockText and extractEventText into a new shared
  src/slack-utils.ts to avoid a circular import
  (slack.ts -> read-slack-thread.ts -> slack.ts)
- Re-export extractEventText from slack.ts to preserve existing
  public API (tests import it from there)
- Replace m.text || "" with extractEventText(m) in fetchThread
- Replace m.text || "" with extractEventText(m) in formatMessages

Requested by Ignacio Mazzara via Slack
Pull Request #63: fix: wire extractEventText into fetchThread and formatMessages

121 of 501 branches covered (24.15%)

Branch coverage included in aggregate %.

28 of 29 new or added lines in 3 files covered. (96.55%)

236 of 860 relevant lines covered (27.44%)

1.92 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
15.16
-4.87% src/slack.ts
Jobs
ID Job ID Ran Files Coverage
1 23814227455.1 31 Mar 2026 06:54PM UTC 13
26.23
GitHub Action Run
Source Files on build 23814227455
  • Tree
  • List 13
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #63
  • PR Base - main (#23812408657)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc