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

umputun / remark42 / 42733211156
87%

Build:
DEFAULT BRANCH: master
Ran 10 Nov 2026 01:07AM UTC
Jobs 1
Files 54
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

10 Nov 2026 01:05AM UTC coverage: 85.732% (+0.2%) from 85.504%
42733211156

push

github

web-flow
Simplify commands, notification tests and image submission (#2293)

* Move test-only code out of production files

notify.MockDest lived in a production file although only tests use it.
It now sits in the notify package's tests, and the REST tests get a
small fake destination of their own.

The server command carried two template path fields that only tests
set. They pointed at files that do not exist, so every server test ran
without an email destination and passed with a warning. With the fields
gone the tests use the embedded templates, as production does.

* Stop polling in the image submitter and make Close safe to repeat

The submitter checked every 10 ms whether its edit window had passed or
Close had been called, and Close polled a counter the same way. A done
channel closed by Close now ends the wait directly, so neither loop is
needed.

Close used to close the submit queue unconditionally, so a second Close
panicked, and a Submit after Close panicked sending on the closed
queue. Close now runs once, Submit sends under a read lock that Close
takes exclusively before closing the queue, and a Submit after Close
commits straight away, as a queued one would on Close.

* Share the admin request code between commands and tidy server setup

Backup, import and remap each built the same basic-auth request,
status check and response close; they now share one helper, and
cleanup's delete and title requests share one function. Error and log
text stay as they were.

The helper builds the query with url.Values. The commands used to
paste the site id into the URL as is, so a site id with "&" or "#"
reached the server cut short and import lost its provider.

In the server command, the OAuth providers that differ only in name are
registered from a table in the same order as before, the anonymous name
check is a named function, and newServerApp closes the data store and
refresh cache from one deferred call instead of at every error return.

Removed: a copy of ... (continued)

122 of 140 new or added lines in 8 files covered. (87.14%)

9 existing lines in 6 files now uncovered.

6123 of 7142 relevant lines covered (85.73%)

35.44 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
87.32
-2.68% backend/app/cmd/cmd.go
3
78.57
5.24% backend/app/cmd/backup.go
3
77.91
1.44% backend/app/cmd/cleanup.go
3
87.28
0.45% backend/app/cmd/server.go
2
86.5
-0.5% backend/app/store/image/image.go
1
61.54
3.0% backend/app/cmd/avatar.go
1
85.71
3.49% backend/app/cmd/import.go
1
77.78
6.35% backend/app/cmd/remap.go

Coverage Regressions

Lines Coverage ∆ File
4
87.28
0.45% backend/app/cmd/server.go
1
61.54
3.0% backend/app/cmd/avatar.go
1
78.57
5.24% backend/app/cmd/backup.go
1
85.71
3.49% backend/app/cmd/import.go
1
77.78
6.35% backend/app/cmd/remap.go
1
86.5
-0.5% backend/app/store/image/image.go
Jobs
ID Job ID Ran Files Coverage
1 42733211156.1 10 Nov 2026 01:07AM UTC 54
85.73
GitHub Action Run
Source Files on build 42733211156
  • Tree
  • List 54
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7b3b1777 on github
  • Prev Build on master (#42593069414)
  • Next Build on master (#42733903350)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc