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

forst-lang / forst / 24009290824
76%

Build:
DEFAULT BRANCH: main
Ran 05 Apr 2026 07:59PM UTC
Jobs 1
Files 171
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 07:58PM UTC coverage: 59.104% (+0.01%) from 59.09%
24009290824

push

github

haveyaseen
feat(sidecar): add GET /version, version check, and generateTypes hook

Expose compiler build metadata and HTTP contract revision from `forst dev` via `GET /version` (documented in the dev HTTP RFC). The sidecar compares the local binary (`forst version`) to that endpoint after `start()` when `versionCheck` is not `off` (default `warn`; `strict` throws `ServerVersionMismatch`). Add `generateTypes()` to run `forst generate` on the same effective project root as `forst dev -root`, plus client/sidecar `getVersion()` and tests. `executeForstCommand`/`spawnForstProcess` now take the resolved compiler path.

Example:

```typescript
const sidecar = new ForstSidecar({
  rootDir: ".",
  versionCheck: "strict",
});
await sidecar.start();
await sidecar.generateTypes();
```

18 of 23 new or added lines in 1 file covered. (78.26%)

3 existing lines in 2 files now uncovered.

13792 of 23335 relevant lines covered (59.1%)

11.76 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
48.95
1.88% forst/cmd/forst/dev_server.go

Coverage Regressions

Lines Coverage ∆ File
2
34.41
-0.36% forst/internal/transformer/go/shape.go
1
48.95
1.88% forst/cmd/forst/dev_server.go
Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/179806971 24009290824.1 05 Apr 2026 07:59PM UTC 171
59.1
GitHub Action Run
Source Files on build 24009290824
  • Tree
  • List 171
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ab5516f4 on github
  • Prev Build on main (#24009170639)
  • Next Build on main (#24009409671)
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