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

panates / rman / 39608132105
95%
main: 95%

Build:
Build:
LAST BUILD BRANCH: dev
DEFAULT BRANCH: main
Ran 21 Oct 2026 01:28PM UTC
Jobs 1
Files 106
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

21 Oct 2026 01:27PM UTC coverage: 94.932% (+0.03%) from 94.903%
39608132105

push

github

erayhanoglu
feat(publish): spm target - publish to the SyncBridge registry through the repository's spm

A package naming "spm" in its publish.target is published with the
repository's own spm (@syncbridge/syncbuild, >= 2.2.0), the way the npm
target goes through npm. Built in rather than shipped by syncbuild: rman
already carries the npm registry's half, and the SyncBridge registry is the
same kind of thing and ours. What rman needs from spm is asked of spm -
`spm view --json` and `spm publish --no-wait` were added to syncbuild for it.

- Plan: `spm view <name> --json` - up-to-date when the version is listed,
  publish when not. A failed lookup is an error with spm's own reason, never
  "not published".
- Apply: `spm publish --skip-existing` in the package directory, output on
  stderr so `--json` stays one document; a version spm skipped reads
  up-to-date. In GitHub Actions spm publishes as the job through OIDC.
  Unattended elsewhere (no TTY) it is told `--no-wait`, and its exit code 3
  becomes a reason saying where to publish from instead of a ten-minute wait.
- `publish.spm.access` / `.registry`, `--spm-access` / `--spm-registry` -
  prefixed because npm already declares `--access` and `--registry`.

Asked for by syncbridge-io/public-modules. Measured against production with
syncbuild 2.2.0: `spm view` answers `{"versions":[]}` and the plan reads
"publish - never published"; an unreachable registry plans as an error
carrying "could not be reached: bad port".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

4676 of 5113 branches covered (91.45%)

Branch coverage included in aggregate %.

315 of 320 new or added lines in 5 files covered. (98.44%)

24824 of 25962 relevant lines covered (95.62%)

263.82 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
96.51
packages/rman/src/builtins/publish-targets/spm/spm-publish.service.ts
Jobs
ID Job ID Ran Files Coverage
1 39608132105.1 21 Oct 2026 01:28PM UTC 106
94.93
GitHub Action Run
Source Files on build 39608132105
  • Tree
  • List 106
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #39608132105
  • 7ffe8852 on github
  • Prev Build on dev (#39457286215)
  • Next Build on dev (#39622259516)
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