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

marscoin / martianrepublic / 23825068715
11%

Build:
DEFAULT BRANCH: main
Ran 01 Apr 2026 12:00AM UTC
Jobs 1
Files 108
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 11:59PM UTC coverage: 11.001% (+0.6%) from 10.419%
23825068715

push

github

Martian Congress
feat: A2 service layer — IpfsService + ProposalService with tests

New services extracted from controllers:

IpfsService (app/Services/IpfsService.php):
  - pinFile(), pinContent(), pinFolder() — local IPFS node API
  - get() — retrieve via gateway
  - isValidCID(), gatewayUrl() — validation + URL generation
  - Used by ContentApiController (replaces AppHelper::upload)

ProposalService (app/Services/ProposalService.php):
  - syncPhases() — screening→voting→sunset transitions
  - tallyVotes() — count YES/NO with pass/fail threshold
  - getStats() — dashboard counts
  - Used by CongressController (replaces inline logic)

Tests (10 new, total 146):
  - CID validation, gateway URLs, pinFile null safety
  - Phase transitions, vote tallying (pass + fail), stats
  - BlockchainRpc config reading
  - All SQLite-compatible (no MySQL-only syntax in tests)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

42 of 112 new or added lines in 3 files covered. (37.5%)

1 existing line in 1 file now uncovered.

643 of 5845 relevant lines covered (11.0%)

1.6 hits per line

Uncovered Changes

Lines Coverage ∆ File
52
20.0
app/Services/IpfsService.php
17
63.04
app/Services/ProposalService.php
1
2.76
0.09% app/Http/Controllers/Congress/CongressController.php

Coverage Regressions

Lines Coverage ∆ File
1
28.46
-0.77% app/Http/Controllers/StatusController.php
Jobs
ID Job ID Ran Files Coverage
1 23825068715.1 01 Apr 2026 12:00AM UTC 108
11.0
GitHub Action Run
Source Files on build 23825068715
  • Tree
  • List 108
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23825068715
  • be33ff9f on github
  • Prev Build on main (#23823899303)
  • Next Build on main (#23825073507)
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