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

forst-lang / forst / 24003432020
76%

Build:
DEFAULT BRANCH: main
Ran 05 Apr 2026 02:23PM 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:21PM UTC coverage: 59.474% (+0.004%) from 59.47%
24003432020

push

github

haveyaseen
feat(sidecar): ForstError hierarchy, dev HTTP contract tests, RFC doc renames

Harden `forst dev` against the JSON contract: method-not-allowed and error paths
use the same JSON envelope as sendError; `/types` no longer advertises a raw
TypeScript attachment. Add `dev_server_contract_test.go` for GET /health, 405
bodies, and GET /types.

Replace ad-hoc `throw new Error` in the sidecar with `ForstError` subclasses
(client HTTP, compiler download, spawned commands, and `ForstServer` startup /
shutdown / health). Export them from the package so callers can use instanceof.

Rename TypeScript client RFC files to `02-forst-dev-http-contract.md` and
`03-forst-generate-contract.md`, update links, and describe profiles without
Layer A/B labels.

Example:

```typescript
import { DevServerHttpFailure, ForstError } from "@forst/sidecar";

try {
  await client.invokeFunction("echo", "Echo", [{ message: "hi" }]);
} catch (e) {
  if (e instanceof DevServerHttpFailure) console.error(e.status, e.responseText);
  else if (e instanceof ForstError) console.error(e.message);
}
```

5 of 5 new or added lines in 1 file covered. (100.0%)

12973 of 21813 relevant lines covered (59.47%)

11.52 hits per line

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