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

umputun / remark42 / 44798805137
87%

Build:
DEFAULT BRANCH: master
Ran 20 Nov 2026 07:07PM UTC
Jobs 1
Files 57
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

20 Nov 2026 07:05PM UTC coverage: 86.606% (+0.2%) from 86.411%
44798805137

push

github

web-flow
Fix backup data loss, an empty-title panic and silent cleanup failures (#2310)

* Fix backup pruning, failed backups, restored expired blocks, empty titles and remap order

Backup pruning matched files by the prefix backup-<site>, so pruning the
backups of site radio also removed those of radio-t. It now matches only
backup-<site>-<yyyymmdd>.gz, and the warning for a file it cannot delete
prints that file's error instead of a nil one.

A backup is written to a temporary file and renamed into place once the
export succeeds. A failed export used to truncate the day's earlier
backup, leave the partial file under the final name and keep the file
open.

Restoring a backup passed time.Until of a block's end to the engine. For
a block that ended before the restore that duration is negative, which
the engine reads as no TTL, so the user was blocked for a hundred years.
Such blocks are now skipped; a block without an end time stays
permanent.

An empty <title></title> on a post page made the title extractor
dereference a nil node, so a comment created on such a page without a
title ended in a panic, as did setting titles from the admin API and
cleanup --title. It is now treated as a page without a
title.

URL remap prefix rules were tried in map order, so with overlapping
rules the target changed from run to run. The longest matching prefix
now wins.

* Report cleanup failures, honour its timeout and clear more secrets from the environment

The cleanup command skipped a post whose comments it could not read without a log
line and exited successfully. It now logs each such post and returns an
error naming how many failed. Its requests now run under the command's
--timeout, which it used to ignore, and like the other support commands
it clears SECRET and ADMIN_PASSWD from its environment. The post list
request retries on 429 as the comment request already did.

The server cleared most secrets from its environment at startup, but not the
Slack token, the three RP... (continued)

103 of 122 new or added lines in 6 files covered. (84.43%)

3 existing lines in 2 files now uncovered.

6712 of 7750 relevant lines covered (86.61%)

49.19 hits per line

Uncovered Changes

Lines Coverage ∆ File
11
73.33
5.48% backend/app/migrator/backup.go
8
88.02
8.41% backend/app/cmd/cleanup.go

Coverage Regressions

Lines Coverage ∆ File
2
73.33
5.48% backend/app/migrator/backup.go
1
88.02
8.41% backend/app/cmd/cleanup.go
Jobs
ID Job ID Ran Files Coverage
1 44798805137.1 20 Nov 2026 07:07PM UTC 57
86.61
GitHub Action Run
Source Files on build 44798805137
  • Tree
  • List 57
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e7a96bbf on github
  • Prev Build on master (#44795965583)
  • Next Build on master (#44802747661)
  • 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