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

bots-go-framework / bots-fw / 23320691596
22%

Build:
DEFAULT BRANCH: main
Ran 19 Mar 2026 10:51PM UTC
Jobs 1
Files 68
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

19 Mar 2026 10:51PM UTC coverage: 6.612% (+3.7%) from 2.886%
23320691596

push

github

trakhimenok
refactor: decompose WebhookContext into 6 focused sub-interfaces

Decompose the monolithic WebhookContext (36 methods) into 6 focused
sub-interfaces per the proposal in PROPOSAL-webhook-context-decomposition.md:

- WebhookRequestContext: identity & infrastructure (Context, Request, DB, etc.)
- WebhookInputContext: incoming message (Input, GetBotUserID, MustBotChatID)
- WebhookUserData: user & chat persistence (ChatData, SaveBotChat, AppUserID, etc.)
- WebhookI18n: internationalisation (Translate, SetLocale, CommandText)
- WebhookMessaging: message construction & dispatch (NewMessage, Responder)
- WebhookTelemetry: analytics pipeline (Analytics)

WebhookContext is now a pure composition of these sub-interfaces with no
new methods, preserving full backwards compatibility.

Also:
- Deprecate ExecutionContext (wraps Context() with no added value)
- Deprecate BotState (merged into WebhookUserData)
- Deprecate WebhookInlineQueryContext (unused)
- Regenerate all mocks including new sub-interface mocks
- Update generate_mocks.sh with new sub-interface entries

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

0 of 451 new or added lines in 8 files covered. (0.0%)

316 of 4779 relevant lines covered (6.61%)

0.08 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
0.0
0.0% mocks/mock_botsfwmodels/bot_chat_data.go
16
0.0
mocks/mock_botsfw/webhook_analytics.go
18
0.0
mocks/mock_botsfw/webhook_telemetry.go
49
0.0
mocks/mock_botsfw/webhook_input_context.go
53
0.0
mocks/mock_botsfw/webhook_messaging.go
86
0.0
mocks/mock_botsfw/webhook_i18n.go
109
0.0
mocks/mock_botsfw/webhook_user_data.go
116
0.0
mocks/mock_botsfw/webhook_request_context.go
Jobs
ID Job ID Ran Files Coverage
1 23320691596.1 19 Mar 2026 10:51PM UTC 68
6.61
GitHub Action Run
Source Files on build 23320691596
  • Tree
  • List 68
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d3765631 on github
  • Prev Build on main (#23319713285)
  • Next Build on main (#23321367027)
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