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

forst-lang / forst / 28324331181
76%

Build:
DEFAULT BRANCH: main
Ran 28 Jun 2026 01:51PM UTC
Jobs 1
Files 263
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

28 Jun 2026 01:48PM UTC coverage: 74.721% (+0.02%) from 74.705%
28324331181

push

github

haveyaseen
fix(cli): pin compiler release and verify digests when available

Decouple npm package semver from the GitHub compiler release tag via
`forst.compilerRelease` in package.json. Resolution and download URLs
use `getBundledCompilerReleaseVersion()` instead of the npm version,
fixing fresh installs that tried tag v0.0.35 (no compiler assets).

Default verification is verify-when-possible: SHA-256 check runs when
GitHub exposes a digest; missing digests no longer block download.
`FORST_CLI_VERIFY=strict` (or `1`) refuses unverified installs and throws
`CompilerBinaryDigestUnavailable` with reason-specific detail.
`CompilerBinaryChecksumMismatch` now includes version/artifact context
and a supply-chain warning.

Latest-release lookup scans GitHub releases for root `vX.Y.Z` tags only,
ignoring `vscode-forst-v…` and `cli-v…` tags. Add `FetchImpl` for
injectable fetch mocks (Node fetch statics like `preconnect`).

Example (package.json):

```json
{
  "version": "0.0.35",
  "forst": { "compilerRelease": "0. }
}
```

Example (strict vs default):

```bash
FORST_CLI_VERIFY=strict resolveForstBinary  # throws CompilerBinaryDigestUnavailable
```

fix(vscode-forst): fail closed when compiler download is enabled

Cache compiler resolution per settings key; do not fall back to PATH
`forst` when `downloadCompiler` is true. Latch the first resolution/
spawn failure on the session (`compilerUnavailable`) so language
features skip work without log spam; show one error toast per session.
Clear cache and latch on settings change or LSP restart.

Example (settings):

```json
{
  "forst.downloadCompiler": true,
  "forst.preferLatestCompilerRelease": true
}
```

chore(release): track forst.compilerRelease in release-please

Release Please bumps `packages/cli/package.json` → `$.forst.compilerRelease`
on root compiler releases. Ignore local `scripts/backfill/` artifacts.

23827 of 31888 relevant lines covered (74.72%)

88.8 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
70.77
-1.54% forst/internal/typechecker/type_registry.go
Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/183933130 28324331181.1 28 Jun 2026 01:51PM UTC 263
74.72
GitHub Action Run
Source Files on build 28324331181
  • Tree
  • List 263
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f43e22a3 on github
  • Prev Build on main (#28308849507)
  • Next Build on main (#28324383628)
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