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

forst-lang / forst / 24003898225
76%

Build:
DEFAULT BRANCH: main
Ran 05 Apr 2026 02:50PM UTC
Jobs 1
Files 162
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

05 Apr 2026 02:49PM UTC coverage: 59.561% (+0.09%) from 59.474%
24003898225

push

github

web-flow
ci(sidecar): Prepare NPM/JSR publish (#44)

* feat(sidecar): prepare npm/JSR publish and extract ForstSidecar module

Add jsr.json, MIT LICENSE in the package tarball, publishConfig/engines,
prepublishOnly and sync-jsr-version script, and a manual workflow_dispatch
workflow for npm and JSR. Refactor ForstSidecar (plus middleware and autoStart)
into sidecar.ts with index.ts as a barrel; tighten public API types for JSR.
Drop unused node-fetch and refresh bun.lockb. README and ROADMAP describe
install paths and the upcoming registry story.

Example (after bumping version in package.json):

  bun run sync-jsr-version
  npx jsr publish --dry-run

* ci(sidecar): tighten publish-sidecar workflow for JSR OIDC

Move id-token and contents permissions to the publish-jsr job only, upgrade
checkout to v6 there, and remove the JSR_TOKEN env so publishing uses linked-repo
OIDC. Rename npm job/step labels; keep bun install before jsr publish.

* fix(sidecar): harden lifecycle, compiler errors, and streaming args

Guard getServerInfo/stop/isRunning when start() never ran; wrap ensureForstBinary
failures in CompilerNotFound with cause; reject empty custom compiler path.
Align invokeStreaming with invoke via positional unknown[]; document in README.
Move express to peer-only; chain sync-jsr-version into prepublishOnly. CI: drop
redundant npm build (prepublishOnly builds), sync jsr.json before jsr publish.

Example call (streaming args match invoke):

  await sidecar.invokeStreaming("routes", "Process", [input], (r) => { ... })

* test(dev): cover GET /functions success and streaming-not-supported invoke

Add parallel tests for the happy-path function list response (JSON result array,
including empty discovery) and for POST /invoke with streaming:true when the
discovered function has SupportsStreaming false (400 + error envelope).

12992 of 21813 relevant lines covered (59.56%)

11.54 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/179803647 24003898225.1 05 Apr 2026 02:50PM UTC 162
59.56
GitHub Action Run
Source Files on build 24003898225
  • Tree
  • List 162
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1c09abb9 on github
  • Prev Build on main (#24003432020)
  • Next Build on main (#24004278572)
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