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

lucasliet / llm-telegram-bot / 23941737114
54%

Build:
DEFAULT BRANCH: main
Ran 03 Apr 2026 09:36AM UTC
Jobs 1
Files 58
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

03 Apr 2026 09:35AM UTC coverage: 53.622% (-0.1%) from 53.739%
23941737114

push

github

lucasliet
fix: convert env var access to lazy getters for Deno Deploy

- Convert all top-level env var access to lazy getter functions
- Fixes warmup failures on Deno Deploy where env vars aren't available during module load
- BOT initialization moved to initializeApp() to use getToken() at runtime
- All API keys now use lazy getters (called only when needed)

Affected files:
- main.ts: getToken(), getPort(), getAdminUserIds() + BOT init in initializeApp()
- TelegramService: getToken(), getAdminUserIds()
- FileUtils: getToken()
- GeminiService: getGeminiApiKey()
- CloudFlareService: getCloudflareAccountId(), getCloudflareApiKey()
- AntigravityOAuth: getAntigravityRefreshToken(), getAntigravityProjectId()
- OpenAI services: lazy getters for all API keys (Gemini, GitHub, Groq, OpenRouter, etc.)

Validated: app doesn't crash on module load without env vars

183 of 377 branches covered (48.54%)

Branch coverage included in aggregate %.

31 of 47 new or added lines in 13 files covered. (65.96%)

2985 of 5531 relevant lines covered (53.97%)

17.92 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
6.84
-2.56% src/service/openai/VertexAiService.ts
3
48.72
0.0% src/service/CloudFlareService.ts
2
26.67
-6.67% src/service/openai/GroqService.ts
2
30.77
-7.69% src/service/openai/ZaiService.ts
2
36.11
-3.08% src/util/FileUtils.ts
1
54.4
0.0% src/service/TelegramService.ts
1
16.67
0.0% src/service/openai/GithubCopilotService.ts
Jobs
ID Job ID Ran Files Coverage
1 23941737114.1 03 Apr 2026 09:36AM UTC 58
53.62
GitHub Action Run
Source Files on build 23941737114
  • Tree
  • List 58
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • d39e76e1 on github
  • Prev Build on main (#23941587722)
  • Next Build on main (#23950401045)
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