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

decentraland / squid-management-server / 24787181135
46%
main: 48%

Build:
Build:
LAST BUILD BRANCH: security/pin-github-actions-sha
DEFAULT BRANCH: main
Ran 22 Apr 2026 03:30PM 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

22 Apr 2026 03:30PM UTC coverage: 45.54% (+8.8%) from 36.694%
24787181135

Pull #74

github

LautaroPetaccio
refactor: drop slack wrapper, consume @dcl/slack-component directly

The thin wrapper at src/ports/slack/ added one method
(sendFormattedMessage) that simply mapped to @dcl/slack-component's
sendMessage with a default channel. Every caller was the squid
monitor, so the indirection is pure overhead.

- Delete src/ports/slack/{component.ts,index.ts}. Directory goes away.
- src/components.ts: createSlackComponent is imported from
  @dcl/slack-component and invoked inline with SLACK_BOT_TOKEN.
- src/types.ts: ISlackComponent now comes from @dcl/slack-component.
- src/ports/job/squid-monitor.ts: reads SLACK_CHANNEL itself (with
  the same 'general' fallback) and calls slack.sendMessage({
  channel, ...msg }) at each of the 4 alert sites. The
  SlackMessageBlock type is kept here (and exported) because
  @dcl/slack-component types blocks as `any[]` and we want
  structural safety when building alert blocks.

One intentional behaviour change: @dcl/slack-component throws on
failure, whereas the old wrapper swallowed errors and logged them.
Slack failures will now surface through the monitor's outer catch and
be reported via the job's onError instead of being silently absorbed.

10/10 tests still pass; they now mock sendMessage and assert the
first-argument shape still has .text/.blocks (plus a .channel field
that existing assertions don't care about).
Pull Request #74: Overhaul runtime, dependencies, and adopt core-components

46 of 108 branches covered (42.59%)

Branch coverage included in aggregate %.

10 of 39 new or added lines in 6 files covered. (25.64%)

148 of 318 relevant lines covered (46.54%)

1.48 hits per line

Uncovered Changes

Lines Coverage ∆ File
15
0.0
0.0% src/components.ts
9
0.0
0.0% src/ports/db/component.ts
2
0.0
0.0% src/metrics.ts
2
61.42
1.42% src/ports/job/squid-monitor.ts
1
0.0
0.0% src/controllers/routes.ts
Jobs
ID Job ID Ran Files Coverage
1 24787181135.1 22 Apr 2026 03:30PM UTC 13
45.54
GitHub Action Run
Source Files on build 24787181135
  • Tree
  • List 13
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #74
  • PR Base - main (#19147808878)
  • 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